Searched refs:from_ptr (Results 1 – 6 of 6) sorted by relevance
39 pub unsafe fn from_ptr<'a>(ptr: *const bindings::pid_namespace) -> &'a Self { in from_ptr() method
51 pub unsafe fn from_ptr<'a>(ptr: *const bindings::cred) -> &'a Credential { in from_ptr() method
345 Some(unsafe { PidNamespace::from_ptr(active_ns) }) in active_pid_ns()
197 pub const unsafe fn from_ptr(ptr: *mut bindings::module) -> ThisModule { in from_ptr() method
33 pub fn from_ptr(addr: *mut c_void) -> Self { in from_ptr() method
323 unsafe { Credential::from_ptr(ptr) } in cred()
Completed in 8 milliseconds