File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -31,4 +31,5 @@ const gfp_t RUST_CONST_HELPER_GFP_KERNEL_ACCOUNT = GFP_KERNEL_ACCOUNT;
31
31
const gfp_t RUST_CONST_HELPER_GFP_NOWAIT = GFP_NOWAIT ;
32
32
const gfp_t RUST_CONST_HELPER___GFP_ZERO = __GFP_ZERO ;
33
33
const gfp_t RUST_CONST_HELPER___GFP_HIGHMEM = ___GFP_HIGHMEM ;
34
+ const gfp_t RUST_CONST_HELPER___GFP_NOWARN = ___GFP_NOWARN ;
34
35
const blk_features_t RUST_CONST_HELPER_BLK_FEAT_ROTATIONAL = BLK_FEAT_ROTATIONAL ;
Original file line number Diff line number Diff line change @@ -91,6 +91,11 @@ pub mod flags {
91
91
/// use any filesystem callback. It is very likely to fail to allocate memory, even for very
92
92
/// small allocations.
93
93
pub const GFP_NOWAIT : Flags = Flags ( bindings:: GFP_NOWAIT ) ;
94
+
95
+ /// Suppresses allocation failure reports.
96
+ ///
97
+ /// This is normally or'd with other flags.
98
+ pub const __GFP_NOWARN: Flags = Flags ( bindings:: __GFP_NOWARN) ;
94
99
}
95
100
96
101
/// The kernel's [`Allocator`] trait.
You can’t perform that action at this time.
0 commit comments