| /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) * DMAR_LATENCY_NUM); 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 | 53 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/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/tools/perf/trace/strace/groups/ |
| H A D | file | 7 lstat
|
| H A D | string | 30 lstat
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_sli4.h | 740 #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 D | cgx.c | 1293 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 D | util.c | 167 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 D | stat.h | 89 int lstat(const char *path, struct stat *buf) in lstat() function
|
| /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/Documentation/admin-guide/ |
| H A D | workload-tracing.rst | 370 | lstat | 1880 | Filesystem | sys_lstat() |
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_os.c | 620 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()
|