Searched refs:max_threads (Results 1 – 5 of 5) sorted by relevance
69 #define __RTE_QSBR_THRID_ARRAY_SIZE(max_threads) \ argument70 RTE_ALIGN(RTE_ALIGN_MUL_CEIL(max_threads, \73 ((struct rte_rcu_qsbr_cnt *)(v + 1) + v->max_threads) + i)113 uint32_t max_threads; member216 rte_rcu_qsbr_get_memsize(uint32_t max_threads);307 RTE_ASSERT(v != NULL && thread_id < v->max_threads); in rte_rcu_qsbr_thread_online()363 RTE_ASSERT(v != NULL && thread_id < v->max_threads); in rte_rcu_qsbr_thread_offline()401 RTE_ASSERT(v != NULL && thread_id < v->max_threads); in rte_rcu_qsbr_lock()434 RTE_ASSERT(v != NULL && thread_id < v->max_threads); in rte_rcu_qsbr_unlock()494 RTE_ASSERT(v != NULL && thread_id < v->max_threads); in rte_rcu_qsbr_quiescent()[all …]
28 rte_rcu_qsbr_get_memsize(uint32_t max_threads) in rte_rcu_qsbr_get_memsize() argument32 if (max_threads == 0) { in rte_rcu_qsbr_get_memsize()35 __func__, max_threads); in rte_rcu_qsbr_get_memsize()44 sz += sizeof(struct rte_rcu_qsbr_cnt) * max_threads; in rte_rcu_qsbr_get_memsize()47 sz += __RTE_QSBR_THRID_ARRAY_SIZE(max_threads); in rte_rcu_qsbr_get_memsize()66 sz = rte_rcu_qsbr_get_memsize(max_threads); in rte_rcu_qsbr_init()72 v->max_threads = max_threads; in rte_rcu_qsbr_init()73 v->num_elems = RTE_ALIGN_MUL_CEIL(max_threads, in rte_rcu_qsbr_init()91 if (v == NULL || thread_id >= v->max_threads) { in rte_rcu_qsbr_thread_register()143 if (v == NULL || thread_id >= v->max_threads) { in rte_rcu_qsbr_thread_unregister()[all …]
322 tpool_create(uint_t min_threads, uint_t max_threads, uint_t linger, in tpool_create() argument331 if (min_threads > max_threads || max_threads < 1) { in tpool_create()346 if (stacksize < minstack || max_threads != 1) { in tpool_create()366 tpool->tp_maximum = max_threads; in tpool_create()
42 extern tpool_t *tpool_create(uint_t min_threads, uint_t max_threads,
2211 …<parameter type-id='type-id-46' name='max_threads' filepath='/home/fedora/zfs/lib/libtpool/thread_…