X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/0a7de7458d150b5d4dffc935ba399be265ef0a1a..cb3231590a3c94ab4375e2228bd5e86b0cf1ad7e:/bsd/sys/resource.h?ds=sidebyside diff --git a/bsd/sys/resource.h b/bsd/sys/resource.h index 357768313..0cc5a3983 100644 --- a/bsd/sys/resource.h +++ b/bsd/sys/resource.h @@ -339,8 +339,7 @@ struct rusage_info_v4 { uint64_t ri_billed_energy; uint64_t ri_serviced_energy; uint64_t ri_interval_max_phys_footprint; - // 1 reserve counter(s) remaining for future extension - uint64_t ri_unused[1]; + uint64_t ri_runnable_time; }; typedef struct rusage_info_v4 rusage_info_current; @@ -498,6 +497,8 @@ struct proc_rlimit_control_wakeupmon { #define IOPOL_TYPE_VFS_HFS_CASE_SENSITIVITY 1 #endif #define IOPOL_TYPE_VFS_ATIME_UPDATES 2 +#define IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES 3 +#define IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME 4 /* scope */ #define IOPOL_SCOPE_PROCESS 0 @@ -524,6 +525,13 @@ struct proc_rlimit_control_wakeupmon { #define IOPOL_ATIME_UPDATES_DEFAULT 0 #define IOPOL_ATIME_UPDATES_OFF 1 +#define IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT 0 +#define IOPOL_MATERIALIZE_DATALESS_FILES_OFF 1 +#define IOPOL_MATERIALIZE_DATALESS_FILES_ON 2 + +#define IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT 0 +#define IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME 1 + #ifdef PRIVATE /* * Structures for use in communicating via iopolicysys() between Libc and the