| ... | @@ -629,6 +629,20 @@ pub const MAP = struct { | ... | @@ -629,6 +629,20 @@ pub const MAP = struct { |
| 629 | pub const ALIGNED_SUPER = ALIGNED(1); | 629 | pub const ALIGNED_SUPER = ALIGNED(1); |
| 630 | }; | 630 | }; |
| 631 | | 631 | |
| | 632 | pub const MADV = struct { |
| | 633 | pub const NORMAL = 0; |
| | 634 | pub const RANDOM = 1; |
| | 635 | pub const SEQUENTIAL = 2; |
| | 636 | pub const WILLNEED = 3; |
| | 637 | pub const DONTNEED = 4; |
| | 638 | pub const FREE = 5; |
| | 639 | pub const NOSYNC = 6; |
| | 640 | pub const AUTOSYNC = 7; |
| | 641 | pub const NOCORE = 8; |
| | 642 | pub const CORE = 9; |
| | 643 | pub const PROTECT = 10; |
| | 644 | }; |
| | 645 | |
| 632 | pub const MSF = struct { | 646 | pub const MSF = struct { |
| 633 | pub const ASYNC = 1; | 647 | pub const ASYNC = 1; |
| 634 | pub const INVALIDATE = 2; | 648 | pub const INVALIDATE = 2; |