Lines Matching refs:ndone
1035 long i, ndone;
1041 ndone = io_getevents(tip->ctx, 1, naios_out, events, NULL);
1042 if (ndone > 0)
1051 assert(0 < ndone && ndone <= naios_out);
1054 for (i = 0, evp = events; i < ndone; i++, evp++) {
1069 tip->naios_free += ndone;
1070 tip->naios_out -= ndone;
1259 long ndone;
1270 ndone = io_submit(tip->ctx, ntodo, list);
1271 if (ndone != (long)ntodo) {
1274 tip->cpu, ntodo, ndone,
1275 strerror(labs(ndone)));
1280 tip->naios_out += ndone;
1288 i += ndone;