Home
last modified time | relevance | path

Searched refs:fstat (Results 1 – 25 of 86) sorted by relevance

1234

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dd_path.c95 fstat(pipefd[0], &fileStat); in trigger_fstat_events()
96 fstat(pipefd[1], &fileStat); in trigger_fstat_events()
97 fstat(sockfd, &fileStat); in trigger_fstat_events()
98 fstat(procfd, &fileStat); in trigger_fstat_events()
99 fstat(devfd, &fileStat); in trigger_fstat_events()
100 fstat(localfd, &fileStat); in trigger_fstat_events()
101 fstat(indicatorfd, &fileStat); in trigger_fstat_events()
/linux/tools/testing/selftests/proc/
H A Dfd-002-posix-eq.c43 rv = fstat(fd0, &st0); in main()
45 rv = fstat(fd1, &st1); in main()
47 rv = fstat(fd2, &st2); in main()
/linux/tools/testing/selftests/kvm/
H A Dguest_memfd_test.c50 ret = fstat(fd, &sb); in test_file_size()
153 ret = fstat(fd1, &st1); in test_create_guest_memfd_multiple()
160 ret = fstat(fd2, &st2); in test_create_guest_memfd_multiple()
164 ret = fstat(fd1, &st1); in test_create_guest_memfd_multiple()
/linux/tools/testing/selftests/timens/
H A Dprocfs.c46 if (fstat(parent_ns, &st1)) in init_namespaces()
56 if (fstat(child_ns, &st2)) in init_namespaces()
H A Dtimens.c69 if (fstat(parent_ns, &st1)) in init_namespaces()
79 if (fstat(child_ns, &st2)) in init_namespaces()
/linux/tools/bootconfig/
H A Dmain.c159 ret = fstat(fd, &stat); in load_xbc_file()
184 ret = fstat(fd, &stat); in load_xbc_from_initrd()
346 ret = fstat(fd, &stat); in delete_xbc()
421 if (fstat(fd, &stat) < 0) { in apply_xbc()
/linux/tools/testing/selftests/splice/
H A Dsplice_read.c34 if (fstat(fd, &statbuf) < 0) { in main()
/linux/scripts/
H A Dchecksyscalls.sh258 /* Newer ports are not required to provide fstat in favor of statx */
H A Dinsert-sys-cert.c212 if (fstat(fd, &st)) { in map_file()
239 if (fstat(fd, &st)) { in read_file()
/linux/tools/testing/selftests/nsfs/
H A Dpidns.c67 if (fstat(pns, &st1)) in main()
H A Downer.c64 if (fstat(uns, &st1)) in main()
/linux/tools/perf/util/
H A Ddata.c172 if (fstat(file->fd, &st)) in perf_data__update_dir()
189 if (!fstat(fd, &st) && S_ISFIFO(st.st_mode)) in check_pipe()
283 if (fstat(fd, &st) < 0) in open_file_read()
H A Dzlib.c36 if (fstat(input_fd, &stbuf) < 0) in gzip_decompress_to_file()
H A Dsrccode.c114 if (fd < 0 || fstat(fd, &st) < 0) { in find_srcfile()
/linux/tools/build/
H A Dfixdep.c133 if (fstat(fd, &st) < 0) { in print_deps()
/linux/arch/arm64/kernel/pi/
H A Drelacheck.c60 ret = fstat(fd, &stat); in main()
/linux/drivers/spi/
H A Dspi-lantiq-ssc.c213 u32 fstat = lantiq_ssc_readl(spi, LTQ_SPI_FSTAT); in tx_fifo_level() local
215 return (fstat >> LTQ_SPI_FSTAT_TXFFL_S) & hwcfg->fifo_size_mask; in tx_fifo_level()
221 u32 fstat = lantiq_ssc_readl(spi, LTQ_SPI_FSTAT); in rx_fifo_level() local
223 return (fstat >> LTQ_SPI_FSTAT_RXFFL_S) & hwcfg->fifo_size_mask; in rx_fifo_level()
/linux/arch/x86/boot/tools/
H A Dbuild.c215 if (fstat(fd, &sb)) in main()
/linux/arch/arm/vdso/
H A Dvdsomunge.c142 if (fstat(infd, &stat) != 0) in main()
/linux/tools/testing/selftests/net/af_unix/
H A Ddiag_uid.c60 ret = fstat(self->unix_fd, &file_stat); in FIXTURE_SETUP()
/linux/arch/mips/tools/
H A Dloongson3-llsc-check.c257 err = fstat(vmlinux_fd, &st); in main()
/linux/arch/alpha/boot/tools/
H A Dobjstrip.c118 if (fstat(fd, &st) == -1) { in main()
/linux/scripts/basic/
H A Dfixdep.c225 if (fstat(fd, &st) < 0) { in read_file()
/linux/arch/mips/vdso/
H A Dgenvdso.c122 if (fstat(fd, &stat) != 0) { in map_vdso()
/linux/tools/firmware/
H A Dihex2fw.c107 if (fstat(infd, &st)) { in main()

1234