Home
last modified time | relevance | path

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

1234

/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/
Dd_path.c84 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()
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/tools/testing/selftests/splice/
Dsplice_read.c34 if (fstat(fd, &statbuf) < 0) { in main()
/linux-5.19.10/tools/perf/util/
Ddata.c157 if (fstat(file->fd, &st)) in perf_data__update_dir()
174 if (!fstat(fd, &st) && S_ISFIFO(st.st_mode)) in check_pipe()
263 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-5.19.10/tools/testing/selftests/nsfs/
Dpidns.c67 if (fstat(pns, &st1)) in main()
Downer.c64 if (fstat(uns, &st1)) in main()
/linux-5.19.10/tools/build/
Dfixdep.c133 if (fstat(fd, &st) < 0) { in print_deps()
/linux-5.19.10/scripts/
Dinsert-sys-cert.c212 if (fstat(fd, &st)) { in map_file()
239 if (fstat(fd, &st)) { in read_file()
/linux-5.19.10/tools/perf/pmu-events/
Djson.c59 err = fstat(fd, &st); in mapfile()
/linux-5.19.10/drivers/spi/
Dspi-lantiq-ssc.c212 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()
/linux-5.19.10/arch/arm/vdso/
Dvdsomunge.c142 if (fstat(infd, &stat) != 0) in main()
/linux-5.19.10/samples/landlock/
Dsandboxer.c120 if (fstat(path_beneath.parent_fd, &statbuf)) { in populate_ruleset()
/linux-5.19.10/scripts/basic/
Dfixdep.c223 if (fstat(fd, &st) < 0) { in read_file()
/linux-5.19.10/tools/testing/selftests/kvm/x86_64/
Dkvm_clock_test.c158 if (fstat(fileno(fp), &st)) { in check_clocksource()
/linux-5.19.10/arch/mips/tools/
Dloongson3-llsc-check.c257 err = fstat(vmlinux_fd, &st); in main()
/linux-5.19.10/tools/io_uring/
Dio_uring-cp.c51 if (fstat(fd, &st) < 0) in get_file_size()
/linux-5.19.10/arch/alpha/boot/tools/
Dobjstrip.c118 if (fstat(fd, &st) == -1) { in main()
/linux-5.19.10/tools/testing/selftests/pidfd/
Dpidfd_setns_test.c320 ret = fstat(ns_fd1, &ns_st1); in in_same_namespace()
328 ret = fstat(ns_fd2, &ns_st2); in in_same_namespace()
/linux-5.19.10/arch/mips/vdso/
Dgenvdso.c122 if (fstat(fd, &stat) != 0) { in map_vdso()
/linux-5.19.10/tools/firmware/
Dihex2fw.c107 if (fstat(infd, &st)) { in main()

1234