Searched refs:ntodo (Results 1 – 1 of 1) sorted by relevance
1212 struct io_pkt *pkts, int ntodo) in iocbs_map() argument1217 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() local1262 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 …]