Home
last modified time | relevance | path

Searched refs:lstat (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/iommu/intel/
H A Dperf.c20 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 Discsi_target_stat.c275 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 Dpe-file-parsing.c79 if (!lstat("./tests", &st)) in test__pe_file_parsing()
85 if (!lstat(path_dir, &st)) in test__pe_file_parsing()
H A Dtests-scripts.c56 if (lstat(path2, &st) == 0 && (st.st_mode & S_IFMT) == S_IFLNK) { in shell_tests__dir_fd()
/linux/tools/testing/selftests/proc/
H A Dfd-001-lookup.c39 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 Dfile7 lstat
H A Dstring30 lstat
/linux/tools/testing/selftests/ia64/
H A Daliasing-test.c99 r = lstat(path2, &buf); in scan_tree()
188 r = lstat(path2, &buf); in scan_rom()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dcgx.c1305 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 Dstat.h23 * 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 Dutil.c165 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 Dtmon.c145 if (lstat(TMON_LOG_FILE, &logstat) < 0) { in prepare_logging()
/linux/tools/testing/selftests/alsa/
H A Dconf.c151 if (lstat(path, &sb) != 0) in sysfs_get()
/linux/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl16 6 n64 lstat sys_newlstat
/linux/tools/perf/arch/s390/entry/syscalls/
H A Dsyscall.tbl84 107 common lstat sys_newlstat
/linux/tools/perf/arch/sh/entry/syscalls/
H A Dsyscall.tbl117 107 common lstat sys_newlstat
/linux/tools/perf/arch/xtensa/entry/syscalls/
H A Dsyscall.tbl60 49 common lstat sys_newlstat
/linux/tools/perf/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl18 6 common lstat sys_newlstat
H A Dsyscall_32.tbl122 107 i386 lstat sys_newlstat compat_sys_newlstat
/linux/tools/perf/arch/sparc/entry/syscalls/
H A Dsyscall.tbl59 40 common lstat sys_newlstat compat_sys_newlstat
/linux/tools/perf/arch/arm/entry/syscalls/
H A Dsyscall.tbl123 107 common lstat sys_newlstat
/linux/tools/perf/arch/powerpc/entry/syscalls/
H A Dsyscall.tbl144 107 common lstat sys_newlstat compat_sys_newlstat
/linux/tools/perf/
H A Dbuiltin-trace.c1245 { .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()