Searched refs:UserSlice (Results 1 – 4 of 4) sorted by relevance
| /linux/rust/kernel/debugfs/ |
| H A D | file_ops.rs | 11 use crate::uaccess::UserSlice; 141 let mut reader = UserSlice::new(UserPtr::from_ptr(buf as *mut c_void), count).reader(); in read() 266 let mut writer = UserSlice::new(UserPtr::from_ptr(buf.cast()), count).writer(); in blob_read() 321 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 { argument 166 UserSlice { ptr, length } in new()
|
| /linux/drivers/android/binder/ |
| H A D | thread.rs | 22 uaccess::UserSlice, 490 pub(crate) fn get_extended_error(&self, data: UserSlice) -> Result { in get_extended_error() 824 UserSlice::new(UserPtr::from_addr(fda_uaddr as _), fds_len) in translate_object() 872 UserSlice::new(UserPtr::from_addr(sg_entry.sender_uaddr), sg_entry.length).reader(); in apply_sg() 988 UserSlice::new(UserPtr::from_addr(trd_data_ptr.buffer as _), data_size).reader(); in copy_transaction_data() 996 UserSlice::new(UserPtr::from_addr(trd_data_ptr.offsets as _), offsets_size) in copy_transaction_data() 1292 UserSlice::new(UserPtr::from_addr(write_start as _), write_len as _).reader(); in write() 1383 UserSlice::new(UserPtr::from_addr(read_start as _), read_len as _).writer(), in read() 1441 UserSlice::new(UserPtr::from_addr(req.read_buffer as _), req.read_size as _) in read() 1448 pub(crate) fn write_read(self: &Arc<Self>, data: UserSlice, wait: bool) -> Result { in write_read() argument
|
| H A D | process.rs | 36 uaccess::{UserSlice, UserSliceReader}, 1123 fn version(&self, data: UserSlice) -> Result { in version() 1148 fn get_node_debug_info(&self, data: UserSlice) -> Result { in get_node_debug_info() 1168 fn get_node_info_from_ref(&self, data: UserSlice) -> Result { in get_node_info_from_ref() 1501 fn get_frozen_status(data: UserSlice) -> Result { in get_frozen_status() 1585 data: UserSlice, in ioctl_write_read() argument 1649 let user_slice = UserSlice::new(UserPtr::from_addr(arg), _IOC_SIZE(cmd)); in ioctl()
|