Searched defs:from_raw (Results 1 – 5 of 5) sorted by relevance
339 pub unsafe fn from_raw(ptr: NonNull<T>) -> Self { in from_raw() method
172 pub unsafe fn from_raw<'a>(ptr: *const bindings::workqueue_struct) -> &'a Queue { in from_raw() method
234 pub unsafe fn from_raw(ptr: *const T) -> Self { in from_raw() method
82 unsafe fn from_raw<'a>(ptr: *mut bindings::phy_device) -> &'a mut Self { in from_raw() method
954 pub unsafe fn from_raw(raw: *mut T) -> Self { in from_raw() method