Home
last modified time | relevance | path

Searched refs:read_slice (Results 1 – 3 of 3) sorted by relevance

/linux/samples/rust/
H A Drust_debugfs_scoped.rs41 reader.read_slice(&mut buf[..n])?; in remove_file_write()
63 reader.read_slice(&mut buf[..n])?; in create_file_write()
/linux/rust/kernel/debugfs/
H A Dtraits.rs187 reader.read_slice(&mut buf[..n])?; in read_from_slice()
206 reader.read_slice(&mut buf[..n])?; in read_from_slice_mut()
/linux/rust/kernel/
H A Duaccess.rs257 /// For a version that uses `&mut [u8]`, please see [`UserSliceReader::read_slice`].
286 pub fn read_slice(&mut self, out: &mut [u8]) -> Result { in read_slice()
295 /// This is the same as [`Self::read_slice`] but considers the given `offset` into `out` and
306 self.read_slice(dst)?; in read_slice_partial()
284 pub fn read_slice(&mut self, out: &mut [u8]) -> Result { read_slice() method