File tree Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -3766,3 +3766,5 @@ dirname
37663766basename
37673767eventfd_read
37683768eventfd_write
3769+ HUGETLB_FLAG_ENCODE_SHIFT
3770+ MAP_HUGE_SHIFT
Original file line number Diff line number Diff line change @@ -1472,3 +1472,5 @@ utimensat
14721472vhangup
14731473vmsplice
14741474waitid
1475+ HUGETLB_FLAG_ENCODE_SHIFT
1476+ MAP_HUGE_SHIFT
Original file line number Diff line number Diff line change @@ -3233,6 +3233,9 @@ pub const O_DIRECT: ::c_int = 0x00000800;
32333233pub const O_LARGEFILE : :: c_int = 0x00001000 ;
32343234pub const O_NOFOLLOW : :: c_int = 0x00000080 ;
32353235
3236+ pub const HUGETLB_FLAG_ENCODE_SHIFT : u32 = 26 ;
3237+ pub const MAP_HUGE_SHIFT : u32 = 26 ;
3238+
32363239// intentionally not public, only used for fd_set
32373240cfg_if ! {
32383241 if #[ cfg( target_pointer_width = "32" ) ] {
Original file line number Diff line number Diff line change @@ -3320,6 +3320,8 @@ pub const NET_SCTP: ::c_int = 17;
33203320pub const NET_LLC : :: c_int = 18 ;
33213321pub const NET_NETFILTER : :: c_int = 19 ;
33223322pub const NET_DCCP : :: c_int = 20 ;
3323+ pub const HUGETLB_FLAG_ENCODE_SHIFT : :: c_int = 26 ;
3324+ pub const MAP_HUGE_SHIFT : :: c_int = HUGETLB_FLAG_ENCODE_SHIFT ;
33233325
33243326// Most `*_SUPER_MAGIC` constants are defined at the `linux_like` level; the
33253327// following are only available on newer Linux versions than the versions
You can’t perform that action at this time.
0 commit comments