Lines Matching refs:u8
75 buffer: *mut [u8], in write_blocks() argument
101 buffer: *mut [u8], in read_blocks() argument
121 fn check_status(&mut self, buf: *mut [u8]) -> IoStatus; in check_status()
140 out: &mut [u8], in read_blocks() argument
142 let ptr = out as *mut [u8]; in read_blocks()
160 data: &mut [u8], in write_blocks() argument
162 let ptr = data as *mut [u8]; in write_blocks()
220 Ready(&'a mut [u8], IoStatus),
222 Pending(*mut [u8], *mut [u8], PhantomData<&'a mut [u8]>),
243 fn new(buffer: &'a mut [u8]) -> Self { in new()
277 fn set_pending(&mut self, io_offset: usize, io_size: usize) -> *mut [u8] { in set_pending() argument
280 let ptr = &mut b[io_offset..][..io_size] as *mut [u8]; in set_pending()
289 fn get(&mut self) -> &mut [u8] { in get() argument
317 fn take(mut self) -> &'a mut [u8] { in take() argument
336 _phantom: PhantomData<&'b mut [u8]>,
450 buffer: &mut Option<&'b mut [u8]>, in write() argument
487 buffer: &mut Option<&'b mut [u8]>, in read() argument
511 pub fn take_io_buffer(&mut self) -> Result<&'b mut [u8]> { in take_io_buffer() argument
536 data: &'d mut [u8], in write_scoped() argument
549 out: &'d mut [u8], in read_scoped() argument
558 pub fn write_blocking(&mut self, offset: u64, data: &mut [u8]) -> Result<()> { in write_blocking()
563 pub fn read_blocking(&mut self, offset: u64, out: &mut [u8]) -> Result<()> { in read_blocking()