Home
last modified time | relevance | path

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

/xnu-12377.81.4/tests/vfs/
H A Dsandbox_fstat.c98 …T_EXPECT_POSIX_FAILURE(fstat(fd, &sb), expected_error, "Calling fstat() should FAIL with '%s'", st… in do_test()
100 T_EXPECT_POSIX_SUCCESS(fstat(fd, &sb), "Calling fstat() for the test file should PASS"); in do_test()
107 T_EXPECT_POSIX_SUCCESS(fstat(fd, &sb), "Calling fstat() for the rsrcfork should PASS"); in do_test()
H A Dvolfs_chroot.c83 T_ASSERT_POSIX_SUCCESS((fstat(fd, &fd_stat)), "Calling stat on the updated root path");
H A Dopenbyid_stress.c162 if ((error = fstat(fd2, &buf_stat2)) < 0) {
H A Dlongpaths.c142 T_QUIET; T_ASSERT_POSIX_SUCCESS(fstat(fd, st), in createpath()
685 T_QUIET; T_ASSERT_POSIX_SUCCESS(fstat(fd, &volst), CTXSTR); in test_open_volfs()
/xnu-12377.81.4/tests/
H A Dtime.c76 int ret = fstat(tmpfd, &stbuf);
88 ret = fstat(tmpfd, &stbuf);
H A Dpwrite_avoid_sigxfsz_28581610.c53 ret = fstat(fd, &f_stat);
H A Dposix_spawn_filtering.c106 T_ASSERT_POSIX_SUCCESS(fstat(env_output_fd, &s), "fstat should succeed");
H A Dkas_info.c159 err = fstat(fd, &sb); in disk_kernel_segments()
H A Dproc_core_name_mte.c183 err = fstat(fd, &filestat); in check_coredump_contains_vm_addr()
/xnu-12377.81.4/SETUP/installfile/
H A Dinstallfile.c92 ret = fstat(srcfd, &sb); in main()
/xnu-12377.81.4/SETUP/replacecontents/
H A Dreplacecontents.c85 ret = fstat(dstfd, &sb); in main()
/xnu-12377.81.4/tests/vm/
H A Dvm_tainted_executable.c68 T_QUIET; T_ASSERT_POSIX_SUCCESS(fstat(fd1, &fs), NULL);
/xnu-12377.81.4/bsd/sys/
H A Dstat.h563 int fstat(int, struct stat *) __DARWIN_INODE64(fstat);
/xnu-12377.81.4/bsd/man/man2/
H A DMakefile70 fstat.2 \
/xnu-12377.81.4/tests/vm_memory_tests_src/
H A Dcommon.c43 if (fstat(fd, &sb) < 0) { in mach_server_data_setup()
/xnu-12377.81.4/SETUP/setsegname/
H A Dsetsegname.c69 if (fstat(fd, &stat_buf) == -1) { in readFile()
/xnu-12377.81.4/bsd/kern/
H A Dkern_descrip.c5467 fstat(proc_t p, int fd, user_addr_t ub, user_addr_t xsecurity, in fstat() function
5630 return fstat(p, uap->fd, uap->ub, uap->xsecurity, uap->xsecurity_size, 0); in sys_fstat_extended()
5649 return fstat(p, uap->fd, uap->ub, 0, 0, 0); in sys_fstat()
5672 return fstat(p, uap->fd, uap->ub, uap->xsecurity, uap->xsecurity_size, 1); in sys_fstat64_extended()
5692 return fstat(p, uap->fd, uap->ub, 0, 0, 1); in sys_fstat64()
/xnu-12377.81.4/SETUP/kextsymboltool/
H A Dkextsymboltool.c130 if (fstat(fd, &stat_buf) == -1) { in readFile()