Searched refs:statfs (Results 1 - 6 of 6) sorted by relevance

/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A D32bit_inode_tests.c12 * versions of statfs functions and getdirentries doesn't support 64-bit inodes.
52 struct statfs my_statfs_buf;
56 my_err = statfs( &g_target_path[0], &my_statfs_buf );
58 printf( "statfs call failed. got errno %d - %s. \n", errno, strerror( errno ) );
150 * Test 32-bit inode versions of statfs, fstatfs, and getfsstat system calls.
170 struct statfs * my_statfsp;
177 my_buffer_size = (sizeof(struct statfs) * 10);
184 my_statfsp = (struct statfs *) my_bufferp;
185 my_err = statfs( "/", my_statfsp );
187 printf( "statfs cal
[all...]
H A Dcontent_protection_test.c145 struct statfs statfs_results;
167 local_result = statfs(g_target_path, &statfs_results);
171 printf("FAILURE: failed to statfs the test directory, errno = %s.\n",
H A Dtests.c1303 * Test fstatfs, getattrlist, getfsstat, statfs, getfsstat64, statfs64, fstatfs64 system calls.
1329 struct statfs * my_statfsp;
1343 my_buffer_size = (sizeof(struct statfs) * 10);
1351 my_statfsp = (struct statfs *) my_bufferp;
1352 my_err = statfs( STATFS_TEST_PATH, my_statfsp );
1354 printf( "statfs call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1361 my_count = getfsstat( (struct statfs *)my_bufferp, my_buffer_size, MNT_NOWAIT );
1368 my_statfsp = (struct statfs *) my_bufferp;
1419 * related attributes to verify against results from fstatfs and statfs - but only if
1456 my_statfsp = (struct statfs *) my_buffer
[all...]
/xnu-2782.1.97/bsd/sys/
H A Dmount.h130 struct statfs __DARWIN_STRUCT_STATFS64;
137 struct statfs { struct
438 #define VFS_CTL_STATFS 0x00010001 /* statfs */
1144 @discussion Filesystem IDs are returned as part of "struct statfs." This function is typically
1173 @param fsid ID of filesystem to unmount, as found through (for example) statfs.
1300 int fstatfs(int, struct statfs *) __DARWIN_INODE64(fstatfs);
1305 int getfsstat(struct statfs *, int, int) __DARWIN_INODE64(getfsstat);
1309 int getmntinfo(struct statfs **, int) __DARWIN_INODE64(getmntinfo);
1314 int statfs(const char *, struct statfs *) __DARWIN_INODE6 variable
[all...]
/xnu-2782.1.97/bsd/man/man2/
H A DMakefile211 statfs.2 \
/xnu-2782.1.97/bsd/vfs/
H A Dvfs_syscalls.c2389 statfs(__unused proc_t p, struct statfs_args *uap, __unused int32_t *retval) function
2610 * Need to handle LP64 version of struct statfs
10224 * Common routine to handle various flavors of statfs data heading out

Completed in 109 milliseconds