Home
last modified time | relevance | path

Searched refs:GFP_KERNEL (Results 1 – 12 of 12) sorted by relevance

/rust/bindings/
A Dbindings_helper.h89 const gfp_t RUST_CONST_HELPER_GFP_KERNEL = GFP_KERNEL;
/rust/kernel/
A Dalloc.rs102 pub const GFP_KERNEL: Flags = Flags(bindings::GFP_KERNEL); consts
A Dcpumask.rs298 let mut cpumask_var = unsafe { Self::new(GFP_KERNEL) }?; in try_clone()
A Dopp.rs92 let mut list = KVec::with_capacity(names.len() + 1, GFP_KERNEL)?; in to_c_str_array()
95 list.push(name.as_ptr().cast(), GFP_KERNEL)?; in to_c_str_array()
98 list.push(ptr::null(), GFP_KERNEL)?; in to_c_str_array()
A Dcpufreq.rs374 GFP_KERNEL, in add()
1039 let mut drv = KBox::new(UnsafeCell::new(Self::VTABLE), GFP_KERNEL)?; in new()
1055 devres::register(dev, Self::new()?, GFP_KERNEL) in new_foreign_owned()
A Dstr.rs902 let mut buf = KVec::with_capacity(size, GFP_KERNEL)?; in try_from_fmt()
951 buf.extend_from_slice(cstr.to_bytes_with_nul(), GFP_KERNEL)?; in try_from()
A Dauxiliary.rs299 let boxed = KBox::new(Opaque::<bindings::auxiliary_device>::zeroed(), GFP_KERNEL)?; in new()
A Dconfigfs.rs364 flags::GFP_KERNEL, in make_group()
/rust/kernel/alloc/
A Dkvec.rs55 $crate::alloc::KVec::from_elem($elem, $n, GFP_KERNEL)
58 match $crate::alloc::KBox::new_uninit(GFP_KERNEL) {
1307 let mut vec1: KVec<usize> = KVec::with_capacity(c.len(), GFP_KERNEL).unwrap(); in test_kvec_retain()
1308 let mut vec2: KVec<usize> = KVec::with_capacity(c.len(), GFP_KERNEL).unwrap(); in test_kvec_retain()
1335 let mut func = KVec::with_capacity(10, GFP_KERNEL).unwrap(); in test_kvec_retain()
/rust/kernel/drm/
A Ddriver.rs145 devres::register(dev, reg, GFP_KERNEL) in new_foreign_owned()
/rust/kernel/drm/gem/
A Dmod.rs241 GFP_KERNEL, in new()
/rust/kernel/device/
A Dproperty.rs134 let mut val: KVec<T> = KVec::with_capacity(len, GFP_KERNEL)?; in property_read_array_vec()

Completed in 27 milliseconds