Home
last modified time | relevance | path

Searched refs:from_ptr (Results 1 – 8 of 8) sorted by relevance

/linux/arch/um/kernel/skas/
H A Duaccess.c155 unsigned long *from_ptr = arg, from = *from_ptr; in copy_chunk_to_user() local
158 *from_ptr += len; in copy_chunk_to_user()
/linux/rust/kernel/debugfs/
H A Dfile_ops.rs149 let mut reader = UserSlice::new(UserPtr::from_ptr(buf as *mut c_void), count).reader();
272 let mut writer = UserSlice::new(UserPtr::from_ptr(buf.cast()), count).writer(); in blob_read()
326 let mut reader = UserSlice::new(UserPtr::from_ptr(buf.cast_mut().cast()), count).reader(); in blob_write()
/linux/rust/kernel/
H A Dpid_namespace.rs36 pub unsafe fn from_ptr<'a>(ptr: *const bindings::pid_namespace) -> &'a Self { in from_ptr() method
H A Dlib.rs227 pub const unsafe fn from_ptr(ptr: *mut bindings::module) -> ThisModule {
221 pub const unsafe fn from_ptr(ptr: *mut bindings::module) -> ThisModule { from_ptr() method
H A Duaccess.rs34 pub fn from_ptr(addr: *mut c_void) -> Self { in from_ptr() method
H A Dstr.rs324 unsafe { CStr::from_ptr(ptr.cast()) } in from_char_ptr()
/linux/rust/kernel/fs/
H A Dfile.rs330 unsafe { Credential::from_ptr(ptr) } in cred()
/linux/rust/kernel/sync/
H A Datomic.rs207 pub unsafe fn from_ptr<'a>(ptr: *mut T) -> &'a Self in from_ptr() method