/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/ |
H A D | nv44.c | 150 u32 stat = nvkm_rd32(device, 0x00b100); in nv44_mpeg_intr() local 154 u32 show = stat; in nv44_mpeg_intr() 166 if (stat & 0x01000000) { in nv44_mpeg_intr() 179 nvkm_wr32(device, 0x00b100, stat); in nv44_mpeg_intr() 186 stat, type, mthd, data); in nv44_mpeg_intr()
|
/kernel/linux/linux-6.6/drivers/md/bcache/ |
H A D | stats.c | 56 #define var(stat) (s->stat >> 16) in SHOW() 132 static void scale_stat(unsigned long *stat) in scale_stat() argument 134 *stat = ewma_add(*stat, 0, accounting_weight, 0); in scale_stat()
|
/kernel/linux/linux-6.6/tools/power/cpupower/lib/ |
H A D | powercap.c | 8 #include <sys/stat.h> 89 struct stat statbuf; in powercap_get_driver() 91 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) { in powercap_get_driver() 211 struct stat st; in powercap_read_zone() 216 if (stat(dent->d_name, &st) != 0 || !S_ISDIR(st.st_mode)) in powercap_read_zone()
|
/third_party/f2fs-tools/tools/ |
H A D | fibmap.c | 29 #include <sys/stat.h> 68 void print_stat(struct stat *st) in print_stat() 94 static void stat_bdev(struct stat *st, unsigned int *start_lba) in stat_bdev() 97 struct stat bdev_stat; in stat_bdev() 145 struct stat st;
|
/third_party/ntfs-3g/libntfs-3g/ |
H A D | unix_io.c | 45 #include <sys/stat.h> 120 struct stat sbuf; in ntfs_device_unix_io_open() 127 if (stat(dev->d_name, &sbuf)) { in ntfs_device_unix_io_open() 357 static int ntfs_device_unix_io_stat(struct ntfs_device *dev, struct stat *buf) in ntfs_device_unix_io_stat() 390 .stat = ntfs_device_unix_io_stat,
|
/third_party/python/Lib/test/ |
H A D | test__osx_support.py | 7 import stat namespace 46 os.chmod(self.prog_name, stat.S_IRWXU) 58 os.chmod(self.prog_name, stat.S_IRWXU) 149 os.chmod(c_name, stat.S_IRWXU) 228 os.chmod(c_name, stat.S_IRWXU)
|
/third_party/skia/src/ports/ |
H A D | SkOSFile_posix.cpp | 19 #include <sys/stat.h> 57 struct stat status; in sk_ino() 78 struct stat status; in sk_fdmmap() 185 struct stat s; in next() 193 if (0 == stat(str.c_str(), &s)) { in next()
|
/third_party/toybox/toys/other/ |
H A D | lsattr.c | 83 static int ext2_getflag(int fd, struct stat *sb, unsigned long *flag) in ext2_getflag() 96 struct stat sb; in print_file_attr() 98 if (!stat(path, &sb) && !S_ISREG(sb.st_mode) && !S_ISDIR(sb.st_mode)) { in print_file_attr() 173 struct stat sb; in lsattr_main() 175 if (lstat(*toys.optargs, &sb)) perror_msg("stat '%s'", *toys.optargs); in lsattr_main() 193 static inline int ext2_setflag(int fd, struct stat *sb, unsigned long flag) in ext2_setflag()
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_dir_util.py | 4 import stat namespace 68 stat.S_IMODE(os.stat(self.target).st_mode), 0o700 & ~umask) 71 stat.S_IMODE(os.stat(self.target2).st_mode), 0o555 & ~umask)
|
/third_party/musl/src/include/sys/ |
H A D | stat.h | 4 #include "../../../include/sys/stat.h" 6 hidden int __fstat(int, struct stat *); 7 hidden int __fstatat(int, const char *restrict, struct stat *restrict, int);
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | inode_remote.c | 92 if ((getattr_ret->stat.result_mask & expected_flags) != in get_remote_inode_info() 95 getattr_ret->stat.result_mask); in get_remote_inode_info() 101 lookup_ret->i_mode = getattr_ret->stat.mode; in get_remote_inode_info() 102 lookup_ret->i_size = getattr_ret->stat.size; in get_remote_inode_info() 103 lookup_ret->i_mtime = getattr_ret->stat.mtime.tv_sec; in get_remote_inode_info() 104 lookup_ret->i_mtime_nsec = getattr_ret->stat.mtime.tv_nsec; in get_remote_inode_info() 105 lookup_ret->i_ino = getattr_ret->stat.ino; in get_remote_inode_info() 941 struct kstat *stat, u32 request_mask, in hmdfs_get_cached_attr_remote() 948 stat->ino = inode->i_ino; in hmdfs_get_cached_attr_remote() 949 stat in hmdfs_get_cached_attr_remote() 940 hmdfs_get_cached_attr_remote(const struct path *path, struct kstat *stat, u32 request_mask, unsigned int flags) hmdfs_get_cached_attr_remote() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | dp.c | 38 u8 stat[6]; member 56 ret = nvkm_rdaux(dp->aux, DPCD_LS02, lt->stat, 6); in nvkm_dp_train_sense() 65 lt->stat, lt->pc2stat); in nvkm_dp_train_sense() 67 OUTP_TRACE(&dp->outp, "status %6ph", lt->stat); in nvkm_dp_train_sense() 86 u8 lane = (lt->stat[4 + (i >> 1)] >> ((i & 1) * 4)) & 0xf; in nvkm_dp_train_drive() 171 eq_done = !!(lt->stat[2] & DPCD_LS04_INTERLANE_ALIGN_DONE); in nvkm_dp_train_eq() 173 u8 lane = (lt->stat[i >> 1] >> ((i & 1) * 4)) & 0xf; in nvkm_dp_train_eq() 201 u8 lane = (lt->stat[i >> 1] >> ((i & 1) * 4)) & 0xf; in nvkm_dp_train_cr() 282 memset(lt.stat, 0x00, sizeof(lt.stat)); in nvkm_dp_train_links() 455 u8 stat[3]; nvkm_dp_acquire() local [all...] |
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | inode_remote.c | 92 if ((getattr_ret->stat.result_mask & expected_flags) != in get_remote_inode_info() 95 getattr_ret->stat.result_mask); in get_remote_inode_info() 101 lookup_ret->i_mode = getattr_ret->stat.mode; in get_remote_inode_info() 102 lookup_ret->i_size = getattr_ret->stat.size; in get_remote_inode_info() 103 lookup_ret->i_mtime = getattr_ret->stat.mtime.tv_sec; in get_remote_inode_info() 104 lookup_ret->i_mtime_nsec = getattr_ret->stat.mtime.tv_nsec; in get_remote_inode_info() 105 lookup_ret->i_ino = getattr_ret->stat.ino; in get_remote_inode_info() 941 struct kstat *stat, u32 request_mask, in hmdfs_get_cached_attr_remote() 948 stat->ino = inode->i_ino; in hmdfs_get_cached_attr_remote() 949 stat in hmdfs_get_cached_attr_remote() 940 hmdfs_get_cached_attr_remote(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, u32 request_mask, unsigned int flags) hmdfs_get_cached_attr_remote() argument [all...] |
/kernel/linux/linux-5.10/arch/mips/txx9/generic/ |
H A D | spi_eeprom.c | 56 int stat = 0; in early_seeprom_probe() local 72 stat = spi_write_then_read(spi, cmd, sizeof(cmd), buf, c); in early_seeprom_probe() 77 return stat; in early_seeprom_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_common.h | 41 struct fm10k_hw_stat *stat); 42 #define fm10k_update_hw_base_32b(stat, delta) ((stat)->base_l += (delta))
|
/kernel/linux/linux-5.10/tools/testing/selftests/nsfs/ |
H A D | pidns.c | 10 #include <sys/stat.h> 46 struct stat st1, st2; in main() 65 if (stat(path, &st2)) in main() 66 return pr_err("Unable to stat %s", path); in main() 68 return pr_err("Unable to stat the parent pidns"); in main()
|
H A D | owner.c | 10 #include <sys/stat.h> 29 struct stat st1, st2; in main() 68 if (stat(path, &st2)) in main() 69 return pr_err("stat"); in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | link_pinning.c | 5 #include <sys/stat.h> 15 struct stat statbuf = {}; in test_link_pinning_subtest() 36 err = stat(link_pin_path, &statbuf); in test_link_pinning_subtest()
|
H A D | ns_current_pid_tgid.c | 4 #include <sys/stat.h> 26 struct stat st; in test_ns_current_pid_tgid() 53 if (CHECK_FAIL(stat("/proc/self/ns/pid", &st))) { in test_ns_current_pid_tgid() 54 perror("Failed to stat /proc/self/ns/pid"); in test_ns_current_pid_tgid()
|
/kernel/linux/linux-5.10/scripts/dtc/ |
H A D | fstree.c | 9 #include <sys/stat.h> 15 struct stat st; in read_fstree() 33 if (stat(tmpname, &st) < 0) in read_fstree() 34 die("stat(%s): %s\n", tmpname, strerror(errno)); in read_fstree()
|
/kernel/linux/linux-5.10/tools/power/acpi/os_specific/service_layers/ |
H A D | osunixdir.c | 18 #include <sys/stat.h> 96 struct stat temp_stat; in acpi_os_get_next_filename() 120 err = stat(temp_str, &temp_stat); in acpi_os_get_next_filename() 123 "Cannot stat file (should not happen) - %s\n", in acpi_os_get_next_filename()
|
/kernel/linux/linux-5.10/fs/9p/ |
H A D | v9fs_vfs.h | 52 void v9fs_stat2inode(struct p9_wstat *stat, struct inode *inode, 54 void v9fs_stat2inode_dotl(struct p9_stat_dotl *stat, struct inode *inode, 58 void v9fs_inode2stat(struct inode *inode, struct p9_wstat *stat);
|
/kernel/linux/linux-5.10/include/soc/fsl/ |
H A D | dpaa2-global.h | 22 u8 stat; member 36 u8 stat; member 65 * dpaa2_dq_flags() - Get the stat field of dequeue response 70 return dq->dq.stat; in dpaa2_dq_flags()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/ce/ |
H A D | gp100.c | 53 u32 stat = nvkm_rd32(device, 0x104418 + base); in gp100_ce_intr_launcherr() local 55 nvkm_enum_find(gp100_ce_launcherr_report, stat & 0x0000000f); in gp100_ce_intr_launcherr() 56 nvkm_warn(subdev, "LAUNCHERR %08x [%s]\n", stat, en ? en->name : ""); in gp100_ce_intr_launcherr()
|
H A D | gk104.c | 51 u32 stat = nvkm_rd32(device, 0x104f14 + base); in gk104_ce_intr_launcherr() local 53 nvkm_enum_find(gk104_ce_launcherr_report, stat & 0x0000000f); in gk104_ce_intr_launcherr() 54 nvkm_warn(subdev, "LAUNCHERR %08x [%s]\n", stat, en ? en->name : ""); in gk104_ce_intr_launcherr()
|