Lines Matching refs:blk
635 let mut blk = TestBlockDeviceBuilder::new() in test_read() localVariable
644 let mut blk_ex = blk.as_block_device_ex(); in test_read()
655 assert_eq!(blk.io.storage, [1, 0, 0, 4]); in test_read()
660 let mut blk = TestBlockDeviceBuilder::new() in test_write() localVariable
669 let mut blk_ex = blk.as_block_device_ex(); in test_write()
685 let mut blk = TestBlockDeviceBuilder::new() in test_read_write_blocking() localVariable
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()
697 assert_eq!(blk.io.storage, [1, 0, 0, 4]); in test_read_write_blocking()
702 let mut blk = TestBlockDeviceBuilder::new() in test_abort() localVariable
711 let mut blk_ex = blk.as_block_device_ex(); in test_abort()
717 assert_eq!(blk.io.storage, [1, 2, 3, 4]); in test_abort()
722 let mut blk_ex = blk.as_block_device_ex(); in test_abort()
733 let mut blk = TestBlockDeviceBuilder::new() in read_write_error_on_busy() localVariable
745 let mut blk_ex = blk.as_block_device_ex(); in read_write_error_on_busy()