File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
src/unix/linux_like/linux/gnu Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -3596,6 +3596,9 @@ fn test_linux(target: &str) {
35963596 // Added in Linux 5.14
35973597 "FUTEX_LOCK_PI2" => true ,
35983598
3599+ // Added in linux 6.1
3600+ "STATX_DIOALIGN" => true ,
3601+
35993602 // FIXME: Parts of netfilter/nfnetlink*.h require more recent kernel headers:
36003603 | "RTNLGRP_MCTP_IFADDR" // linux v5.17+
36013604 | "RTNLGRP_TUNNEL" // linux v5.18+
Original file line number Diff line number Diff line change @@ -435,6 +435,7 @@ STATX_BASIC_STATS
435435STATX_BLOCKS
436436STATX_BTIME
437437STATX_CTIME
438+ STATX_DIOALIGN
438439STATX_GID
439440STATX_INO
440441STATX_MNT_ID
Original file line number Diff line number Diff line change 3737 pub stx_dev_major: u32 ,
3838 pub stx_dev_minor: u32 ,
3939 pub stx_mnt_id: u64 ,
40- __statx_pad2: u64 ,
40+ pub stx_dio_mem_align: u32 ,
41+ pub stx_dio_offset_align: u32 ,
4142 __statx_pad3: [ u64 ; 12 ] ,
4243 }
4344
@@ -1022,6 +1023,7 @@ pub const STATX_BLOCKS: ::c_uint = 0x0400;
10221023pub const STATX_BASIC_STATS : :: c_uint = 0x07ff ;
10231024pub const STATX_BTIME : :: c_uint = 0x0800 ;
10241025pub const STATX_MNT_ID : :: c_uint = 0x1000 ;
1026+ pub const STATX_DIOALIGN : :: c_uint = 0x2000 ;
10251027pub const STATX_ALL : :: c_uint = 0x0fff ;
10261028pub const STATX__RESERVED : :: c_int = 0x80000000 ;
10271029pub const STATX_ATTR_COMPRESSED : :: c_int = 0x0004 ;
You can’t perform that action at this time.
0 commit comments