Home
last modified time | relevance | path

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

1234

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
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-6.12.1/tools/testing/selftests/proc/
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-6.12.1/tools/testing/selftests/kvm/
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-6.12.1/tools/testing/selftests/timens/
Dprocfs.c46 if (fstat(parent_ns, &st1)) in init_namespaces()
56 if (fstat(child_ns, &st2)) in init_namespaces()
Dtimens.c69 if (fstat(parent_ns, &st1)) in init_namespaces()
79 if (fstat(child_ns, &st2)) in init_namespaces()
/linux-6.12.1/tools/bootconfig/
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-6.12.1/tools/testing/selftests/splice/
Dsplice_read.c34 if (fstat(fd, &statbuf) < 0) { in main()
/linux-6.12.1/scripts/
Dchecksyscalls.sh258 /* Newer ports are not required to provide fstat in favor of statx */
Dinsert-sys-cert.c212 if (fstat(fd, &st)) { in map_file()
239 if (fstat(fd, &st)) { in read_file()
/linux-6.12.1/tools/testing/selftests/nsfs/
Dpidns.c67 if (fstat(pns, &st1)) in main()
Downer.c64 if (fstat(uns, &st1)) in main()
/linux-6.12.1/tools/perf/util/
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()
Dzlib.c36 if (fstat(input_fd, &stbuf) < 0) in gzip_decompress_to_file()
Dsrccode.c114 if (fd < 0 || fstat(fd, &st) < 0) { in find_srcfile()
/linux-6.12.1/tools/build/
Dfixdep.c133 if (fstat(fd, &st) < 0) { in print_deps()
/linux-6.12.1/arch/arm64/kernel/pi/
Drelacheck.c60 ret = fstat(fd, &stat); in main()
/linux-6.12.1/drivers/spi/
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-6.12.1/arch/x86/boot/tools/
Dbuild.c215 if (fstat(fd, &sb)) in main()
/linux-6.12.1/arch/arm/vdso/
Dvdsomunge.c142 if (fstat(infd, &stat) != 0) in main()
/linux-6.12.1/tools/testing/selftests/net/af_unix/
Ddiag_uid.c60 ret = fstat(self->unix_fd, &file_stat); in FIXTURE_SETUP()
/linux-6.12.1/arch/mips/tools/
Dloongson3-llsc-check.c257 err = fstat(vmlinux_fd, &st); in main()
/linux-6.12.1/arch/alpha/boot/tools/
Dobjstrip.c118 if (fstat(fd, &st) == -1) { in main()
/linux-6.12.1/scripts/basic/
Dfixdep.c225 if (fstat(fd, &st) < 0) { in read_file()
/linux-6.12.1/arch/mips/vdso/
Dgenvdso.c122 if (fstat(fd, &stat) != 0) { in map_vdso()
/linux-6.12.1/tools/firmware/
Dihex2fw.c107 if (fstat(infd, &st)) { in main()

1234