Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/iommu/intel/
H A Dperf.c22 return lstat && lstat[type].enabled; in dmar_latency_enabled()
27 struct latency_statistic *lstat; in dmar_latency_enable() local
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()
66 memset(&lstat[type], 0, sizeof(*lstat) * DMAR_LATENCY_NUM); in dmar_latency_disable()
81 lstat[type].counter[COUNTS_10e2]++; in dmar_latency_update()
83 lstat[type].counter[COUNTS_10e3]++; in dmar_latency_update()
100 lstat[type].samples++; in dmar_latency_update()
137 u64 val = lstat[i].counter[j]; in dmar_latency_snapshot()
[all …]
/linux-6.15/drivers/target/iscsi/
H A Discsi_target_stat.c278 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()
294 spin_lock(&lstat->lock); in iscsi_stat_tgt_attr_last_fail_time_show()
310 spin_lock(&lstat->lock); in iscsi_stat_tgt_attr_last_fail_type_show()
324 spin_lock(&lstat->lock); in iscsi_stat_tgt_attr_fail_intr_name_show()
339 spin_lock(&lstat->lock); in iscsi_stat_tgt_attr_fail_intr_addr_type_show()
356 spin_lock(&lstat->lock); in iscsi_stat_tgt_attr_fail_intr_addr_show()
418 spin_lock(&lstat->lock); in iscsi_stat_login_accepts_show()
[all …]
/linux-6.15/arch/alpha/kernel/
H A Dosf_sys.c281 tmp.st_dev = lstat->dev; in linux_to_osf_stat()
282 tmp.st_mode = lstat->mode; in linux_to_osf_stat()
283 tmp.st_nlink = lstat->nlink; in linux_to_osf_stat()
286 tmp.st_rdev = lstat->rdev; in linux_to_osf_stat()
287 tmp.st_ldev = lstat->rdev; in linux_to_osf_stat()
288 tmp.st_size = lstat->size; in linux_to_osf_stat()
292 tmp.st_ino = lstat->ino; in linux_to_osf_stat()
293 tmp.st_atime = lstat->atime.tv_sec; in linux_to_osf_stat()
294 tmp.st_mtime = lstat->mtime.tv_sec; in linux_to_osf_stat()
296 tmp.st_blksize = lstat->blksize; in linux_to_osf_stat()
[all …]
/linux-6.15/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-6.15/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-6.15/tools/perf/trace/strace/groups/
H A Dfile7 lstat
H A Dstring30 lstat
/linux-6.15/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-6.15/tools/testing/selftests/net/mptcp/
H A Dmptcp_lib.sh115 local lstat="${4}"
122 cat "${lstat}"
126 [ "${lstat}" != "${cstat}" ] && cat "${cstat}"
/linux-6.15/drivers/scsi/lpfc/
H A Dlpfc_sli4.h738 #define lpfc_qp_spin_lock_irqsave(lock, flag, qp, lstat) \ argument
744 qp->lock_conflict.lstat++; \
748 #define lpfc_qp_spin_lock(lock, qp, lstat) \ argument
754 qp->lock_conflict.lstat++; \
759 #define lpfc_qp_spin_lock_irqsave(lock, flag, qp, lstat) \ argument
761 #define lpfc_qp_spin_lock(lock, qp, lstat) spin_lock(lock) argument
/linux-6.15/drivers/net/ethernet/marvell/octeontx2/af/
H A Dcgx.c1286 static inline void link_status_user_format(u64 lstat, in link_status_user_format() argument
1290 linfo->link_up = FIELD_GET(RESP_LINKSTAT_UP, lstat); in link_status_user_format()
1291 linfo->full_duplex = FIELD_GET(RESP_LINKSTAT_FDUPLEX, lstat); in link_status_user_format()
1292 linfo->speed = cgx_speed_mbps[FIELD_GET(RESP_LINKSTAT_SPEED, lstat)]; in link_status_user_format()
1293 linfo->an = FIELD_GET(RESP_LINKSTAT_AN, lstat); in link_status_user_format()
1294 linfo->fec = FIELD_GET(RESP_LINKSTAT_FEC, lstat); in link_status_user_format()
1295 linfo->lmac_type_id = FIELD_GET(RESP_LINKSTAT_LMAC_TYPE, lstat); in link_status_user_format()
1309 static inline void cgx_link_change_handler(u64 lstat, in cgx_link_change_handler() argument
1320 link_status_user_format(lstat, &event.link_uinfo, cgx, lmac->lmac_id); in cgx_link_change_handler()
1321 err_type = FIELD_GET(RESP_LINKSTAT_ERRTYPE, lstat); in cgx_link_change_handler()
/linux-6.15/tools/perf/util/
H A Dutil.c166 ret = lstat(path, &statbuf); in rm_rf_depth_pat()
193 ret = lstat(namebuf, &statbuf); in rm_rf_depth_pat()
/linux-6.15/tools/thermal/tmon/
H A Dtmon.c145 if (lstat(TMON_LOG_FILE, &logstat) < 0) { in prepare_logging()
/linux-6.15/tools/testing/selftests/alsa/
H A Dconf.c151 if (lstat(path, &sb) != 0) in sysfs_get()
/linux-6.15/arch/mips/kernel/syscalls/
H A Dsyscall_n64.tbl16 6 n64 lstat sys_newlstat
H A Dsyscall_n32.tbl16 6 n32 lstat sys_newlstat
/linux-6.15/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl16 6 n64 lstat sys_newlstat
/linux-6.15/tools/perf/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl18 6 common lstat sys_newlstat
/linux-6.15/tools/perf/arch/parisc/entry/syscalls/
H A Dsyscall.tbl97 84 common lstat sys_newlstat compat_sys_newlstat
/linux-6.15/arch/m68k/kernel/syscalls/
H A Dsyscall.tbl117 107 common lstat sys_newlstat
/linux-6.15/tools/perf/arch/sh/entry/syscalls/
H A Dsyscall.tbl117 107 common lstat sys_newlstat
/linux-6.15/arch/xtensa/kernel/syscalls/
H A Dsyscall.tbl60 49 common lstat sys_newlstat
/linux-6.15/arch/sh/kernel/syscalls/
H A Dsyscall.tbl117 107 common lstat sys_newlstat
/linux-6.15/arch/parisc/kernel/syscalls/
H A Dsyscall.tbl97 84 common lstat sys_newlstat compat_sys_newlstat

12