Home
last modified time | relevance | path

Searched refs:fsctl (Results 1 – 6 of 6) sorted by relevance

/xnu-12377.1.9/tests/
H A Ddisk_mount_conditioner.m10 #include <System/sys/fsctl.h>
36 "Initial fsctl.get should return zeros",
50 err = fsctl(mount_path, DISK_CONDITIONER_IOC_GET, &info, 0);
52 T_ASSERT_EQ_INT(0, err, "fsctl(DISK_CONDITIONER_IOC_GET)");
59 "fsctl.set should succeed and fsctl.get should verify", T_META_TAG_VM_PREFERRED)
82 err = fsctl(mount_path, DISK_CONDITIONER_IOC_SET, &info, 0);
84 T_ASSERT_EQ_INT(0, err, "fsctl(DISK_CONDITIONER_IOC_SET)");
86 err = fsctl(mount_path, DISK_CONDITIONER_IOC_GET, &info, 0);
88 T_ASSERT_EQ_INT(0, err, "fsctl(DISK_CONDITIONER_IOC_GET) after SET");
91 T_ASSERT_EQ_INT(0, err, "fsctl.get is the info configured by fsctl.set");
[all …]
/xnu-12377.1.9/tests/vm/
H A Dtest_vm_no_pager_helper.c245 retval = fsctl(GRAFT_MOUNT_POINT, APFSIOC_UNGRAFT_AN_FS, &graft_params, 0); in read_and_cause_ungraft_crash()
440 int retval = fsctl(GRAFT_DMG, APFSIOC_GRAFT_AN_FS, &graft_params, 0); in setup_graft_image()
H A Dtest_vm_no_pager.m14 #include <sys/fsctl.h>
/xnu-12377.1.9/bsd/sys/
H A DMakefile86 fsctl.h \
198 fsctl.h \
H A Dfsctl.h500 int fsctl(const char *, unsigned long, void*, unsigned int);
/xnu-12377.1.9/bsd/vfs/
H A Dvfs_syscalls.c13506 fsctl(proc_t p, struct fsctl_args *uap, __unused int32_t *retval) in fsctl() function