Searched refs:ntodo (Results 1 – 2 of 2) sorted by relevance
/external/blktrace/btreplay/ |
D | btreplay.c | 1212 struct io_pkt *pkts, int ntodo) in iocbs_map() argument 1217 assert(0 < ntodo && ntodo <= naios); in iocbs_map() 1220 assert(ntodo <= list_len(&tip->free_iocbs)); in iocbs_map() 1221 for (i = 0, pkt = pkts; i < ntodo; i++, pkt++) { in iocbs_map() 1242 tip->naios_free -= ntodo; in iocbs_map() 1260 int ntodo = min(nfree_current(tip), bunch->hdr.npkts - i); in process_bunch() local 1262 assert(0 < ntodo && ntodo <= naios); in process_bunch() 1263 iocbs_map(tip, list, &bunch->pkts[i], ntodo); in process_bunch() 1267 if (ntodo) { in process_bunch() 1269 fprintf(tip->vfp, "submit(%d)\n", ntodo); in process_bunch() [all …]
|
/external/python/cpython2/Objects/ |
D | fileobject.c | 1134 Py_ssize_t ntodo; in file_readinto() local 1150 ntodo = pbuf.len; in file_readinto() 1152 while (ntodo > 0) { in file_readinto() 1156 nnow = Py_UniversalNewlineFread(ptr+ndone, ntodo, f->f_fp, in file_readinto() 1178 ntodo -= nnow; in file_readinto()
|