Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/target/iscsi/
Discsi_target_stat.c284 struct iscsi_login_stats *lstat = &tiqn->login_stats; in iscsi_stat_tgt_attr_login_fails_show() local
287 spin_lock(&lstat->lock); in iscsi_stat_tgt_attr_login_fails_show()
288 fail_count = (lstat->redirects + lstat->authorize_fails + in iscsi_stat_tgt_attr_login_fails_show()
289 lstat->authenticate_fails + lstat->negotiate_fails + in iscsi_stat_tgt_attr_login_fails_show()
290 lstat->other_fails); in iscsi_stat_tgt_attr_login_fails_show()
291 spin_unlock(&lstat->lock); in iscsi_stat_tgt_attr_login_fails_show()
300 struct iscsi_login_stats *lstat = &tiqn->login_stats; in iscsi_stat_tgt_attr_last_fail_time_show() local
303 spin_lock(&lstat->lock); in iscsi_stat_tgt_attr_last_fail_time_show()
304 last_fail_time = lstat->last_fail_time ? in iscsi_stat_tgt_attr_last_fail_time_show()
305 (u32)(((u32)lstat->last_fail_time - in iscsi_stat_tgt_attr_last_fail_time_show()
[all …]
/Linux-v4.19/arch/alpha/kernel/
Dosf_sys.c277 linux_to_osf_stat(struct kstat *lstat, struct osf_stat __user *osf_stat) in linux_to_osf_stat() argument
281 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()
284 tmp.st_uid = from_kuid_munged(current_user_ns(), lstat->uid); in linux_to_osf_stat()
285 tmp.st_gid = from_kgid_munged(current_user_ns(), lstat->gid); 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()
289 tmp.st_uatime = lstat->atime.tv_nsec / 1000; in linux_to_osf_stat()
[all …]
/Linux-v4.19/tools/perf/tests/
Dattr.c186 if (!lstat("./tests", &st)) in test__attr()
193 if (!lstat(path_dir, &st) && in test__attr()
194 !lstat(path_perf, &st)) in test__attr()
Dbuiltin-test.c435 if (!lstat(devel_dirs[i], &st)) { in shell_tests__dir()
437 if (!lstat(devel_dirs[i], &st)) in shell_tests__dir()
/Linux-v4.19/tools/testing/selftests/proc/
Dfd-001-lookup.c39 rv = lstat(pathname, &st); in test_lookup_pass()
49 rv = lstat(pathname, &st); in test_lookup_fail()
/Linux-v4.19/tools/perf/trace/strace/groups/
Dfile7 lstat
/Linux-v4.19/tools/testing/selftests/ia64/
Daliasing-test.c102 r = lstat(path2, &buf); in scan_tree()
191 r = lstat(path2, &buf); in scan_rom()
/Linux-v4.19/scripts/dtc/
Dfstree.c48 if (lstat(tmpname, &st) < 0) in read_fstree()
/Linux-v4.19/drivers/gpu/drm/zte/
Dzx_hdmi.c346 u8 lstat; in zx_hdmi_irq_handler() local
348 lstat = hdmi_readb(hdmi, L1_INTR_STAT); in zx_hdmi_irq_handler()
351 if (lstat & L1_INTR_STAT_INTR1) { in zx_hdmi_irq_handler()
/Linux-v4.19/tools/thermal/tmon/
Dtmon.c157 if (lstat(TMON_LOG_FILE, &logstat) < 0) { in prepare_logging()
/Linux-v4.19/tools/perf/util/
Dutil.c140 ret = lstat(namebuf, &statbuf); in rm_rf()
Dsymbol.c1542 if (lstat(map_path, &st) < 0) in dso__load()
/Linux-v4.19/arch/powerpc/include/asm/
Dsystbl.h92 OLDSYS(lstat)
/Linux-v4.19/arch/x86/entry/syscalls/
Dsyscall_64.tbl17 6 common lstat __x64_sys_newlstat
Dsyscall_32.tbl121 107 i386 lstat sys_newlstat __ia32_compat_sys_newlstat
/Linux-v4.19/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl17 6 common lstat __x64_sys_newlstat
/Linux-v4.19/arch/arm/tools/
Dsyscall.tbl122 107 common lstat sys_newlstat
/Linux-v4.19/arch/s390/kernel/syscalls/
Dsyscall.tbl101 107 common lstat sys_newlstat compat_sys_newlstat
/Linux-v4.19/tools/perf/arch/s390/entry/syscalls/
Dsyscall.tbl101 107 common lstat sys_newlstat compat_sys_newlstat
/Linux-v4.19/fs/
Dstat.c257 SYSCALL_DEFINE2(lstat, const char __user *, filename, in SYSCALL_DEFINE2() argument
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_os.c591 uint32_t lstat, lspeed, lwidth; in qla24xx_pci_info_str() local
593 pcie_capability_read_dword(ha->pdev, PCI_EXP_LNKCAP, &lstat); in qla24xx_pci_info_str()
594 lspeed = lstat & PCI_EXP_LNKCAP_SLS; in qla24xx_pci_info_str()
595 lwidth = (lstat & PCI_EXP_LNKCAP_MLW) >> 4; in qla24xx_pci_info_str()
/Linux-v4.19/tools/perf/
Dbuiltin-trace.c1013 if (lstat(linkname, &st) < 0 || st.st_size + 1 > (off_t)sizeof(pathname)) in thread__read_fd_path()