23
23
pub stx_mnt_id: :: __u64,
24
24
pub stx_dio_mem_align: :: __u32,
25
25
pub stx_dio_offset_align: :: __u32,
26
- __statx_pad3: [ :: __u64; 12 ] ,
26
+ pub stx_subvol: :: __u64,
27
+ pub stx_atomic_write_unit_min: :: __u32,
28
+ pub stx_atomic_write_unit_max: :: __u32,
29
+ pub stx_atomic_write_segments_max: :: __u32,
30
+ __statx_pad2: [ :: __u32; 1 ] ,
31
+ __statx_pad3: [ :: __u64; 9 ] ,
27
32
}
28
33
29
34
pub struct statx_timestamp {
@@ -53,6 +58,9 @@ pub const STATX_BTIME: ::c_uint = 0x0800;
53
58
pub const STATX_ALL : :: c_uint = 0x0fff ;
54
59
pub const STATX_MNT_ID : :: c_uint = 0x1000 ;
55
60
pub const STATX_DIOALIGN : :: c_uint = 0x2000 ;
61
+ pub const STATX_MNT_ID_UNIQUE : :: c_uint = 0x4000 ;
62
+ pub const STATX_SUBVOL : :: c_uint = 0x8000 ;
63
+ pub const STATX_WRITE_ATOMIC : :: c_uint = 0x10000 ;
56
64
pub const STATX__RESERVED : :: c_int = 0x80000000 ;
57
65
pub const STATX_ATTR_COMPRESSED : :: c_int = 0x0004 ;
58
66
pub const STATX_ATTR_IMMUTABLE : :: c_int = 0x0010 ;
@@ -63,6 +71,7 @@ pub const STATX_ATTR_AUTOMOUNT: ::c_int = 0x1000;
63
71
pub const STATX_ATTR_MOUNT_ROOT : :: c_int = 0x2000 ;
64
72
pub const STATX_ATTR_VERITY : :: c_int = 0x100000 ;
65
73
pub const STATX_ATTR_DAX : :: c_int = 0x200000 ;
74
+ pub const STATX_ATTR_WRITE_ATOMIC : :: c_int = 0x400000 ;
66
75
67
76
extern "C" {
68
77
pub fn statx (
0 commit comments