/kernel/linux/linux-5.10/drivers/pcmcia/ |
H A D | pxa2xx_stargate2.c | 40 skt->stat[SOC_STAT_CD].gpio = SG2_S0_GPIO_DETECT; in sg2_pcmcia_hw_init() 41 skt->stat[SOC_STAT_CD].name = "PCMCIA0 CD"; in sg2_pcmcia_hw_init() 42 skt->stat[SOC_STAT_RDY].gpio = SG2_S0_GPIO_READY; in sg2_pcmcia_hw_init() 43 skt->stat[SOC_STAT_RDY].name = "PCMCIA0 RDY"; in sg2_pcmcia_hw_init()
|
/kernel/linux/linux-6.6/drivers/irqchip/ |
H A D | irq-rda-intc.c | 51 u32 stat = readl_relaxed(rda_intc_base + RDA_INTC_FINALSTATUS); in rda_handle_irq() local 54 while (stat) { in rda_handle_irq() 55 hwirq = __fls(stat); in rda_handle_irq() 57 stat &= ~BIT(hwirq); in rda_handle_irq()
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | pkey-powerpc.h | 70 struct stat buf; in arch_is_powervm() 72 if ((stat("/sys/firmware/devicetree/base/ibm,partition-name", &buf) == 0) && in arch_is_powervm() 73 (stat("/sys/firmware/devicetree/base/hmc-managed?", &buf) == 0) && in arch_is_powervm() 74 (stat("/sys/firmware/devicetree/base/chosen/qemu,graphic-width", &buf) == -1) ) in arch_is_powervm()
|
/third_party/gn/src/base/files/ |
H A D | file_enumerator.h | 21 #include <sys/stat.h> 62 const struct stat& stat() const { return stat_; } in stat() function in base::FileEnumerator::FileInfo 71 struct stat stat_;
|
/third_party/libuv/test/ |
H A D | test-pipe-set-fchmod.c | 32 struct stat stat_buf; in TEST_IMPL() 53 ASSERT_OK(stat(TEST_PIPENAME, &stat_buf)); in TEST_IMPL() 62 stat(TEST_PIPENAME, &stat_buf); in TEST_IMPL() 71 stat(TEST_PIPENAME, &stat_buf); in TEST_IMPL()
|
/third_party/ltp/testcases/kernel/device-drivers/nls/ |
H A D | userBlockNLS.c | 27 #include <sys/stat.h> 71 struct stat statbuf; in open_block_device() 84 rc = stat(NLS_DEVICE_PATH, &statbuf); in open_block_device() 96 ("ERROR: Problem with INC dev directory. Error code from stat() " in open_block_device() 116 rc = stat(DEVICE_NAME, &statbuf); in open_block_device() 125 ("ERROR:Problem with block device node directory. Error code form stat() is %d\n\n", in open_block_device()
|
/third_party/ltp/testcases/cve/ |
H A D | cve-2016-7117.c | 116 int stat, too_early_count = 0; in run() local 127 stat = tst_syscall(__NR_recvmmsg, in run() 131 if (stat == 0) in run() 133 else if (stat < 0) { in run()
|
/third_party/ltp/testcases/kernel/device-drivers/include/ |
H A D | userBlockInclude.c | 27 #include <sys/stat.h> 73 struct stat statbuf; in open_block_device() 86 rc = stat(INCLUDE_DEVICE_PATH, &statbuf); in open_block_device() 96 printf("ERROR: Problem with INC dev directory. Error code from stat( in open_block_device() 116 rc = stat(DEVICE_NAME, &statbuf); in open_block_device() 125 ("ERROR:Problem with block device node directory. Error code form stat() is %d\n\n", in open_block_device()
|
/third_party/node/deps/v8/third_party/test262-harness/src/ |
H A D | _packagerConfig.py | 7 import stat namespace 108 if not(os.stat(filename).st_mode & stat.S_IWRITE): 109 os.chmod(filename, stat.S_IWRITE)
|
/third_party/ltp/testcases/kernel/syscalls/dup/ |
H A D | dup07.c | 28 stat each file descriptor and compare mode of each pair 34 #include <sys/stat.h> 36 #include <sys/stat.h> 49 struct stat retbuf; in main() 50 struct stat dupbuf; in main()
|
/third_party/ltp/testcases/kernel/syscalls/fchown/ |
H A D | fchown03.c | 24 #include <sys/stat.h> 37 static void check_owner(struct stat *s, uid_t exp_uid, gid_t exp_gid) in check_owner() 44 static void check_mode(struct stat *s, mode_t exp_mode) in check_mode() 55 struct stat stat_buf; in run()
|
/third_party/libevdev/test/ |
H A D | test-main.c | 15 #include <sys/stat.h> 57 struct stat st; in device_nodes_exist() 60 rc = stat("/dev/uinput", &st); in device_nodes_exist() 64 rc = stat("/dev/input", &st); in device_nodes_exist()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_stat.cpp | 16 #include "sys/stat.h" 28 struct stat st; in Bm_function_Fstatat_relativepath() 43 struct stat st; in Bm_function_Fstatat_symbollink() 58 struct stat st; in Bm_function_Fstatat_absolutepath() 72 struct stat buf; in Bm_function_Fstat64()
|
/third_party/musl/libc-test/src/api/ |
H A D | ftw.c | 9 T(struct stat) in f() 57 struct stat x; in f() 72 {int(*p)(const char*,int(*)(const char*,const struct stat*,int),int) = ftw;} in f() 73 {int(*p)(const char*,int(*)(const char*,const struct stat*,int,struct FTW*),int,int) = nftw;} in f()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | readlink.c | 17 #include <sys/stat.h> 28 struct stat sb; in readlink_0100() 61 struct stat sb; in readlink_0200() 93 struct stat sb; in readlink_0300()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | check-symbols.py | 23 stat = 0 variable 49 stat = 1 variable 66 stat = 1 variable 74 sys.exit (stat)
|
/third_party/toybox/toys/other/ |
H A D | switch_root.c | 47 struct stat st1, st2; in switch_root_main() 62 if (chdir(newroot) || stat(".", &st1) || stat("/", &st2) || in switch_root_main() 71 // stat(), relative to newroot. *cmdline is also used below, but by that in switch_root_main() 76 if (stat(*cmdline, &st1) || !S_ISREG(st1.st_mode) || !(st1.st_mode&0100)) { in switch_root_main()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | data.c | 7 #include <sys/stat.h> 100 struct stat st; in perf_data__open_dir() 103 if (stat(path, &st)) in perf_data__open_dir() 153 struct stat st; in perf_data__update_dir() 166 struct stat st; in check_pipe() 187 struct stat st; in check_backup() 192 if (!stat(data->path, &st) && st.st_size) { in check_backup() 221 struct stat st; in is_dir() 223 if (stat(data->path, &st)) in is_dir() 231 struct stat s in open_file_read() [all...] |
/third_party/node/src/ |
H A D | node_file-inl.h | 89 #define SET_FIELD_WITH_STAT(stat_offset, stat) \ in FillStatsArray() 91 static_cast<NativeT>(stat)) in FillStatsArray() 98 #define SET_FIELD_WITH_TIME_STAT(stat_offset, stat) \ in FillStatsArray() 100 SET_FIELD_WITH_STAT(stat_offset, static_cast<unsigned long>(stat)) in FillStatsArray() 102 #define SET_FIELD_WITH_TIME_STAT(stat_offset, stat) \ in FillStatsArray() 103 SET_FIELD_WITH_STAT(stat_offset, static_cast<double>(stat)) in FillStatsArray() 150 #define SET_FIELD(field, stat) \ in FillStatFsArray() 152 static_cast<NativeT>(stat)) in FillStatFsArray() 244 void FSReqPromise<AliasedBufferT>::ResolveStat(const uv_stat_t* stat) { in ResolveStat() argument 245 FillStatsArray(&stats_field_array_, stat); in ResolveStat() 250 ResolveStatFs(const uv_statfs_t* stat) ResolveStatFs() argument [all...] |
/kernel/linux/linux-5.10/arch/loongarch/boot/compressed/ |
H A D | calc_vmlinuz_load_addr.c | 11 #include <sys/stat.h> 21 struct stat sb; in main() 29 if (stat(argv[1], &sb) == -1) { in main() 30 perror("stat"); in main()
|
/kernel/linux/linux-5.10/arch/mips/boot/compressed/ |
H A D | calc_vmlinuz_load_addr.c | 7 #include <sys/stat.h> 17 struct stat sb; in main() 25 if (stat(argv[1], &sb) == -1) { in main() 26 perror("stat"); in main()
|
/kernel/linux/linux-6.6/arch/mips/boot/compressed/ |
H A D | calc_vmlinuz_load_addr.c | 7 #include <sys/stat.h> 17 struct stat sb; in main() 25 if (stat(argv[1], &sb) == -1) { in main() 26 perror("stat"); in main()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mc/ |
H A D | tu102.c | 28 u32 stat = nvkm_rd32(device, 0xb81010); in tu102_mc_intr_hack() local 29 if (stat & 0x00000050) { in tu102_mc_intr_hack() 32 nvkm_wr32(device, 0xb81010, stat & 0x00000050); in tu102_mc_intr_hack()
|
/test/xts/tools/lite/checksum/src/ |
H A D | main.c | 25 #include <sys/stat.h> 36 struct stat sBuf; in main() 42 int result = stat(filePath, &sBuf); // 获取文件信息,把信息放到sBuf中 in main() 44 printf("error: fail to get the stat of %s: %s.\n", filePath, strerror(errno)); in main()
|
/third_party/musl/src/temp/ |
H A D | mktemp.c | 5 #include <sys/stat.h> 11 struct stat st; in mktemp() 21 if (stat(template, &st)) { in mktemp()
|