File tree Expand file tree Collapse file tree 6 files changed +31
-0
lines changed Expand file tree Collapse file tree 6 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -1577,6 +1577,7 @@ fn test_android(target: &str) {
1577
1577
"linux/if_tun.h" ,
1578
1578
"linux/magic.h" ,
1579
1579
"linux/memfd.h" ,
1580
+ "linux/mempolicy.h" ,
1580
1581
"linux/module.h" ,
1581
1582
"linux/net_tstamp.h" ,
1582
1583
"linux/netfilter/nfnetlink.h" ,
@@ -2857,6 +2858,7 @@ fn test_linux(target: &str) {
2857
2858
"linux/keyctl.h" ,
2858
2859
"linux/magic.h" ,
2859
2860
"linux/memfd.h" ,
2861
+ "linux/mempolicy.h" ,
2860
2862
"linux/mman.h" ,
2861
2863
"linux/module.h" ,
2862
2864
"linux/net_tstamp.h" ,
Original file line number Diff line number Diff line change @@ -1078,6 +1078,11 @@ MNT_EXPIRE
1078
1078
MNT_FORCE
1079
1079
MODULE_INIT_IGNORE_MODVERSIONS
1080
1080
MODULE_INIT_IGNORE_VERMAGIC
1081
+ MPOL_BIND
1082
+ MPOL_DEFAULT
1083
+ MPOL_INTERLEAVE
1084
+ MPOL_LOCAL
1085
+ MPOL_PREFERRED
1081
1086
MSDOS_SUPER_MAGIC
1082
1087
MSG_CMSG_CLOEXEC
1083
1088
MSG_CONFIRM
Original file line number Diff line number Diff line change @@ -145,6 +145,11 @@ MOD_OFFSET
145
145
MOD_STATUS
146
146
MOD_TAI
147
147
MOD_TIMECONST
148
+ MPOL_BIND
149
+ MPOL_DEFAULT
150
+ MPOL_INTERLEAVE
151
+ MPOL_LOCAL
152
+ MPOL_PREFERRED
148
153
MSDOS_SUPER_MAGIC
149
154
MSG_TRYHARD
150
155
MS_RELATIME
Original file line number Diff line number Diff line change 5
5
AIO_ALLDONE
6
6
AIO_CANCELED
7
7
AIO_NOTCANCELED
8
+ MPOL_BIND
9
+ MPOL_DEFAULT
10
+ MPOL_INTERLEAVE
11
+ MPOL_LOCAL
12
+ MPOL_PREFERRED
8
13
Elf32_Chdr
9
14
Elf64_Chdr
10
15
LIO_NOP
Original file line number Diff line number Diff line change @@ -2462,6 +2462,13 @@ pub const SCHED_RESET_ON_FORK: ::c_int = 0x40000000;
2462
2462
2463
2463
pub const CLONE_PIDFD : :: c_int = 0x1000 ;
2464
2464
2465
+ // linux/mempolicy.h
2466
+ pub const MPOL_DEFAULT : :: c_int = 0 ;
2467
+ pub const MPOL_PREFERRED : :: c_int = 1 ;
2468
+ pub const MPOL_BIND : :: c_int = 2 ;
2469
+ pub const MPOL_INTERLEAVE : :: c_int = 3 ;
2470
+ pub const MPOL_LOCAL : :: c_int = 4 ;
2471
+
2465
2472
// bits/seek_constants.h
2466
2473
pub const SEEK_DATA : :: c_int = 3 ;
2467
2474
pub const SEEK_HOLE : :: c_int = 4 ;
Original file line number Diff line number Diff line change @@ -1477,6 +1477,13 @@ pub const RTLD_NOW: ::c_int = 0x2;
1477
1477
1478
1478
pub const AT_EACCESS : :: c_int = 0x200 ;
1479
1479
1480
+ // linux/mempolicy.h
1481
+ pub const MPOL_DEFAULT : :: c_int = 0 ;
1482
+ pub const MPOL_PREFERRED : :: c_int = 1 ;
1483
+ pub const MPOL_BIND : :: c_int = 2 ;
1484
+ pub const MPOL_INTERLEAVE : :: c_int = 3 ;
1485
+ pub const MPOL_LOCAL : :: c_int = 4 ;
1486
+
1480
1487
align_const ! {
1481
1488
pub const PTHREAD_MUTEX_INITIALIZER : pthread_mutex_t = pthread_mutex_t {
1482
1489
size: [ 0 ; __SIZEOF_PTHREAD_MUTEX_T] ,
You can’t perform that action at this time.
0 commit comments