Home
last modified time | relevance | path

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

/packages/modules/Virtualization/pvmfw/src/
Dgpt.rs83 pub fn write_block(&mut self, index: usize, blk: &[u8]) -> Result<()> { in write_block() method
85 self.partitions.write_block(index, blk) in write_block()
152 fn write_block(&mut self, index: usize, blk: &[u8]) -> Result<()> { in write_block() method
Dinstance.rs147 instance_img.write_block(payload_index, &blk).map_err(Error::FailedIo)?; in record_instance_entry()
152 instance_img.write_block(header_index, &blk).map_err(Error::FailedIo)?; in record_instance_entry()
/packages/modules/adb/client/
Dusb_libusb.cpp253 auto write_block = static_cast<WriteBlock*>(transfer->user_data); in write_cb() local
254 auto self = write_block->self; in write_cb()
261 self->writes_.erase(write_block->id); in write_cb()
690 auto const& [id, write_block] = write_item; in CloseDevice()
691 int rc = libusb_cancel_transfer(write_block->transfer); in CloseDevice()
697 libusb_free_transfer(write_block->transfer); in CloseDevice()