Home
last modified time | relevance | path

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

/rust/kernel/
A Dseq_file.rs24 pub unsafe fn from_raw<'a>(ptr: *mut bindings::seq_file) -> &'a SeqFile { in from_raw() method
A Dmm.rs132 pub unsafe fn from_raw<'a>(ptr: *const bindings::mm_struct) -> &'a Mm { in from_raw() method
162 pub unsafe fn from_raw<'a>(ptr: *const bindings::mm_struct) -> &'a MmWithUser { in from_raw() method
A Dio.rs181 pub unsafe fn from_raw(raw: &IoRaw<SIZE>) -> &Self { in from_raw() method
A Dtask.rs374 pub fn from_raw(kuid: bindings::kuid_t) -> Self { in from_raw() method
A Ddevice.rs164 pub unsafe fn from_raw<'a>(ptr: *mut bindings::device) -> &'a Self { in from_raw() method
A Dworkqueue.rs256 pub unsafe fn from_raw<'a>(ptr: *const bindings::workqueue_struct) -> &'a Queue { in from_raw() method
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
/rust/kernel/mm/
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
/rust/kernel/drm/
A Dfile.rs35 pub unsafe fn from_raw<'a>(ptr: *mut bindings::drm_file) -> &'a File<T> { in from_raw() method
A Ddevice.rs155 pub unsafe fn from_raw<'a>(ptr: *const bindings::drm_device) -> &'a Self { in from_raw() method
/rust/kernel/sync/
A Dpoll.rs42 pub unsafe fn from_raw(table: *mut bindings::poll_table) -> Self { in from_raw() method
A Daref.rs82 pub unsafe fn from_raw(ptr: NonNull<T>) -> Self { in from_raw() method
A Dlock.rs154 pub unsafe fn from_raw<'a>(ptr: *mut B::State) -> &'a Self { in from_raw() method
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
/rust/kernel/drm/gem/
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
/rust/kernel/io/
A Dresource.rs88 pub(crate) const unsafe fn from_raw<'a>(ptr: *mut bindings::resource) -> &'a Self { in from_raw() method
/rust/kernel/list/
A Darc.rs361 pub unsafe fn from_raw(ptr: *const T) -> Self { in from_raw() function
/rust/kernel/device/
A Dproperty.rs45 unsafe fn from_raw(raw: *mut bindings::fwnode_handle) -> ARef<Self> { in from_raw() method
/rust/kernel/alloc/
A Dkbox.rs178 pub const unsafe fn from_raw(raw: *mut T) -> Self { in from_raw() function
/rust/kernel/net/
A Dphy.rs86 unsafe fn from_raw<'a>(ptr: *mut bindings::phy_device) -> &'a mut Self { in from_raw() method

Completed in 39 milliseconds