Home
last modified time | relevance | path

Searched refs:statfs (Results 1 – 13 of 13) sorted by relevance

/xnu-12377.1.9/libsyscall/wrappers/
H A Dstatfs_ext.c33 __statfs_ext_default(const char *path, int fd, struct statfs *buf) in __statfs_ext_default()
38 ret = statfs(path, buf); in __statfs_ext_default()
47 __statfs_ext_noblock(const char *path, int fd, struct statfs *buf) in __statfs_ext_noblock()
132 __statfs_ext_impl(const char *path, int fd, struct statfs *buf, int flags) in __statfs_ext_impl()
136 bzero(buf, sizeof(struct statfs)); in __statfs_ext_impl()
162 fstatfs_ext(int fd, struct statfs *buf, int flags) in fstatfs_ext()
178 statfs_ext(const char *path, struct statfs *buf, int flags) in statfs_ext()
/xnu-12377.1.9/tests/vfs/
H A Dstatfs_ext.c72 statfs_compare(const char *path, struct statfs *sfs_ext, int mode, int flag, int expected_err) in statfs_compare()
75 struct statfs sfs; in statfs_compare()
80 bzero(sfs_ext, sizeof(struct statfs)); in statfs_compare()
88 T_ASSERT_POSIX_SUCCESS(statfs(path, &sfs), "Calling stafs()"); in statfs_compare()
112 T_ASSERT_EQ(memcmp(&sfs, sfs_ext, sizeof(struct statfs)), 0, "Validating statfs structure"); in statfs_compare()
138 struct statfs sfs_ext;
H A Dopenbyid_stress.c85 struct statfs buf_statfs;
127 T_ASSERT_POSIX_SUCCESS(statfs(file1, &buf_statfs), "Calling statfs() on %s", file1);
147 struct statfs buf_statfs2;
H A Dfmount_funmount.c63 struct statfs statfs_buf;; in verify_fstypename()
65 error = statfs(testdir, &statfs_buf); in verify_fstypename()
H A Dgetattrlist_fstype.c56 struct statfs sfs;
61 T_ASSERT_POSIX_ZERO(statfs(tmpdir, &sfs),
H A Dgetattrlist_mountextflags.c73 struct statfs *mntbuf; in get_mount_path()
/xnu-12377.1.9/bsd/sys/
H A Dmount.h138 struct statfs __DARWIN_STRUCT_STATFS64;
145 struct statfs { struct
1531 int fstatfs(int, struct statfs *) __DARWIN_INODE64(fstatfs);
1536 int getfsstat(struct statfs *, int, int) __DARWIN_INODE64(getfsstat);
1540 int getmntinfo(struct statfs **, int) __DARWIN_INODE64(getmntinfo);
1541 int getmntinfo_r_np(struct statfs **, int) __DARWIN_INODE64(getmntinfo_r_np)
1549 int statfs(const char *, struct statfs *) __DARWIN_INODE64(statfs);
1584 int statfs_ext(const char *path, struct statfs *buf, int flags);
1600 int fstatfs_ext(int fd, struct statfs *buf, int flags);
/xnu-12377.1.9/tests/
H A Dutimensat.c40 struct statfs sfs = { 0 };
41 T_QUIET; T_ASSERT_POSIX_SUCCESS(statfs(".", &sfs), NULL);
H A Dnetbsd_utimensat.c72 struct statfs sfs = { 0 }; in chtmpdir()
73 T_QUIET; T_ASSERT_POSIX_SUCCESS(statfs(".", &sfs), NULL); in chtmpdir()
H A Dkqueue_file_tests.c814 struct statfs sfs = {}; in path_on_apfs()
815 T_QUIET; T_ASSERT_POSIX_SUCCESS(statfs(path, &sfs), NULL); in path_on_apfs()
/xnu-12377.1.9/bsd/man/man2/
H A DMakefile233 statfs.2 \
/xnu-12377.1.9/tests/sched/
H A Dsetitimer.c607 struct statfs sf; in statfs_thread()
626 rv = statfs("/", &sf); in statfs_thread()
/xnu-12377.1.9/bsd/vfs/
H A Dvfs_syscalls.c3704 statfs(proc_t p, struct statfs_args *uap, __unused int32_t *retval) in statfs() function