Home
last modified time | relevance | path

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

/system/core/adb/daemon/
Dusb_legacy.cpp61 static void aio_block_init(aio_block* aiob, unsigned num_bufs) { in aio_block_init() argument
62 aiob->iocb.resize(num_bufs); in aio_block_init()
63 aiob->iocbs.resize(num_bufs); in aio_block_init()
64 aiob->events.resize(num_bufs); in aio_block_init()
65 aiob->num_submitted = 0; in aio_block_init()
67 aiob->iocbs[i] = &aiob->iocb[i]; in aio_block_init()
69 memset(&aiob->ctx, 0, sizeof(aiob->ctx)); in aio_block_init()
70 if (io_setup(num_bufs, &aiob->ctx)) { in aio_block_init()
177 aio_block* aiob = read ? &h->read_aiob : &h->write_aiob; in usb_ffs_do_aio() local
182 int packet_size = getMaxPacketSize(aiob->fd); in usb_ffs_do_aio()
[all …]