Searched refs:from_ptr (Results 1 – 7 of 7) sorted by relevance
155 unsigned long *from_ptr = arg, from = *from_ptr; in copy_chunk_to_user() local158 *from_ptr += len; in copy_chunk_to_user()
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
156 pub const unsafe fn from_ptr(ptr: *mut bindings::module) -> ThisModule { in from_ptr() method
247 task: unsafe { PidNamespace::from_ptr(pidns) }, in current_pid_ns()
51 pub unsafe fn from_ptr<'a>(ptr: *mut bindings::poll_table) -> &'a mut PollTable { in from_ptr() method
321 unsafe { Credential::from_ptr(ptr) } in cred()