File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -447,9 +447,11 @@ F_RDADVISE
447447F_RDAHEAD
448448F_RDLCK
449449F_SETOWN
450+ F_SPECULATIVE_READ
450451F_TEST
451452F_THAW_FS
452453F_TLOCK
454+ F_TRIM_ACTIVE_FILE
453455F_ULOCK
454456F_UNLCK
455457F_VOLPOSMODE
@@ -1900,9 +1902,11 @@ fremovexattr
19001902fsetattrlist
19011903fsetxattr
19021904fsid_t
1905+ fspecread_t
19031906fstatfs
19041907fstore_t
19051908ftok
1909+ ftrimactivefile_t
19061910futimes
19071911getattrlist
19081912getattrlistat
Original file line number Diff line number Diff line change @@ -385,6 +385,18 @@ s! {
385385 pub fp_length: :: off_t, /* IN: size of the region */
386386 }
387387
388+ pub struct ftrimactivefile_t {
389+ pub fta_offset: :: off_t,
390+ pub fta_length: :: off_t,
391+ }
392+
393+ pub struct fspecread_t {
394+ pub fsr_flags: :: c_uint,
395+ pub reserved: :: c_uint,
396+ pub fsr_offset: :: off_t,
397+ pub fsr_length: :: off_t,
398+ }
399+
388400 pub struct radvisory {
389401 pub ra_offset: :: off_t,
390402 pub ra_count: :: c_int,
@@ -3249,6 +3261,8 @@ pub const F_NODIRECT: ::c_int = 62;
32493261pub const F_LOG2PHYS_EXT : :: c_int = 65 ;
32503262pub const F_BARRIERFSYNC : :: c_int = 85 ;
32513263pub const F_PUNCHHOLE : :: c_int = 99 ;
3264+ pub const F_TRIM_ACTIVE_FILE : :: c_int = 100 ;
3265+ pub const F_SPECULATIVE_READ : :: c_int = 101 ;
32523266pub const F_GETPATH_NOFIRMLINK : :: c_int = 102 ;
32533267
32543268pub const F_ALLOCATECONTIG : :: c_uint = 0x02 ;
You can’t perform that action at this time.
0 commit comments