Home
last modified time | relevance | path

Searched refs:ndone (Results 1 – 6 of 6) sorted by relevance

/external/blktrace/btreplay/
Dbtreplay.c1053 long i, ndone; in reclaim_ios() local
1059 ndone = io_getevents(tip->ctx, 1, naios_out, events, NULL); in reclaim_ios()
1060 if (ndone > 0) in reclaim_ios()
1069 assert(0 < ndone && ndone <= naios_out); in reclaim_ios()
1072 for (i = 0, evp = events; i < ndone; i++, evp++) { in reclaim_ios()
1087 tip->naios_free += ndone; in reclaim_ios()
1088 tip->naios_out -= ndone; in reclaim_ios()
1277 long ndone; in process_bunch() local
1288 ndone = io_submit(tip->ctx, ntodo, list); in process_bunch()
1289 if (ndone != (long)ntodo) { in process_bunch()
[all …]
/external/openssh/
Dclientloop.c2330 size_t i, ndone; in client_global_hostkeys_private_confirm() local
2354 for (ndone = i = 0; i < ctx->nkeys; i++) { in client_global_hostkeys_private_confirm()
2380 ndone++; in client_global_hostkeys_private_confirm()
2382 if (ndone != ctx->nnew) in client_global_hostkeys_private_confirm()
2384 ndone, ctx->nnew); /* Shouldn't happen */ in client_global_hostkeys_private_confirm()
/external/blktrace/
Dblktrace.c1835 int ret, ndone, to_val; in thread_main() local
1856 ndone = poll(tp->pfds, ndevs, to_val); in thread_main()
1857 if (ndone || piped_output) in thread_main()
1858 (void)handle_pfds(tp, ndone, piped_output); in thread_main()
1859 else if (ndone < 0 && errno != EINTR) in thread_main()
Dblkparse.c2383 int ret, pdu_len, ndone = 0; in ms_prime() local
2448 ndone++; in ms_prime()
2451 return ndone; in ms_prime()
2460 return ndone; in ms_prime()
/external/python/cpython2/Objects/
Dfileobject.c1156 Py_ssize_t ndone, nnow; in file_readinto() local
1172 ndone = 0; in file_readinto()
1177 nnow = Py_UniversalNewlineFread(ptr+ndone, ntodo, f->f_fp, in file_readinto()
1198 ndone += nnow; in file_readinto()
1202 return PyInt_FromSsize_t(ndone); in file_readinto()
/external/python/cpython2/Python/
Dimport.c430 Py_ssize_t pos, ndone; in PyImport_Cleanup() local
506 ndone = 0; in PyImport_Cleanup()
524 ndone++; in PyImport_Cleanup()
530 } while (ndone > 0); in PyImport_Cleanup()