Home
last modified time | relevance | path

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

12

/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) * DMAR_LATENCY_NUM); 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.c53 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/testing/selftests/ia64/
H A Daliasing-test.c99 r = lstat(path2, &buf); in scan_tree()
188 r = lstat(path2, &buf); in scan_rom()
/linux/tools/perf/trace/strace/groups/
H A Dfile7 lstat
H A Dstring30 lstat
/linux/drivers/scsi/lpfc/
H A Dlpfc_sli4.h740 #define lpfc_qp_spin_lock_irqsave(lock, flag, qp, lstat) \ argument
746 qp->lock_conflict.lstat++; \
750 #define lpfc_qp_spin_lock(lock, qp, lstat) \ argument
756 qp->lock_conflict.lstat++; \
761 #define lpfc_qp_spin_lock_irqsave(lock, flag, qp, lstat) \ argument
763 #define lpfc_qp_spin_lock(lock, qp, lstat) spin_lock(lock) argument
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dcgx.c1293 static inline void link_status_user_format(u64 lstat, in link_status_user_format() argument
1297 linfo->link_up = FIELD_GET(RESP_LINKSTAT_UP, lstat); in link_status_user_format()
1298 linfo->full_duplex = FIELD_GET(RESP_LINKSTAT_FDUPLEX, lstat); in link_status_user_format()
1299 linfo->speed = cgx_speed_mbps[FIELD_GET(RESP_LINKSTAT_SPEED, lstat)]; in link_status_user_format()
1300 linfo->an = FIELD_GET(RESP_LINKSTAT_AN, lstat); in link_status_user_format()
1301 linfo->fec = FIELD_GET(RESP_LINKSTAT_FEC, lstat); in link_status_user_format()
1302 linfo->lmac_type_id = FIELD_GET(RESP_LINKSTAT_LMAC_TYPE, lstat); in link_status_user_format()
1316 static inline void cgx_link_change_handler(u64 lstat, in cgx_link_change_handler() argument
1327 link_status_user_format(lstat, &event.link_uinfo, cgx, lmac->lmac_id); in cgx_link_change_handler()
1328 err_type = FIELD_GET(RESP_LINKSTAT_ERRTYPE, lstat); in cgx_link_change_handler()
/linux/tools/perf/util/
H A Dutil.c167 ret = lstat(path, &statbuf); in rm_rf_depth_pat()
194 ret = lstat(namebuf, &statbuf); in rm_rf_depth_pat()
/linux/tools/include/nolibc/sys/
H A Dstat.h89 int lstat(const char *path, struct stat *buf) in lstat() function
/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/Documentation/admin-guide/
H A Dworkload-tracing.rst370 | lstat | 1880 | Filesystem | sys_lstat() |
/linux/drivers/scsi/qla2xxx/
H A Dqla_os.c620 uint32_t lstat, lspeed, lwidth; in qla24xx_pci_info_str() local
623 pcie_capability_read_dword(ha->pdev, PCI_EXP_LNKCAP, &lstat); in qla24xx_pci_info_str()
624 lspeed = FIELD_GET(PCI_EXP_LNKCAP_SLS, lstat); in qla24xx_pci_info_str()
625 lwidth = FIELD_GET(PCI_EXP_LNKCAP_MLW, lstat); in qla24xx_pci_info_str()

12