File tree 2 files changed +18
-0
lines changed
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -447,9 +447,11 @@ F_RDADVISE
447
447
F_RDAHEAD
448
448
F_RDLCK
449
449
F_SETOWN
450
+ F_SPECULATIVE_READ
450
451
F_TEST
451
452
F_THAW_FS
452
453
F_TLOCK
454
+ F_TRIM_ACTIVE_FILE
453
455
F_ULOCK
454
456
F_UNLCK
455
457
F_VOLPOSMODE
@@ -1900,9 +1902,11 @@ fremovexattr
1900
1902
fsetattrlist
1901
1903
fsetxattr
1902
1904
fsid_t
1905
+ fspecread_t
1903
1906
fstatfs
1904
1907
fstore_t
1905
1908
ftok
1909
+ ftrimactivefile_t
1906
1910
futimes
1907
1911
getattrlist
1908
1912
getattrlistat
Original file line number Diff line number Diff line change @@ -385,6 +385,18 @@ s! {
385
385
pub fp_length: :: off_t, /* IN: size of the region */
386
386
}
387
387
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
+
388
400
pub struct radvisory {
389
401
pub ra_offset: :: off_t,
390
402
pub ra_count: :: c_int,
@@ -3249,6 +3261,8 @@ pub const F_NODIRECT: ::c_int = 62;
3249
3261
pub const F_LOG2PHYS_EXT : :: c_int = 65 ;
3250
3262
pub const F_BARRIERFSYNC : :: c_int = 85 ;
3251
3263
pub 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 ;
3252
3266
pub const F_GETPATH_NOFIRMLINK : :: c_int = 102 ;
3253
3267
3254
3268
pub const F_ALLOCATECONTIG : :: c_uint = 0x02 ;
You can’t perform that action at this time.
0 commit comments