Home
last modified time | relevance | path

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

/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
233 pub unsafe fn from_raw<'a>(vma: *mut bindings::vm_area_struct) -> &'a Self { in from_raw() method
/linux/rust/kernel/
H A Dseq_file.rs24 pub unsafe fn from_raw<'a>(ptr: *mut bindings::seq_file) -> &'a SeqFile { in from_raw() method
H A Dmm.rs173 pub unsafe fn from_raw<'a>(ptr: *const bindings::mm_struct) -> &'a Mm { from_raw() method
203 pub unsafe fn from_raw<'a>(ptr: *const bindings::mm_struct) -> &'a MmWithUser { from_raw() method
H A Dio.rs181 pub unsafe fn from_raw(raw: &IoRaw<SIZE>) -> &Self { in from_raw() method
H A Dtask.rs374 pub fn from_raw(kuid: bindings::kuid_t) -> Self { in from_raw() method
H A Ddevice.rs277 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.rs235 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/drm/gem/
H A Dmod.rs54 unsafe fn from_raw<'a>(self_ptr: *mut bindings::drm_gem_object) -> &'a Self; in from_raw() method
127 unsafe fn from_raw<'a>(self_ptr: *mut bindings::drm_gem_object) -> &'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.rs82 pub unsafe fn from_raw(ptr: NonNull<T>) -> Self { in from_raw() method
H A Dlock.rs154 pub unsafe fn from_raw<'a>(ptr: *mut B::State) -> &'a Self { in from_raw() method
H A Darc.rs286 pub unsafe fn from_raw(ptr: *const T) -> Self { in from_raw() method
611 pub unsafe fn from_raw(ptr: *const T) -> Self { in from_raw() method
/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.rs155 pub unsafe fn from_raw<'a>(ptr: *const bindings::drm_device) -> &'a Self { 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.rs178 pub const unsafe fn from_raw(raw: *mut T) -> Self { in from_raw() function
/linux/rust/kernel/device/
H A Dproperty.rs45 unsafe fn from_raw(raw: *mut bindings::fwnode_handle) -> ARef<Self> { in from_raw() method
/linux/rust/kernel/net/
H A Dphy.rs86 unsafe fn from_raw<'a>(ptr: *mut bindings::phy_device) -> &'a mut Self { in from_raw() method