Home
last modified time | relevance | path

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

12345

/openbmc/linux/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 …]
/openbmc/linux/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 …]
/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/qemu/tests/tcg/cris/libc/
H A Dcheck_stat4.c19 if (lstat (".", &buf) != 0 in main()
22 if (lstat (path, &buf) != 0 in main()
H A Dcheck_stat2.c15 if (lstat (".", &buf) != 0 in main()
/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/arch/alpha/kernel/
H A Dosf_sys.c282 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()
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()
293 tmp.st_ino = lstat->ino; in linux_to_osf_stat()
294 tmp.st_atime = lstat->atime.tv_sec; in linux_to_osf_stat()
295 tmp.st_mtime = lstat->mtime.tv_sec; in linux_to_osf_stat()
297 tmp.st_blksize = lstat->blksize; in linux_to_osf_stat()
[all …]
/openbmc/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 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 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)
139 mtime = int(os.lstat(filename).st_mtime)
H A Dcachedpath.py62 lst = os.lstat(path)
117 def lstat(self, path): member in CachedPath
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/libyui/libyui-ncurses/
H A D0001-libyui-ncurses-Replace-off64_t-with-off_t-and-stat64.patch106 + if ( lstat( fullName.c_str(), &statInfo ) == 0 )
135 + if ( lstat( fullName.c_str(), &statInfo ) == 0 )
157 + * Constructor from a stat buffer (i.e. based on an lstat() call).
/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/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/u-boot/scripts/dtc/
H A Dfstree.c48 if (lstat(tmpname, &st) < 0) in read_fstree()
/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/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dcgx.c1222 static inline void link_status_user_format(u64 lstat, in link_status_user_format() argument
1228 linfo->link_up = FIELD_GET(RESP_LINKSTAT_UP, lstat); in link_status_user_format()
1229 linfo->full_duplex = FIELD_GET(RESP_LINKSTAT_FDUPLEX, lstat); in link_status_user_format()
1230 linfo->speed = cgx_speed_mbps[FIELD_GET(RESP_LINKSTAT_SPEED, lstat)]; in link_status_user_format()
1231 linfo->an = FIELD_GET(RESP_LINKSTAT_AN, lstat); in link_status_user_format()
1232 linfo->fec = FIELD_GET(RESP_LINKSTAT_FEC, lstat); in link_status_user_format()
1233 linfo->lmac_type_id = FIELD_GET(RESP_LINKSTAT_LMAC_TYPE, lstat); in link_status_user_format()
1247 static inline void cgx_link_change_handler(u64 lstat, in cgx_link_change_handler() argument
1258 link_status_user_format(lstat, &event.link_uinfo, cgx, lmac->lmac_id); in cgx_link_change_handler()
1259 err_type = FIELD_GET(RESP_LINKSTAT_ERRTYPE, lstat); in cgx_link_change_handler()
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dutils.py779 sstat = os.lstat(src)
786 dstat = os.lstat(dest)
788 dstat = os.lstat(os.path.dirname(dest))
807 return os.lstat(dest)
871 sstat = os.lstat(src)
878 dstat = os.lstat(dest)
880 dstat = os.lstat(os.path.dirname(dest))
898 return os.lstat(dest)
951 sstat = os.lstat(src)
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0004-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch52 pglob->gl_lstat = lstat;
91 .gl_lstat = lstat,

12345