Lines Matching refs:Flags
34 pub struct Flags(u32); struct
36 impl Flags { implementation
43 pub fn contains(self, flags: Flags) -> bool { in contains()
48 impl core::ops::BitOr for Flags { implementation
55 impl core::ops::BitAnd for Flags { implementation
62 impl core::ops::Not for Flags { implementation
73 use super::Flags;
78 pub const __GFP_ZERO: Flags = Flags(bindings::__GFP_ZERO);
86 pub const __GFP_HIGHMEM: Flags = Flags(bindings::__GFP_HIGHMEM);
93 pub const GFP_ATOMIC: Flags = Flags(bindings::GFP_ATOMIC);
97 pub const GFP_KERNEL: Flags = Flags(bindings::GFP_KERNEL);
100 pub const GFP_KERNEL_ACCOUNT: Flags = Flags(bindings::GFP_KERNEL_ACCOUNT);
105 pub const GFP_NOWAIT: Flags = Flags(bindings::GFP_NOWAIT);
110 pub const __GFP_NOWARN: Flags = Flags(bindings::__GFP_NOWARN);
184 fn alloc(layout: Layout, flags: Flags, nid: NumaNode) -> Result<NonNull<[u8]>, AllocError> { in alloc() argument
234 flags: Flags, in realloc() argument
256 Flags(0), in free()