| ... | ... | @@ -82,6 +82,27 @@ pub const AT_STATX_DONT_SYNC = 0x4000; |
| 82 | 82 | /// Apply to the entire subtree |
| 83 | 83 | pub const AT_RECURSIVE = 0x8000; |
| 84 | 84 | |
| 85 | /// Default is extend size |
| 86 | pub const FALLOC_FL_KEEP_SIZE = 0x01; |
| 87 | |
| 88 | /// De-allocates range |
| 89 | pub const FALLOC_FL_PUNCH_HOLE = 0x02; |
| 90 | |
| 91 | /// Reserved codepoint |
| 92 | pub const FALLOC_FL_NO_HIDE_STALE = 0x04; |
| 93 | |
| 94 | /// Removes a range of a file without leaving a hole in the file |
| 95 | pub const FALLOC_FL_COLLAPSE_RANGE = 0x08; |
| 96 | |
| 97 | /// Converts a range of file to zeros preferably without issuing data IO |
| 98 | pub const FALLOC_FL_ZERO_RANGE = 0x10; |
| 99 | |
| 100 | /// Inserts space within the file size without overwriting any existing data |
| 101 | pub const FALLOC_FL_INSERT_RANGE = 0x20; |
| 102 | |
| 103 | /// Unshares shared blocks within the file size without overwriting any existing data |
| 104 | pub const FALLOC_FL_UNSHARE_RANGE = 0x40; |
| 105 | |
| 85 | 106 | pub const FUTEX_WAIT = 0; |
| 86 | 107 | pub const FUTEX_WAKE = 1; |
| 87 | 108 | pub const FUTEX_FD = 2; |