Lines Matching defs:ntasks
156 static unsigned int ntasks = 0;
1447 if (ended == ntasks) {
1519 if (ended == ntasks) {
3333 ntasks = strtol(isc_commandline_argument, &endp, 0);
3334 if (*endp != '\0' || ntasks > ISC_INT32_MAX)
3477 if (ntasks == 0)
3478 ntasks = isc_os_ncpus() * 2;
3479 vbprintf(4, "using %d cpus\n", ntasks);
3755 result = isc_taskmgr_create(mctx, ntasks, 0, &taskmgr);
3765 tasks = isc_mem_get(mctx, ntasks * sizeof(isc_task_t *));
3768 for (i = 0; i < (int)ntasks; i++) {
3788 for (i = 0; i < (int)ntasks; i++) {
3801 for (i = 0; i < (int)ntasks; i++)
3804 isc_mem_put(mctx, tasks, ntasks * sizeof(isc_task_t *));