Searched defs:from_raw (Results 1 – 12 of 12) sorted by relevance
70 pub(super) fn from_raw(class_code: u32) -> Self { in from_raw() method155 pub(super) fn from_raw(vendor_id: u16) -> Self { in from_raw() method
49 pub unsafe fn from_raw<'a>(vma: *const bindings::vm_area_struct) -> &'a Self { in from_raw() method185 pub unsafe fn from_raw<'a>(vma: *const bindings::vm_area_struct) -> &'a Self { in from_raw() method234 pub unsafe fn from_raw<'a>(vma: *mut bindings::vm_area_struct) -> &'a Self { in from_raw() method
133 pub unsafe fn from_raw<'a>(ptr: *const bindings::mm_struct) -> &'a Mm { in from_raw() method163 pub unsafe fn from_raw<'a>(ptr: *const bindings::mm_struct) -> &'a MmWithUser { in from_raw() method
24 pub unsafe fn from_raw<'a>(ptr: *mut bindings::seq_file) -> &'a SeqFile { in from_raw() method
37 pub unsafe fn from_raw<'a>(ptr: *const usize, nbits: usize) -> &'a Bitmap { in from_raw() method
280 pub unsafe fn from_raw<'a>(ptr: *mut bindings::device) -> &'a Self { in from_raw() method
234 pub unsafe fn from_raw<'a>(ptr: *const bindings::cpufreq_frequency_table) -> &'a Self { in from_raw() method424 pub unsafe fn from_raw<'a>(ptr: *const bindings::cpufreq_policy) -> &'a Self { in from_raw() method
42 pub unsafe fn from_raw(table: *mut bindings::poll_table) -> Self { in from_raw() method
159 pub unsafe fn from_raw<'a>(ptr: *mut B::State) -> &'a Self { in from_raw() method
88 pub(crate) const unsafe fn from_raw<'a>(ptr: *mut bindings::resource) -> &'a Self { in from_raw() method
361 pub unsafe fn from_raw(ptr: *const T) -> Self { in from_raw() function
179 pub const unsafe fn from_raw(raw: *mut T) -> Self { in from_raw() function