Home
last modified time | relevance | path

Searched refs:num_bufs (Results 1 – 2 of 2) 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()
66 for (unsigned i = 0; i < num_bufs; i++) { in aio_block_init()
70 if (io_setup(num_bufs, &aiob->ctx)) { in aio_block_init()
180 int num_bufs = len / h->io_size + (len % h->io_size == 0 ? 0 : 1); in usb_ffs_do_aio() local
189 for (int i = 0; i < num_bufs; i++) { in usb_ffs_do_aio()
203 io_prep(&aiob->iocb[num_bufs], aiob->fd, reinterpret_cast<const void*>(cur_data), in usb_ffs_do_aio()
205 num_bufs += 1; in usb_ffs_do_aio()
[all …]
/system/core/adb/daemon/include/adbd/
Dusb.h64 usb_handle *create_usb_handle(unsigned num_bufs, unsigned io_size);