Searched refs:as_block_device_ex (Results 1 – 2 of 2) sorted by relevance
644 let mut blk_ex = blk.as_block_device_ex(); in test_read()669 let mut blk_ex = blk.as_block_device_ex(); in test_write()692 blk.as_block_device_ex().read_blocking(1, &mut io_buffer[..]).unwrap(); in test_read_write_blocking()696 blk.as_block_device_ex().write_blocking(1, &mut io_buffer[..]).unwrap(); in test_read_write_blocking()711 let mut blk_ex = blk.as_block_device_ex(); in test_abort()722 let mut blk_ex = blk.as_block_device_ex(); in test_abort()745 let mut blk_ex = blk.as_block_device_ex(); in read_write_error_on_busy()
218 pub fn as_block_device_ex(&mut self) -> BlockDeviceEx { in as_block_device_ex() method