Home
last modified time | relevance | path

Searched defs:from_raw (Results 1 – 12 of 12) sorted by relevance

/linux/rust/kernel/pci/
H A Did.rs70 pub(super) fn from_raw(class_code: u32) -> Self { in from_raw() method
155 pub(super) fn from_raw(vendor_id: u16) -> Self { in from_raw() method
/linux/rust/kernel/mm/
H A Dvirt.rs49 pub unsafe fn from_raw<'a>(vma: *const bindings::vm_area_struct) -> &'a Self { in from_raw() method
185 pub unsafe fn from_raw<'a>(vma: *const bindings::vm_area_struct) -> &'a Self { in from_raw() method
234 pub unsafe fn from_raw<'a>(vma: *mut bindings::vm_area_struct) -> &'a Self { in from_raw() method
/linux/rust/kernel/
H A Dmm.rs133 pub unsafe fn from_raw<'a>(ptr: *const bindings::mm_struct) -> &'a Mm { in from_raw() method
163 pub unsafe fn from_raw<'a>(ptr: *const bindings::mm_struct) -> &'a MmWithUser { in from_raw() method
H A Dseq_file.rs24 pub unsafe fn from_raw<'a>(ptr: *mut bindings::seq_file) -> &'a SeqFile { in from_raw() method
H A Dbitmap.rs37 pub unsafe fn from_raw<'a>(ptr: *const usize, nbits: usize) -> &'a Bitmap { in from_raw() method
H A Ddevice.rs280 pub unsafe fn from_raw<'a>(ptr: *mut bindings::device) -> &'a Self { in from_raw() method
H A Dcpufreq.rs234 pub unsafe fn from_raw<'a>(ptr: *const bindings::cpufreq_frequency_table) -> &'a Self { in from_raw() method
424 pub unsafe fn from_raw<'a>(ptr: *const bindings::cpufreq_policy) -> &'a Self { in from_raw() method
/linux/rust/kernel/sync/
H A Dpoll.rs42 pub unsafe fn from_raw(table: *mut bindings::poll_table) -> Self { in from_raw() method
H A Dlock.rs159 pub unsafe fn from_raw<'a>(ptr: *mut B::State) -> &'a Self { in from_raw() method
/linux/rust/kernel/io/
H A Dresource.rs88 pub(crate) const unsafe fn from_raw<'a>(ptr: *mut bindings::resource) -> &'a Self { in from_raw() method
/linux/rust/kernel/list/
H A Darc.rs361 pub unsafe fn from_raw(ptr: *const T) -> Self { in from_raw() function
/linux/rust/kernel/alloc/
H A Dkbox.rs179 pub const unsafe fn from_raw(raw: *mut T) -> Self { in from_raw() function