| /src/external/mpl/dhcp/bind/dist/lib/isc/ |
| taskpool.c | 32 unsigned int ntasks; member in struct:isc_taskpool 42 alloc_pool(isc_taskmgr_t *tmgr, isc_mem_t *mctx, unsigned int ntasks, 51 pool->ntasks = ntasks; 54 pool->tasks = isc_mem_get(mctx, ntasks * sizeof(isc_task_t *)); 55 for (i = 0; i < ntasks; i++) { 63 isc_taskpool_create(isc_taskmgr_t *tmgr, isc_mem_t *mctx, unsigned int ntasks, 68 INSIST(ntasks > 0); 71 alloc_pool(tmgr, mctx, ntasks, quantum, &pool); 74 for (i = 0; i < ntasks; i++) [all...] |
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| dmu_objset.c | 1847 int ntasks; local 1882 ntasks = dmu_find_threads; 1883 if (ntasks == 0) 1884 ntasks = vdev_count_leaves(dp->dp_spa) * 4; 1885 tq = taskq_create("dmu_objset_find", ntasks, minclsyspri, ntasks,
|
| /src/external/mpl/dhcp/bind/dist/lib/dns/ |
| dispatch.c | 190 int ntasks; member in struct:dns_dispatch 554 for (i = 0; i < disp->ntasks; i++) { 704 isc_task_attach(disp->task[isc_random_uniform(disp->ntasks)], 2336 disp->ntasks = 1; 2768 disp->ntasks = MAX_INTERNAL_TASKS; 2770 disp->ntasks = 1; 2772 for (i = 0; i < disp->ntasks; i++) {
|
| zone.c | 19059 int ntasks = num_zones / ZONES_PER_TASK; local 19072 if (ntasks < 10) { 19073 ntasks = 10; 19081 result = isc_taskpool_create(zmgr->taskmgr, zmgr->mctx, ntasks, 19084 result = isc_taskpool_expand(&zmgr->zonetasks, ntasks, false, 19094 result = isc_taskpool_create(zmgr->taskmgr, zmgr->mctx, ntasks, 19097 result = isc_taskpool_expand(&zmgr->loadtasks, ntasks, true,
|