]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/resource.h
xnu-6153.11.26.tar.gz
[apple/xnu.git] / bsd / sys / resource.h
index 357768313cbb0bba7aa4ac9f21d2f9cbfb0c6ef2..0cc5a39837408923fcf2a10e3a4362981fd61d6f 100644 (file)
@@ -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