/kernel/liteos_m/testsuites/unittest/posix/src/fs/api/ |
D | posix_fs_fstat_test.c | 48 ret = fstat(fd, &buf); 69 int32_t ret = fstat(-1, &buf); /* -1, bad fd */ 85 int32_t ret = fstat(ERROR_CONFIG_NFILE_DESCRIPTORS, &buf); 101 int32_t ret = fstat(0, &buf); /* 0, used for stdin */ 105 ret = fstat(1, &buf); /* 1, used for stdout */ 109 ret = fstat(2, &buf); /* 2, used for stderr */ 130 ret = fstat(fd, buf); 159 ret = fstat(fd, &buf);
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | d_path.c | 84 fstat(pipefd[0], &fileStat); in trigger_fstat_events() 85 fstat(pipefd[1], &fileStat); in trigger_fstat_events() 86 fstat(sockfd, &fileStat); in trigger_fstat_events() 87 fstat(procfd, &fileStat); in trigger_fstat_events() 88 fstat(devfd, &fileStat); in trigger_fstat_events() 89 fstat(localfd, &fileStat); in trigger_fstat_events() 90 fstat(indicatorfd, &fileStat); in trigger_fstat_events()
|
/kernel/linux/linux-5.10/tools/testing/selftests/proc/ |
D | fd-002-posix-eq.c | 43 rv = fstat(fd0, &st0); in main() 45 rv = fstat(fd1, &st1); in main() 47 rv = fstat(fd2, &st2); in main()
|
/kernel/linux/build/test/kernel_ltp/syscalls/fstat/ |
D | BUILD.gn | 19 sources = [ "//third_party/ltp/testcases/kernel/syscalls/fstat/fstat02.c" ] 24 sources = [ "//third_party/ltp/testcases/kernel/syscalls/fstat/fstat03.c" ]
|
/kernel/linux/linux-5.10/tools/testing/selftests/timens/ |
D | procfs.c | 48 if (fstat(parent_ns, &st1)) in init_namespaces() 58 if (fstat(child_ns, &st2)) in init_namespaces()
|
D | timens.c | 71 if (fstat(parent_ns, &st1)) in init_namespaces() 81 if (fstat(child_ns, &st2)) in init_namespaces()
|
/kernel/linux/linux-5.10/tools/bootconfig/ |
D | main.c | 140 ret = fstat(fd, &stat); in load_xbc_file() 165 ret = fstat(fd, &stat); in load_xbc_from_initrd() 327 ret = fstat(fd, &stat); in delete_xbc() 401 if (fstat(fd, &stat) < 0) { in apply_xbc()
|
/kernel/linux/linux-5.10/tools/testing/selftests/splice/ |
D | splice_read.c | 34 if (fstat(fd, &statbuf) < 0) { in main()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | data.c | 155 if (fstat(file->fd, &st)) in perf_data__update_dir() 172 if (!fstat(fd, &st) && S_ISFIFO(st.st_mode)) in check_pipe() 247 if (fstat(fd, &st) < 0) in open_file_read()
|
D | zlib.c | 36 if (fstat(input_fd, &stbuf) < 0) in gzip_decompress_to_file()
|
D | srccode.c | 115 if (fd < 0 || fstat(fd, &st) < 0) { in find_srcfile()
|
/kernel/linux/linux-5.10/tools/testing/selftests/nsfs/ |
D | pidns.c | 67 if (fstat(pns, &st1)) in main()
|
D | owner.c | 64 if (fstat(uns, &st1)) in main()
|
/kernel/linux/linux-5.10/tools/build/ |
D | fixdep.c | 133 if (fstat(fd, &st) < 0) { in print_deps()
|
/kernel/linux/linux-5.10/scripts/ |
D | insert-sys-cert.c | 212 if (fstat(fd, &st)) { in map_file() 239 if (fstat(fd, &st)) { in read_file()
|
/kernel/linux/build/test/kernel_ltp/syscalls/ |
D | BUILD.gn | 199 "fstat:fstat02", 200 "fstat:fstat03",
|
/kernel/linux/linux-5.10/tools/perf/pmu-events/ |
D | json.c | 59 err = fstat(fd, &st); in mapfile()
|
/kernel/linux/linux-5.10/tools/vm/ |
D | page_owner_sort.c | 110 fstat(fileno(fin), &st); in main()
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-lantiq-ssc.c | 212 u32 fstat = lantiq_ssc_readl(spi, LTQ_SPI_FSTAT); in tx_fifo_level() local 214 return (fstat >> LTQ_SPI_FSTAT_TXFFL_S) & hwcfg->fifo_size_mask; in tx_fifo_level() 220 u32 fstat = lantiq_ssc_readl(spi, LTQ_SPI_FSTAT); in rx_fifo_level() local 222 return (fstat >> LTQ_SPI_FSTAT_RXFFL_S) & hwcfg->fifo_size_mask; in rx_fifo_level()
|
/kernel/linux/linux-5.10/arch/arm/vdso/ |
D | vdsomunge.c | 142 if (fstat(infd, &stat) != 0) in main()
|
/kernel/uniproton/src/fs/ |
D | fs.c | 122 int fstat(int fd, struct stat *buf) in fstat() function
|
/kernel/linux/linux-5.10/tools/io_uring/ |
D | io_uring-cp.c | 51 if (fstat(fd, &st) < 0) in get_file_size()
|
/kernel/linux/linux-5.10/arch/mips/tools/ |
D | loongson3-llsc-check.c | 257 err = fstat(vmlinux_fd, &st); in main()
|
/kernel/linux/linux-5.10/arch/alpha/boot/tools/ |
D | objstrip.c | 118 if (fstat(fd, &st) == -1) { in main()
|
/kernel/linux/linux-5.10/scripts/basic/ |
D | fixdep.c | 273 if (fstat(fd, &st) < 0) { in read_file()
|