Home
last modified time | relevance | path

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

/external/blktrace/btreplay/
Dbtreplay.c1230 struct io_pkt *pkts, int ntodo) in iocbs_map() argument
1235 assert(0 < ntodo && ntodo <= naios); in iocbs_map()
1238 assert(ntodo <= list_len(&tip->free_iocbs)); in iocbs_map()
1239 for (i = 0, pkt = pkts; i < ntodo; i++, pkt++) { in iocbs_map()
1260 tip->naios_free -= ntodo; in iocbs_map()
1278 int ntodo = min(nfree_current(tip), bunch->hdr.npkts - i); in process_bunch() local
1280 assert(0 < ntodo && ntodo <= naios); in process_bunch()
1281 iocbs_map(tip, list, &bunch->pkts[i], ntodo); in process_bunch()
1285 if (ntodo) { in process_bunch()
1287 fprintf(tip->vfp, "submit(%d)\n", ntodo); in process_bunch()
[all …]
/external/python/cpython2/Objects/
Dfileobject.c1155 Py_ssize_t ntodo; in file_readinto() local
1171 ntodo = pbuf.len; in file_readinto()
1173 while (ntodo > 0) { in file_readinto()
1177 nnow = Py_UniversalNewlineFread(ptr+ndone, ntodo, f->f_fp, in file_readinto()
1199 ntodo -= nnow; in file_readinto()
/external/python/cpython3/Lib/asyncio/
Dbase_events.py1758 ntodo = len(self._ready)
1759 for i in range(ntodo):