Home
last modified time | relevance | path

Searched refs:UserSlice (Results 1 – 4 of 4) sorted by relevance

/linux/rust/kernel/debugfs/
H A Dfile_ops.rs18 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 Duaccess.rs149 pub struct UserSlice { struct
154 impl UserSlice { argument
168 UserSlice { ptr, length } in new()
/linux/drivers/android/binder/
H A Dthread.rs22 uaccess::{UserPtr, UserSlice, UserSliceReader},
498 pub(crate) fn get_extended_error(&self, data: UserSlice) -> Result { in get_extended_error()
846 UserSlice::new(UserPtr::from_addr(fda_uaddr as _), fds_len) in translate_object()
894 UserSlice::new(UserPtr::from_addr(sg_entry.sender_uaddr), sg_entry.length).reader(); in apply_sg()
1012 let mut buffer_reader = UserSlice::new(info.data_ptr, data_size).reader(); in copy_transaction_data()
1018 let mut offsets_reader = UserSlice::new(info.offsets_ptr, offsets_size).reader(); in copy_transaction_data()
1368 UserSlice::new(UserPtr::from_addr(write_start as _), write_len as _).reader(); in write()
1439 UserSlice::new(UserPtr::from_addr(read_start as _), read_len as _).writer(), in read()
1504 UserSlice::new(UserPtr::from_addr(req.read_buffer as _), req.read_size as _) in read()
1511 pub(crate) fn write_read(self: &Arc<Self>, data: UserSlice, wait: bool) -> Result { in write_read() argument
H A Dprocess.rs36 uaccess::{UserSlice, UserSliceReader},
1129 fn version(&self, data: UserSlice) -> Result { in version()
1154 fn get_node_debug_info(&self, data: UserSlice) -> Result { in get_node_debug_info()
1174 fn get_node_info_from_ref(&self, data: UserSlice) -> Result { in get_node_info_from_ref()
1515 fn get_frozen_status(data: UserSlice) -> Result { in get_frozen_status()
1599 data: UserSlice, in ioctl_write_read()
1663 let user_slice = UserSlice::new(UserPtr::from_addr(arg), _IOC_SIZE(cmd)); in ioctl()
1594 ioctl_write_read( this: ArcBorrow<'_, Process>, file: &File, cmd: u32, data: UserSlice, ) -> Result ioctl_write_read() argument