Home
last modified time | relevance | path

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

12

/linux/rust/kernel/pci/
H A Did.rs74 pub(super) fn from_raw(class_code: u32) -> Self { in from_raw() method
159 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 Dcpumask.rs72 pub unsafe fn from_raw<'a>(ptr: *const bindings::cpumask) -> &'a Self { in from_raw() method
288 pub unsafe fn from_raw<'a>(ptr: *const bindings::cpumask_var_t) -> &'a Self { in from_raw() method
H A Diov.rs63 pub unsafe fn from_raw<'iov>(ptr: *mut bindings::iov_iter) -> &'iov mut IovIterSource<'data> { in from_raw() method
214 pub unsafe fn from_raw<'iov>(ptr: *mut bindings::iov_iter) -> &'iov mut IovIterDest<'data> { in from_raw() method
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 Dscatterlist.rs70 unsafe fn from_raw<'a>(ptr: *mut bindings::scatterlist) -> &'a Self { in from_raw() method
145 pub unsafe fn from_raw<'a>(ptr: *mut bindings::sg_table) -> &'a Self { in from_raw() method
H A Dpwm.rs82 pub(crate) unsafe fn from_raw<'a>(ptr: *mut bindings::pwm_device) -> &'a Self { from_raw() method
526 pub(crate) unsafe fn from_raw<'a>(ptr: *mut bindings::pwm_chip) -> &'a Self { from_raw() method
[all...]
H A Dpage.rs89 pub unsafe fn from_raw(ptr: NonNull<bindings::page>) -> Self { from_raw() method
H A Dtask.rs375 pub fn from_raw(kuid: bindings::kuid_t) -> Self { in from_raw() method
H A Dbitmap.rs35 pub unsafe fn from_raw<'a>(ptr: *const usize, nbits: usize) -> &'a Bitmap { in from_raw() method
H A Dio.rs611 pub unsafe fn from_raw(raw: &MmioRaw<SIZE>) -> &Self { in from_raw() method
H A Ddevice.rs369 pub unsafe fn from_raw<'a>(ptr: *mut bindings::device) -> &'a Self { in from_raw() method
H A Dworkqueue.rs256 pub unsafe fn from_raw<'a>(ptr: *const bindings::workqueue_struct) -> &'a Queue { 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
425 pub unsafe fn from_raw<'a>(ptr: *const bindings::cpufreq_policy) -> &'a Self { in from_raw() method
/linux/rust/kernel/fs/
H A Dkiocb.rs35 pub unsafe fn from_raw(kiocb: *mut bindings::kiocb) -> Self { in from_raw() method
/linux/rust/kernel/drm/gem/
H A Dmod.rs55 unsafe fn from_raw<'a>(self_ptr: *mut bindings::drm_gem_object) -> &'a Self; in from_raw() method
94 unsafe fn from_raw<'a>(self_ptr: *mut bindings::drm_gem_object) -> &'a Self { in from_raw() method
[all...]
/linux/rust/kernel/drm/
H A Dfile.rs35 pub unsafe fn from_raw<'a>(ptr: *mut bindings::drm_file) -> &'a File<T> { in from_raw() method
H A Ddevice.rs171 pub unsafe fn from_raw<'a>(ptr: *const bindings::drm_device) -> &'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 Daref.rs97 pub unsafe fn from_raw(ptr: NonNull<T>) -> Self { from_raw() method
H A Dlock.rs159 pub unsafe fn from_raw<'a>(ptr: *mut B::State) -> &'a Self { from_raw() method
H A Darc.rs288 pub unsafe fn from_raw(ptr: *const T) -> Self { in from_raw() method
598 pub unsafe fn from_raw(ptr: *const T) -> Self { in from_raw() method
/linux/rust/kernel/io/
H A Dresource.rs91 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

12