Home
last modified time | relevance | path

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

12

/f-stack/tools/libutil/
H A Dkld.c43 struct kld_file_stat fstat; in kld_isloaded() local
49 fstat.version = sizeof(fstat); in kld_isloaded()
50 if (kldstat(fid, &fstat) != 0) in kld_isloaded()
53 if (strcmp(fstat.name, name) == 0) in kld_isloaded()
56 if ((ko = strstr(fstat.name, ".ko")) != NULL && in kld_isloaded()
57 strlen(name) == (size_t)(ko - fstat.name) && in kld_isloaded()
58 strncmp(fstat.name, name, ko - fstat.name) == 0) in kld_isloaded()
H A Dpidfile.c69 if (fstat(pfh->pf_fd, &sb) == -1) in pidfile_verify()
189 if (fstat(fd, &sb) == -1) { in pidfile_open()
H A Dflopen.c89 if (fstat(fd, &fsb) == -1) { in vflopenat()
H A Dpw_util.c193 if (fstat(lockfd, &st) == -1) in pw_lock()
H A Dgr_util.c114 if (fstat(lockfd, &st) == -1) in gr_lock()
/f-stack/freebsd/contrib/openzfs/cmd/zgenhostid/
H A Dzgenhostid.c117 struct stat fstat; in main() local
118 if (force_fwrite == 0 && stat(path, &fstat) == 0 && in main()
119 S_ISREG(fstat.st_mode)) { in main()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dvdev_raidz_math.c309 raidz_impl_kstat_t *fstat = &raidz_impl_kstats[raidz_supp_impl_cnt]; in raidz_math_kstat_data() local
316 if (cstat == fstat) { in raidz_math_kstat_data()
320 int id = fstat->gen[i]; in raidz_math_kstat_data()
325 int id = fstat->rec[i]; in raidz_math_kstat_data()
401 raidz_impl_kstat_t *fstat = &raidz_impl_kstats[raidz_supp_impl_cnt]; in benchmark_raidz_impl() local
432 fstat->gen[fn] = impl; in benchmark_raidz_impl()
436 fstat->rec[fn] = impl; in benchmark_raidz_impl()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/mmap_exec/
H A Dmmap_exec.c58 if (fstat(fd, &statbuf) < 0) { in main()
/f-stack/freebsd/contrib/openzfs/lib/libspl/include/os/freebsd/sys/
H A Dstat.h47 ret = fstat(fd, sb); in fstat64()
/f-stack/app/redis-5.0.5/utils/
H A Dcorrupt_rdb.c31 fstat(fd,&stat); in main()
/f-stack/freebsd/i386/linux/
H A Dlinux_dummy_machdep.c63 DUMMY(fstat);
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/
H A Dtmpfile_stat_mode.c74 if (fstat(fd, &fst) == -1) { in test_stat_mode()
/f-stack/app/redis-5.0.5/src/
H A Dconfig.h47 #define redis_fstat fstat
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/randwritecomp/
H A Drandwritecomp.c162 err = fstat(fd, &ss); in main()
/f-stack/freebsd/kern/
H A Dcapabilities.conf235 fstat
/f-stack/freebsd/contrib/libsodium/src/libsodium/randombytes/sysrandom/
H A Drandombytes_sysrandom.c181 if (fstat(fd, &st) == 0 && in randombytes_sysrandom_random_dev_open()
/f-stack/freebsd/sys/
H A Dstat.h381 int fstat(int, struct stat *);
H A Dsyscall.mk395 fstat.o \
/f-stack/dpdk/drivers/common/dpaax/
H A Ddpaax_iova_table.c96 ret = fstat(fd, &statbuf); in read_memory_node()
/f-stack/freebsd/contrib/libsodium/src/libsodium/randombytes/salsa20/
H A Drandombytes_salsa20_random.c230 if (fstat(fd, &st) == 0 && (S_ISNAM(st.st_mode) || S_ISCHR(st.st_mode))) { in randombytes_salsa20_random_random_dev_open()
/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_files.h176 #define ngx_fd_info(fd, sb) fstat(fd, sb)
/f-stack/dpdk/drivers/bus/vmbus/linux/
H A Dvmbus_uio.c219 if (fstat(fd, &sb) < 0) { in vmbus_uio_map_subchan()
/f-stack/dpdk/buildtools/pmdinfogen/
H A Dpmdinfogen.c69 if (fstat(fd, &st)) in grab_file()
/f-stack/freebsd/contrib/zlib/test/
H A Dminigzip.c407 if (fstat(ifd, &sb) < 0) return Z_ERRNO;
/f-stack/freebsd/contrib/zstd/zlibWrapper/examples/
H A Dminigzip.c412 if (fstat(ifd, &sb) < 0) return Z_ERRNO;

12