Home
last modified time | relevance | path

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

12345

/openbmc/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(sizeof(*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 …]
/openbmc/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 …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/inotify-tools/inotify-tools/
H A D0003-replace-stat64-lstat64-with-stat-lstat.patch4 Subject: [PATCH] replace stat64/lstat64 with stat/lstat
37 + if ( -1 == lstat( next_file, &my_stat ) ) {
49 + if ( -1 == lstat( path, &my_stat ) ) {
63 -#define lstat64 lstat
79 -#define lstat64 lstat
97 + if (-1 == lstat(path, &my_stat)) {
111 -#define lstat64 lstat
/openbmc/linux/arch/alpha/kernel/
H A Dosf_sys.c278 linux_to_osf_stat(struct kstat *lstat, struct osf_stat __user *osf_stat) in linux_to_osf_stat() argument
282 tmp.st_dev = lstat->dev; in linux_to_osf_stat()
283 tmp.st_mode = lstat->mode; in linux_to_osf_stat()
284 tmp.st_nlink = lstat->nlink; in linux_to_osf_stat()
285 tmp.st_uid = from_kuid_munged(current_user_ns(), lstat->uid); in linux_to_osf_stat()
286 tmp.st_gid = from_kgid_munged(current_user_ns(), lstat->gid); in linux_to_osf_stat()
287 tmp.st_rdev = lstat->rdev; in linux_to_osf_stat()
288 tmp.st_ldev = lstat->rdev; in linux_to_osf_stat()
289 tmp.st_size = lstat->size; in linux_to_osf_stat()
290 tmp.st_uatime = lstat in linux_to_osf_stat()
[all...]
/openbmc/openbmc/poky/scripts/tiny/
H A Ddirsize.py21 s = os.lstat(path)
25 ss = os.lstat(pathname)
31 r.size = os.lstat(path).st_size
/openbmc/linux/tools/perf/tests/
H A Dattr.c199 if (!lstat("./tests", &st)) in test__attr()
211 if (!lstat(path_dir, &st) && in test__attr()
212 !lstat(path_perf, &st)) in test__attr()
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 Dbuiltin-test-list.c47 if (!lstat(devel_dirs[i], &st)) { in shell_tests__dir()
49 if (!lstat(devel_dirs[i], &st)) in shell_tests__dir()
/openbmc/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()
/openbmc/linux/tools/perf/trace/strace/groups/
H A Dfile7 lstat
H A Dstring30 lstat
/openbmc/openbmc/poky/meta/lib/oe/
H A Dreproducible.py68 mtime = int(os.lstat(filepath).st_mtime)
140 mtime = int(os.lstat(filename).st_mtime)
H A Dcachedpath.py62 lst = os.lstat(path)
121 def lstat(self, path): member in CachedPath
/openbmc/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()
/openbmc/linux/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
/openbmc/openbmc/poky/meta/conf/distro/include/
H A Dtime64.inc52 …x86_64-oesdk-linux/usr/bin/arm-oe-linux-gnueabi/arm-oe-linux-gnueabi-ranlib uses 32-bit api 'lstat'
56 …xx/x86_64-oesdk-linux/usr/bin/arm-oe-linux-gnueabi/arm-oe-linux-gnueabi-gdb uses 32-bit api 'lstat'
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/inotify-tools/
H A Dinotify-tools_3.22.6.0.bb12 file://0003-replace-stat64-lstat64-with-stat-lstat.patch \
/openbmc/qemu/hw/9pfs/
H A Dcodir.c159 err = s->ops->lstat(&s->ctx, &path, &stbuf); in do_readdir_many()
301 err = s->ops->lstat(&s->ctx, &path, stbuf); in v9fs_co_mkdir()
H A Dcofile.c60 err = s->ops->lstat(&s->ctx, path, stbuf); in v9fs_co_lstat()
162 err = s->ops->lstat(&s->ctx, &path, stbuf); in v9fs_co_open2()
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dutils.py805 sstat = os.lstat(src)
812 dstat = os.lstat(dest)
814 dstat = os.lstat(os.path.dirname(dest))
833 return os.lstat(dest)
897 sstat = os.lstat(src)
904 dstat = os.lstat(dest)
906 dstat = os.lstat(os.path.dirname(dest))
924 return os.lstat(dest)
977 sstat = os.lstat(src)
/openbmc/u-boot/scripts/dtc/
H A Dfstree.c48 if (lstat(tmpname, &st) < 0) in read_fstree()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dcgx.c1271 static inline void link_status_user_format(u64 lstat, in link_status_user_format() argument
1277 linfo->link_up = FIELD_GET(RESP_LINKSTAT_UP, lstat); in link_status_user_format()
1278 linfo->full_duplex = FIELD_GET(RESP_LINKSTAT_FDUPLEX, lstat); in link_status_user_format()
1279 linfo->speed = cgx_speed_mbps[FIELD_GET(RESP_LINKSTAT_SPEED, lstat)]; in link_status_user_format()
1280 linfo->an = FIELD_GET(RESP_LINKSTAT_AN, lstat); in link_status_user_format()
1281 linfo->fec = FIELD_GET(RESP_LINKSTAT_FEC, lstat); in link_status_user_format()
1282 linfo->lmac_type_id = FIELD_GET(RESP_LINKSTAT_LMAC_TYPE, lstat); in link_status_user_format()
1296 static inline void cgx_link_change_handler(u64 lstat, in cgx_link_change_handler() argument
1307 link_status_user_format(lstat, &event.link_uinfo, cgx, lmac->lmac_id); in cgx_link_change_handler()
1308 err_type = FIELD_GET(RESP_LINKSTAT_ERRTYPE, lstat); in cgx_link_change_handler()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0004-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch52 pglob->gl_lstat = lstat;
91 .gl_lstat = lstat,
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0005-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch52 pglob->gl_lstat = lstat;
91 .gl_lstat = lstat,
/openbmc/linux/tools/perf/util/
H A Dutil.c160 ret = lstat(path, &statbuf); in rm_rf_depth_pat()
187 ret = lstat(namebuf, &statbuf); in rm_rf_depth_pat()

12345