Home
last modified time | relevance | path

Searched refs:stat (Results 3126 - 3150 of 7147) sorted by relevance

1...<<121122123124125126127128129130>>...286

/third_party/rust/crates/nix/test/
H A Dtest_pty.rs10 use nix::sys::stat;
115 open(Path::new(&slave_name), OFlag::O_RDWR, stat::Mode::empty()) in open_ptty_pair()
/third_party/selinux/checkpolicy/
H A Dcheckmodule.c17 #include <sys/stat.h>
52 struct stat sb; in read_binary_policy()
63 fprintf(stderr, "Can't stat '%s': %s\n", in read_binary_policy()
/third_party/selinux/libselinux/src/
H A Dload_policy.c3 #include <sys/stat.h>
58 struct stat sb; in selinux_mkload_policy()
147 "SELinux: Could not stat policy file %s: %m\n", in selinux_mkload_policy()
/third_party/ntfs-3g/src/
H A Dntfs-3g.c338 struct stat stbuf; in ntfs_allowed_dir_access()
713 struct stat *stbuf) in junction_getattr()
741 struct stat *stbuf) in wsl_getattr()
787 static void apply_umask(struct stat *stbuf) in apply_umask()
806 static int ntfs_fuse_getattr(const char *org_path, struct stat *stbuf) in ntfs_fuse_getattr()
820 memset(stbuf, 0, sizeof(struct stat)); in ntfs_fuse_getattr()
1068 #warning "No known way to set nanoseconds in struct stat !" in ntfs_fuse_getattr()
1283 struct stat st = { .st_ino = MREF(mref) }; in ntfs_fuse_filler()
4115 struct stat st; in mknod_dev_fuse()
4117 if (stat(de in mknod_dev_fuse()
[all...]
/kernel/linux/linux-5.10/drivers/fsi/
H A Dfsi-master-ast-cf.c310 uint8_t stat; in do_copro_command() local
328 stat = ioread8(master->sram + CMD_STAT_REG); in do_copro_command()
329 } while(stat < STAT_COMPLETE || stat == 0xff); in do_copro_command()
331 if (stat == STAT_COMPLETE) in do_copro_command()
333 switch(stat) { in do_copro_command()
/kernel/linux/linux-5.10/drivers/mtd/ubi/
H A Dbuild.c24 #include <linux/stat.h>
1151 struct kstat stat; in open_mtd_by_chdev() local
1158 err = vfs_getattr(&path, &stat, STATX_TYPE, AT_STATX_SYNC_AS_STAT); in open_mtd_by_chdev()
1164 if (MAJOR(stat.rdev) != MTD_CHAR_MAJOR || !S_ISCHR(stat.mode)) in open_mtd_by_chdev()
1167 minor = MINOR(stat.rdev); in open_mtd_by_chdev()
/kernel/linux/linux-5.10/fs/ecryptfs/
H A Dinode.c176 * stat of the lower directory inode.
977 static int ecryptfs_getattr_link(const struct path *path, struct kstat *stat, in ecryptfs_getattr_link() argument
986 generic_fillattr(d_inode(dentry), stat); in ecryptfs_getattr_link() local
994 stat->size = targetsiz; in ecryptfs_getattr_link()
1002 static int ecryptfs_getattr(const struct path *path, struct kstat *stat, in ecryptfs_getattr() argument
1014 generic_fillattr(d_inode(dentry), stat); in ecryptfs_getattr() local
1015 stat->blocks = lower_stat.blocks; in ecryptfs_getattr()
/kernel/linux/linux-5.10/fs/orangefs/
H A Dinode.c893 int orangefs_getattr(const struct path *path, struct kstat *stat, in orangefs_getattr() argument
906 generic_fillattr(inode, stat); in orangefs_getattr()
908 /* override block size reported to stat */ in orangefs_getattr()
910 stat->result_mask &= ~STATX_SIZE; in orangefs_getattr()
912 stat->attributes_mask = STATX_ATTR_IMMUTABLE | in orangefs_getattr()
915 stat->attributes |= STATX_ATTR_IMMUTABLE; in orangefs_getattr()
917 stat->attributes |= STATX_ATTR_APPEND; in orangefs_getattr()
1067 inode->i_ino = hash; /* needed for stat etc */ in orangefs_iget()
1104 inode->i_ino = hash; /* needed for stat etc */ in orangefs_new_inode()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dnv04.c1277 u32 stat = nvkm_rd32(device, NV03_PGRAPH_INTR); in nv04_gr_intr() local
1287 u32 show = stat; in nv04_gr_intr()
1295 if (stat & NV_PGRAPH_INTR_NOTIFY) { in nv04_gr_intr()
1302 if (stat & NV_PGRAPH_INTR_CONTEXT_SWITCH) { in nv04_gr_intr()
1304 stat &= ~NV_PGRAPH_INTR_CONTEXT_SWITCH; in nv04_gr_intr()
1309 nvkm_wr32(device, NV03_PGRAPH_INTR, stat); in nv04_gr_intr()
H A Dnv10.c1086 u32 stat = nvkm_rd32(device, NV03_PGRAPH_INTR); in nv10_gr_intr() local
1095 u32 show = stat; in nv10_gr_intr()
1103 if (stat & NV_PGRAPH_INTR_ERROR) { in nv10_gr_intr()
1110 if (stat & NV_PGRAPH_INTR_CONTEXT_SWITCH) { in nv10_gr_intr()
1112 stat &= ~NV_PGRAPH_INTR_CONTEXT_SWITCH; in nv10_gr_intr()
1117 nvkm_wr32(device, NV03_PGRAPH_INTR, stat); in nv10_gr_intr()
/kernel/linux/linux-5.10/drivers/memory/samsung/
H A Dexynos5422-dmc.c929 * @stat: structure which has statistic fields
936 struct devfreq_dev_status *stat) in exynos5_dmc_get_status()
944 stat->current_frequency = dmc->curr_rate; in exynos5_dmc_get_status()
947 stat->busy_time = dmc->load; in exynos5_dmc_get_status()
948 stat->total_time = dmc->total; in exynos5_dmc_get_status()
955 stat->busy_time = load >> 10; in exynos5_dmc_get_status()
956 stat->total_time = total >> 10; in exynos5_dmc_get_status()
935 exynos5_dmc_get_status(struct device *dev, struct devfreq_dev_status *stat) exynos5_dmc_get_status() argument
/kernel/linux/linux-6.6/drivers/memory/samsung/
H A Dexynos5422-dmc.c924 * @stat: structure which has statistic fields
931 struct devfreq_dev_status *stat) in exynos5_dmc_get_status()
939 stat->current_frequency = dmc->curr_rate; in exynos5_dmc_get_status()
942 stat->busy_time = dmc->load; in exynos5_dmc_get_status()
943 stat->total_time = dmc->total; in exynos5_dmc_get_status()
950 stat->busy_time = load >> 10; in exynos5_dmc_get_status()
951 stat->total_time = total >> 10; in exynos5_dmc_get_status()
930 exynos5_dmc_get_status(struct device *dev, struct devfreq_dev_status *stat) exynos5_dmc_get_status() argument
/kernel/linux/linux-6.6/drivers/mtd/ubi/
H A Dbuild.c24 #include <linux/stat.h>
1157 struct kstat stat; in open_mtd_by_chdev() local
1164 err = vfs_getattr(&path, &stat, STATX_TYPE, AT_STATX_SYNC_AS_STAT); in open_mtd_by_chdev()
1170 if (MAJOR(stat.rdev) != MTD_CHAR_MAJOR || !S_ISCHR(stat.mode)) in open_mtd_by_chdev()
1173 minor = MINOR(stat.rdev); in open_mtd_by_chdev()
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_rtalloc.c55 int *stat) /* out: any good extents here? */ in xfs_rtany_summary()
80 *stat = 1; in xfs_rtany_summary()
87 *stat = 0; in xfs_rtany_summary()
257 int stat; /* status from internal calls */ in xfs_rtallocate_extent_block() local
274 error = xfs_rtcheck_range(mp, tp, i, maxlen, 1, &next, &stat); in xfs_rtallocate_extent_block()
278 if (stat) { in xfs_rtallocate_extent_block()
47 xfs_rtany_summary( xfs_mount_t *mp, xfs_trans_t *tp, int low, int high, xfs_rtblock_t bbno, struct xfs_buf **rbpp, xfs_fsblock_t *rsb, int *stat) xfs_rtany_summary() argument
/kernel/linux/linux-6.6/drivers/fsi/
H A Dfsi-master-ast-cf.c310 uint8_t stat; in do_copro_command() local
328 stat = ioread8(master->sram + CMD_STAT_REG); in do_copro_command()
329 } while(stat < STAT_COMPLETE || stat == 0xff); in do_copro_command()
331 if (stat == STAT_COMPLETE) in do_copro_command()
333 switch(stat) { in do_copro_command()
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
H A Dpm_helpers.c411 void __iomem *ctrl, *stat; in vcodec_control_v4() local
417 stat = core->wrapper_base + WRAPPER_CORE_POWER_STATUS_V6; in vcodec_control_v4()
420 stat = core->wrapper_base + WRAPPER_VCODEC0_MMCC_POWER_STATUS; in vcodec_control_v4()
423 stat = core->wrapper_base + WRAPPER_VCODEC1_MMCC_POWER_STATUS; in vcodec_control_v4()
429 ret = readl_poll_timeout(stat, val, val & BIT(1), 1, 100); in vcodec_control_v4()
435 ret = readl_poll_timeout(stat, val, !(val & BIT(1)), 1, 100); in vcodec_control_v4()
/kernel/linux/linux-6.6/drivers/gpu/drm/mcde/
H A Dmcde_display.c497 u32 stat; in mcde_configure_channel() local
505 stat = MCDE_CHNL0STAT; in mcde_configure_channel()
512 stat = MCDE_CHNL1STAT; in mcde_configure_channel()
519 stat = MCDE_CHNL2STAT; in mcde_configure_channel()
526 stat = MCDE_CHNL3STAT; in mcde_configure_channel()
589 writel(val, mcde->regs + stat); in mcde_configure_channel()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dnv04.c1277 u32 stat = nvkm_rd32(device, NV03_PGRAPH_INTR); in nv04_gr_intr() local
1287 u32 show = stat; in nv04_gr_intr()
1295 if (stat & NV_PGRAPH_INTR_NOTIFY) { in nv04_gr_intr()
1302 if (stat & NV_PGRAPH_INTR_CONTEXT_SWITCH) { in nv04_gr_intr()
1304 stat &= ~NV_PGRAPH_INTR_CONTEXT_SWITCH; in nv04_gr_intr()
1309 nvkm_wr32(device, NV03_PGRAPH_INTR, stat); in nv04_gr_intr()
H A Dnv10.c1086 u32 stat = nvkm_rd32(device, NV03_PGRAPH_INTR); in nv10_gr_intr() local
1095 u32 show = stat; in nv10_gr_intr()
1103 if (stat & NV_PGRAPH_INTR_ERROR) { in nv10_gr_intr()
1110 if (stat & NV_PGRAPH_INTR_CONTEXT_SWITCH) { in nv10_gr_intr()
1112 stat &= ~NV_PGRAPH_INTR_CONTEXT_SWITCH; in nv10_gr_intr()
1117 nvkm_wr32(device, NV03_PGRAPH_INTR, stat); in nv10_gr_intr()
/kernel/linux/linux-6.6/mm/damon/
H A Dcore.c326 scheme->stat = (struct damos_stat){}; in damon_new_scheme()
851 s->stat.nr_tried++; in damos_update_stat()
852 s->stat.sz_tried += sz_tried; in damos_update_stat()
854 s->stat.nr_applied++; in damos_update_stat()
855 s->stat.sz_applied += sz_applied; in damos_update_stat()
1022 s->stat.qt_exceeds++; in damos_adjust_quota()
/third_party/f2fs-tools/tools/f2fs_io/
H A Df2fs_io.c39 #include <sys/stat.h>
424 struct stat sb; in do_fallocate()
460 struct stat st; in do_erase()
469 if (stat(argv[1], &st) != 0) { in do_erase()
470 fputs("stat error\n", stderr); in do_erase()
746 struct stat stbuf; in do_randread()
977 struct stat stbuf; in do_copy()
/third_party/elfutils/src/
H A Dar.c38 #include <sys/stat.h>
380 struct stat *st, bool miss_allowed) in open_archive()
406 error_exit (errno, _("cannot stat archive '%s'"), in open_archive()
480 struct stat st; in do_oper_extract()
485 error (0, errno, _("cannot stat '%s'"), arfname); in do_oper_extract()
921 struct stat st; in do_oper_delete()
1101 struct stat st; in do_oper_insert()
1255 struct stat newst; in do_oper_insert()
1265 error (0, errno, _("cannot stat %s"), argv[cnt]); in do_oper_insert()
/third_party/backends/sanei/
H A Dsanei_pa4s2.c930 u_char stat; in sanei_pa4s2_scsi_pp_get_status() local
986 stat = inbyte1 (fd)^0x80; in sanei_pa4s2_scsi_pp_get_status()
987 *status = (stat&0x2f)|((stat&0x10)<<2)|((stat&0x40)<<1)|((stat&0x80)>>3); in sanei_pa4s2_scsi_pp_get_status()
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
H A Dxm_api.c361 Status stat; in get_drawable_size() local
364 stat = XGetGeometry(dpy, d, &root, &xpos, &ypos, &w, &h, &bw, &depth); in get_drawable_size()
367 return stat; in get_drawable_size()
382 Status stat; in xmesa_get_window_size() local
385 stat = get_drawable_size(dpy, b->ws.drawable, width, height); in xmesa_get_window_size()
388 if (!stat) { in xmesa_get_window_size()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv84_video.c24 #include <sys/stat.h>
58 struct stat statbuf; in filesize()
60 ret = stat(path, &statbuf); in filesize()
753 struct stat s; in firmware_present()
775 ret = stat("/lib/firmware/nouveau/nv84_vp-h264-1", &s); in firmware_present()
789 ret = stat("/lib/firmware/nouveau/nv84_vp-mpeg12", &s); in firmware_present()

Completed in 51 milliseconds

1...<<121122123124125126127128129130>>...286