Home
last modified time | relevance | path

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

/linux-6.8/rust/kernel/
Dtypes.rs339 pub unsafe fn from_raw(ptr: NonNull<T>) -> Self { in from_raw() method
Dworkqueue.rs172 pub unsafe fn from_raw<'a>(ptr: *const bindings::workqueue_struct) -> &'a Queue { in from_raw() method
/linux-6.8/rust/kernel/sync/
Darc.rs234 pub unsafe fn from_raw(ptr: *const T) -> Self { in from_raw() method
/linux-6.8/rust/kernel/net/
Dphy.rs82 unsafe fn from_raw<'a>(ptr: *mut bindings::phy_device) -> &'a mut Self { in from_raw() method
/linux-6.8/rust/alloc/
Dboxed.rs954 pub unsafe fn from_raw(raw: *mut T) -> Self { in from_raw() method