Home
last modified time | relevance | path

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

/system/core/fastboot/device/
Dusb.cpp54 static void aio_block_init(aio_block* aiob, unsigned num_bufs) { in aio_block_init() argument
55 aiob->iocb.resize(num_bufs); in aio_block_init()
56 aiob->iocbs.resize(num_bufs); in aio_block_init()
57 aiob->events.resize(num_bufs); in aio_block_init()
58 aiob->num_submitted = 0; in aio_block_init()
60 aiob->iocbs[i] = &aiob->iocb[i]; in aio_block_init()
62 memset(&aiob->ctx, 0, sizeof(aiob->ctx)); in aio_block_init()
63 if (io_setup(num_bufs, &aiob->ctx)) { in aio_block_init()
130 aio_block* aiob = read ? &h->read_aiob : &h->write_aiob; in usb_ffs_do_aio() local
135 int packet_size = getMaxPacketSize(aiob->fd); in usb_ffs_do_aio()
[all …]