Searched refs:UserPtr (Results 1 – 3 of 3) sorted by relevance
| /linux/rust/kernel/ |
| H A D | uaccess.rs | 25 pub struct UserPtr(*mut c_void); struct 27 impl UserPtr { impl 61 pub fn wrapping_byte_add(self, add: usize) -> UserPtr { in wrapping_byte_add() argument 62 UserPtr(self.0.wrapping_byte_add(add)) in wrapping_byte_add() 150 ptr: UserPtr, 167 pub fn new(ptr: UserPtr, length: usize) -> Self { in new() argument 215 ptr: UserPtr, 447 ptr: UserPtr, 641 fn raw_strncpy_from_user(dst: &mut [MaybeUninit<u8>], src: UserPtr) -> Result<usize> { in raw_strncpy_from_user()
|
| H A D | prelude.rs | 120 uaccess::UserPtr,
|
| /linux/rust/kernel/debugfs/ |
| H A D | file_ops.rs | 149 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()
|