Searched refs:UserSlice (Results 1 – 3 of 3) sorted by relevance
| /linux/rust/kernel/debugfs/ |
| H A D | file_ops.rs | 18 uaccess::UserSlice, // 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()
|
| /linux/rust/kernel/ |
| H A D | uaccess.rs | 147 pub struct UserSlice { struct 152 impl UserSlice { implementation 166 UserSlice { ptr, length } in new()
|
| /linux/drivers/android/binder/ |
| H A D | thread.rs | 22 uaccess::UserSlice, 498 pub(crate) fn get_extended_error(&self, data: UserSlice) -> Result { in get_extended_error() 839 UserSlice::new(UserPtr::from_addr(fda_uaddr as _), fds_len) in translate_object() 887 UserSlice::new(UserPtr::from_addr(sg_entry.sender_uaddr), sg_entry.length).reader(); in apply_sg() 1012 UserSlice::new(UserPtr::from_addr(trd_data_ptr.buffer as _), data_size).reader(); in copy_transaction_data() 1020 UserSlice::new(UserPtr::from_addr(trd_data_ptr.offsets as _), offsets_size) in copy_transaction_data() 1321 UserSlice::new(UserPtr::from_addr(write_start as _), write_len as _).reader(); in write() 1412 UserSlice::new(UserPtr::from_addr(read_start as _), read_len as _).writer(), in read() 1470 UserSlice::new(UserPtr::from_addr(req.read_buffer as _), req.read_size as _) in read() 1477 pub(crate) fn write_read(self: &Arc<Self>, data: UserSlice, wait: bool) -> Result { in write_read() argument
|