Home
last modified time | relevance | path

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

1234

/Linux-v6.1/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-v6.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-v6.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-v6.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-v6.1/tools/testing/selftests/splice/
Dsplice_read.c34 if (fstat(fd, &statbuf) < 0) { in main()
/Linux-v6.1/tools/testing/selftests/nsfs/
Dpidns.c67 if (fstat(pns, &st1)) in main()
Downer.c64 if (fstat(uns, &st1)) in main()
/Linux-v6.1/tools/perf/util/
Ddata.c158 if (fstat(file->fd, &st)) in perf_data__update_dir()
175 if (!fstat(fd, &st) && S_ISFIFO(st.st_mode)) in check_pipe()
264 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-v6.1/tools/build/
Dfixdep.c133 if (fstat(fd, &st) < 0) { in print_deps()
/Linux-v6.1/scripts/
Dinsert-sys-cert.c212 if (fstat(fd, &st)) { in map_file()
239 if (fstat(fd, &st)) { in read_file()
/Linux-v6.1/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-v6.1/arch/arm/vdso/
Dvdsomunge.c142 if (fstat(infd, &stat) != 0) in main()
/Linux-v6.1/tools/testing/selftests/net/af_unix/
Ddiag_uid.c60 ret = fstat(self->unix_fd, &file_stat); in FIXTURE_SETUP()
/Linux-v6.1/samples/landlock/
Dsandboxer.c120 if (fstat(path_beneath.parent_fd, &statbuf)) { in populate_ruleset()
/Linux-v6.1/scripts/basic/
Dfixdep.c223 if (fstat(fd, &st) < 0) { in read_file()
/Linux-v6.1/tools/testing/selftests/kvm/x86_64/
Dkvm_clock_test.c153 if (fstat(fileno(fp), &st)) { in check_clocksource()
/Linux-v6.1/arch/mips/tools/
Dloongson3-llsc-check.c257 err = fstat(vmlinux_fd, &st); in main()
/Linux-v6.1/arch/alpha/boot/tools/
Dobjstrip.c118 if (fstat(fd, &st) == -1) { in main()
/Linux-v6.1/tools/io_uring/
Dio_uring-cp.c51 if (fstat(fd, &st) < 0) in get_file_size()
/Linux-v6.1/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-v6.1/arch/mips/vdso/
Dgenvdso.c122 if (fstat(fd, &stat) != 0) { in map_vdso()
/Linux-v6.1/tools/firmware/
Dihex2fw.c107 if (fstat(infd, &st)) { in main()

1234