Home
last modified time | relevance | path

Searched refs:quantum (Results 1 – 25 of 46) sorted by relevance

12

/netbsd/external/mpl/bind/dist/lib/isc/
H A Dtaskpool.c33 unsigned int quantum; member
43 unsigned int quantum, isc_taskpool_t **poolp) { in alloc_pool() argument
52 pool->quantum = quantum; in alloc_pool()
64 unsigned int quantum, bool priv, isc_taskpool_t **poolp) { in isc_taskpool_create() argument
71 alloc_pool(tmgr, mctx, ntasks, quantum, &pool); in isc_taskpool_create()
75 isc_result_t result = isc_task_create_bound(tmgr, quantum, in isc_taskpool_create()
115 alloc_pool(pool->tmgr, pool->mctx, size, pool->quantum, in isc_taskpool_expand()
127 isc_task_create_bound(pool->tmgr, pool->quantum, in isc_taskpool_expand()
H A Dtask.c115 unsigned int quantum; member
198 isc_task_create(isc_taskmgr_t *manager, unsigned int quantum, in isc_task_create() argument
200 return (isc_task_create_bound(manager, quantum, taskp, -1)); in isc_task_create()
245 task->quantum = (quantum > 0) ? quantum : manager->default_quantum; in isc_task_create_bound()
806 isc_task_setquantum(isc_task_t *task, unsigned int quantum) { in isc_task_setquantum() argument
810 task->quantum = (quantum > 0) ? quantum in isc_task_setquantum()
825 uint32_t quantum; in task_run() local
830 quantum = task->quantum; in task_run()
923 } else if (dispatch_count >= quantum) { in task_run()
1372 task->quantum)); in isc_taskmgr_renderxml()
[all …]
H A Dmanagers.c23 isc_managers_create(isc_mem_t *mctx, size_t workers, size_t quantum, in isc_managers_create() argument
37 result = isc__taskmgr_create(mctx, quantum, netmgr, &taskmgr); in isc_managers_create()
/netbsd/external/bsd/ntp/dist/lib/isc/
H A Dtaskpool.c39 unsigned int quantum; member
49 unsigned int quantum, isc_taskpool_t **poolp) in alloc_pool() argument
59 pool->quantum = quantum; in alloc_pool()
75 unsigned int ntasks, unsigned int quantum, in isc_taskpool_create() argument
85 result = alloc_pool(tmgr, mctx, ntasks, quantum, &pool); in isc_taskpool_create()
91 result = isc_task_create(tmgr, quantum, &pool->tasks[i]); in isc_taskpool_create()
133 pool->quantum, &newpool); in isc_taskpool_expand()
145 result = isc_task_create(pool->tmgr, pool->quantum, in isc_taskpool_expand()
H A Dtask.c115 unsigned int quantum; member
185 isc__task_create(isc_taskmgr_t *manager0, unsigned int quantum,
331 isc__task_create(isc_taskmgr_t *manager0, unsigned int quantum, in isc__task_create() argument
358 task->quantum = quantum; in isc__task_create()
372 if (task->quantum == 0) in isc__task_create()
373 task->quantum = manager->default_quantum; in isc__task_create()
1181 } else if (dispatch_count >= task->quantum) { in dispatch()
1803 xmlTextWriterWriteFormatString(writer, "%d", task->quantum); in isc_taskmgr_renderxml()
H A Dtask_api.c119 isc_task_create(isc_taskmgr_t *manager, unsigned int quantum, in isc_task_create() argument
125 return (manager->methods->taskcreate(manager, quantum, taskp)); in isc_task_create()
/netbsd/external/bsd/wpa/dist/src/ap/
H A Dairtime_policy.c118 unsigned int quantum = AIRTIME_QUANTUM_TARGET / max_wt; in get_airtime_quantum() local
120 if (quantum < AIRTIME_QUANTUM_MIN) in get_airtime_quantum()
121 quantum = AIRTIME_QUANTUM_MIN; in get_airtime_quantum()
122 else if (quantum > AIRTIME_QUANTUM_MAX) in get_airtime_quantum()
123 quantum = AIRTIME_QUANTUM_MAX; in get_airtime_quantum()
125 return quantum; in get_airtime_quantum()
136 unsigned int quantum; in update_airtime_weights() local
209 quantum = get_airtime_quantum(max_wt); in update_airtime_weights()
215 set_sta_weights(bss, bss->airtime_weight * quantum); in update_airtime_weights()
/netbsd/external/mpl/bind/dist/lib/isc/include/isc/
H A Dtask.h106 isc_task_create(isc_taskmgr_t *manager, unsigned int quantum,
109 isc_task_create_bound(isc_taskmgr_t *manager, unsigned int quantum,
534 isc_task_setquantum(isc_task_t *task, unsigned int quantum);
H A Dmanagers.h27 isc_managers_create(isc_mem_t *mctx, size_t workers, size_t quantum,
H A Dtaskpool.h58 unsigned int quantum, bool priv, isc_taskpool_t **poolp);
/netbsd/external/bsd/ntp/dist/lib/isc/include/isc/
H A Dtask.h118 unsigned int quantum,
179 isc_task_create(isc_taskmgr_t *manager, unsigned int quantum,
H A Dtaskpool.h63 unsigned int ntasks, unsigned int quantum,
/netbsd/usr.sbin/mrouted/
H A Dsnmp.h35 extern int quantum;
H A Dsnmp.c770 if (quantum!=lastq || v_req->vifi != ifnum) {
771 lastq = quantum;
H A Dprune.c470 if (quantum != lastq || sg->src.s_addr!=st->st_origin in refresh_sg()
472 lastq = quantum; in refresh_sg()
/netbsd/sys/kern/
H A Dsubr_vmem.c932 vmem_addr_t base, vmem_size_t size, vmem_size_t quantum, in vmem_init() argument
940 KASSERT(quantum > 0); in vmem_init()
962 vm->vm_quantum_mask = quantum - 1; in vmem_init()
963 vm->vm_quantum_shift = SIZE2ORDER(quantum); in vmem_init()
964 KASSERT(ORDER2SIZE(vm->vm_quantum_shift) == quantum); in vmem_init()
1015 vmem_size_t quantum, vmem_import_t *importfn, vmem_release_t *releasefn, in vmem_create() argument
1021 return vmem_init(NULL, name, base, size, quantum, in vmem_create()
1033 vmem_size_t quantum, vmem_ximport_t *importfn, vmem_release_t *releasefn, in vmem_xcreate() argument
1039 return vmem_init(NULL, name, base, size, quantum, in vmem_xcreate()
/netbsd/external/bsd/jemalloc/dist/
H A DINSTALL.md237 * `--with-lg-quantum=<lg-quantum>`
251 <lg-quantum>. On most modern architectures, this mandates 16-byte
252 alignment (<lg-quantum>=4), but the glibc developers chose not to meet this
256 technically cheats for size classes smaller than the quantum), but the fact
259 follow glibc's lead. If you specify `--with-lg-quantum=3` during
/netbsd/sys/dev/ic/
H A Ddm9000.c849 int pad, quantum; in dme_alloc_receive_buffer() local
851 quantum = sc->sc_data_width; in dme_alloc_receive_buffer()
860 m->m_pkthdr.len = frame_length + (frame_length % quantum); in dme_alloc_receive_buffer()
874 m->m_len = frame_length + (frame_length % quantum); in dme_alloc_receive_buffer()
/netbsd/lib/libc/stdlib/
H A Djemalloc.c688 static size_t quantum; variable
2709 bin->reg_size = quantum * (i - ntbins + 1); in arena_new()
3300 _malloc_message("Quantum size: ", size_t2s(quantum, s), "\n", ""); in malloc_print_stats()
3618 quantum = (1 << opt_quantum_2pow); in malloc_init_hard()
3619 quantum_mask = quantum - 1; in malloc_init_hard()
3621 small_min = (quantum >> 1) + 1; in malloc_init_hard()
3624 assert(small_min <= quantum); in malloc_init_hard()
3650 assert(quantum >= sizeof(void *)); in malloc_init_hard()
3651 assert(quantum <= pagesize); in malloc_init_hard()
3653 assert(quantum * 4 <= chunksize); in malloc_init_hard()
/netbsd/external/mpl/bind/dist/lib/dns/include/dns/
H A Drbt.h706 dns_rbt_destroy2(dns_rbt_t **rbtp, unsigned int quantum);
/netbsd/sys/external/bsd/drm2/dist/drm/i915/
H A DKconfig.profile64 int "Scheduling quantum for userspace batches (ms, jiffy granularity)"
/netbsd/external/mpl/bind/dist/lib/dns/
H A Drbt.c446 deletetreeflat(dns_rbt_t *rbt, unsigned int quantum, bool unhash,
1062 dns_rbt_destroy2(dns_rbt_t **rbtp, unsigned int quantum) { in dns_rbt_destroy2() argument
1069 deletetreeflat(rbt, quantum, false, &rbt->root); in dns_rbt_destroy2()
2911 deletetreeflat(dns_rbt_t *rbt, unsigned int quantum, bool unhash, in deletetreeflat() argument
2954 if (quantum != 0 && --quantum == 0) { in deletetreeflat()
/netbsd/external/historical/nawk/dist/
H A Drun.c105 int adjbuf(char **pbuf, int *psiz, int minlen, int quantum, char **pbptr, in adjbuf() argument
119 int rminlen = quantum ? minlen % quantum : 0; in adjbuf()
123 minlen += quantum - rminlen; in adjbuf()
H A Db.c664 bool fnematch(fa *pfa, FILE *f, char **pbuf, int *pbufsize, int quantum) in fnematch() argument
687 if (!adjbuf((char **) &buf, &bufsize, bufsize+1, quantum, 0, "fnematch")) in fnematch()
/netbsd/external/bsd/jemalloc/dist/test/unit/
H A Dmallctl.c682 TEST_ARENAS_CONSTANT(size_t, quantum, QUANTUM); in TEST_BEGIN()

12