| /linux/drivers/iommu/intel/ |
| H A D | perf.c | 20 struct latency_statistic *lstat = iommu->perf_statistic; in dmar_latency_enabled() local 22 return lstat && lstat[type].enabled; in dmar_latency_enabled() 27 struct latency_statistic *lstat; in dmar_latency_enable() local 36 iommu->perf_statistic = kzalloc_objs(*lstat, DMAR_LATENCY_NUM, in dmar_latency_enable() 44 lstat = iommu->perf_statistic; in dmar_latency_enable() 46 if (!lstat[type].enabled) { in dmar_latency_enable() 47 lstat[type].enabled = true; in dmar_latency_enable() 48 lstat[type].counter[COUNTS_MIN] = UINT_MAX; in dmar_latency_enable() 59 struct latency_statistic *lstat = iommu->perf_statistic; in dmar_latency_disable() local 66 memset(&lstat[type], 0, sizeof(*lstat)); in dmar_latency_disable() [all …]
|
| /linux/drivers/target/iscsi/ |
| H A D | iscsi_target_stat.c | 275 struct iscsi_login_stats *lstat = &tiqn->login_stats; in iscsi_stat_tgt_attr_login_fails_show() local 278 spin_lock(&lstat->lock); in iscsi_stat_tgt_attr_login_fails_show() 279 fail_count = (lstat->redirects + lstat->authorize_fails + in iscsi_stat_tgt_attr_login_fails_show() 280 lstat->authenticate_fails + lstat->negotiate_fails + in iscsi_stat_tgt_attr_login_fails_show() 281 lstat->other_fails); in iscsi_stat_tgt_attr_login_fails_show() 282 spin_unlock(&lstat->lock); in iscsi_stat_tgt_attr_login_fails_show() 291 struct iscsi_login_stats *lstat = &tiqn->login_stats; in iscsi_stat_tgt_attr_last_fail_time_show() local 294 spin_lock(&lstat->lock); in iscsi_stat_tgt_attr_last_fail_time_show() 295 last_fail_time = lstat->last_fail_time ? in iscsi_stat_tgt_attr_last_fail_time_show() 296 (u32)(((u32)lstat->last_fail_time - in iscsi_stat_tgt_attr_last_fail_time_show() [all …]
|
| /linux/tools/perf/tests/ |
| H A D | pe-file-parsing.c | 79 if (!lstat("./tests", &st)) in test__pe_file_parsing() 85 if (!lstat(path_dir, &st)) in test__pe_file_parsing()
|
| H A D | tests-scripts.c | 56 if (lstat(path2, &st) == 0 && (st.st_mode & S_IFMT) == S_IFLNK) { in shell_tests__dir_fd()
|
| /linux/tools/testing/selftests/proc/ |
| H A D | fd-001-lookup.c | 39 rv = lstat(pathname, &st); in test_lookup_pass() 49 rv = lstat(pathname, &st); in test_lookup_fail()
|
| /linux/tools/perf/trace/strace/groups/ |
| H A D | file | 7 lstat
|
| H A D | string | 30 lstat
|
| /linux/tools/testing/selftests/ia64/ |
| H A D | aliasing-test.c | 99 r = lstat(path2, &buf); in scan_tree() 188 r = lstat(path2, &buf); in scan_rom()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | cgx.c | 1305 static inline void link_status_user_format(u64 lstat, in link_status_user_format() argument 1311 linfo->link_up = FIELD_GET(RESP_LINKSTAT_UP, lstat); in link_status_user_format() 1312 linfo->full_duplex = FIELD_GET(RESP_LINKSTAT_FDUPLEX, lstat); in link_status_user_format() 1313 linfo->an = FIELD_GET(RESP_LINKSTAT_AN, lstat); in link_status_user_format() 1314 linfo->fec = FIELD_GET(RESP_LINKSTAT_FEC, lstat); in link_status_user_format() 1315 linfo->lmac_type_id = FIELD_GET(RESP_LINKSTAT_LMAC_TYPE, lstat); in link_status_user_format() 1317 speed = FIELD_GET(RESP_LINKSTAT_SPEED, lstat); in link_status_user_format() 1333 static inline void cgx_link_change_handler(u64 lstat, in cgx_link_change_handler() argument 1344 link_status_user_format(lstat, &event.link_uinfo, cgx, lmac->lmac_id); in cgx_link_change_handler() 1345 err_type = FIELD_GET(RESP_LINKSTAT_ERRTYPE, lstat); in cgx_link_change_handler()
|
| /linux/tools/include/nolibc/sys/ |
| H A D | stat.h | 23 * int lstat(const char *path, struct stat *buf); 86 int lstat(const char *path, struct stat *buf) in fstat() 89 int lstat(const char *path, struct stat *buf) lstat() function
|
| /linux/tools/perf/util/ |
| H A D | util.c | 165 ret = lstat(path, &statbuf); in rm_rf_depth_pat() 192 ret = lstat(namebuf, &statbuf); in rm_rf_depth_pat()
|
| /linux/tools/thermal/tmon/ |
| H A D | tmon.c | 145 if (lstat(TMON_LOG_FILE, &logstat) < 0) { in prepare_logging()
|
| /linux/tools/testing/selftests/alsa/ |
| H A D | conf.c | 151 if (lstat(path, &sb) != 0) in sysfs_get()
|
| /linux/tools/perf/arch/mips/entry/syscalls/ |
| H A D | syscall_n64.tbl | 16 6 n64 lstat sys_newlstat
|
| /linux/tools/perf/arch/s390/entry/syscalls/ |
| H A D | syscall.tbl | 84 107 common lstat sys_newlstat
|
| /linux/tools/perf/arch/sh/entry/syscalls/ |
| H A D | syscall.tbl | 117 107 common lstat sys_newlstat
|
| /linux/tools/perf/arch/xtensa/entry/syscalls/ |
| H A D | syscall.tbl | 60 49 common lstat sys_newlstat
|
| /linux/tools/perf/arch/x86/entry/syscalls/ |
| H A D | syscall_64.tbl | 18 6 common lstat sys_newlstat
|
| H A D | syscall_32.tbl | 122 107 i386 lstat sys_newlstat compat_sys_newlstat
|
| /linux/tools/perf/arch/sparc/entry/syscalls/ |
| H A D | syscall.tbl | 59 40 common lstat sys_newlstat compat_sys_newlstat
|
| /linux/tools/perf/arch/arm/entry/syscalls/ |
| H A D | syscall.tbl | 123 107 common lstat sys_newlstat
|
| /linux/tools/perf/arch/powerpc/entry/syscalls/ |
| H A D | syscall.tbl | 144 107 common lstat sys_newlstat compat_sys_newlstat
|
| /linux/tools/perf/ |
| H A D | builtin-trace.c | 1245 { .name = "lstat", .alias = "newlstat", }, 1720 if (lstat(linkname, &st) < 0 || st.st_size + 1 > (off_t)sizeof(pathname)) in thread__read_fd_path() 4223 * int lstat(const char *pathname, struct stat *statbuf); 4227 * beautifying 'stat' and 'lstat''s pathname arg. in ordered_events__deliver_event()
|