Lines Matching defs:max_threads
27 rte_rcu_qsbr_get_memsize(uint32_t max_threads)
31 if (max_threads == 0) {
32 RCU_LOG(ERR, "Invalid max_threads %u", max_threads);
41 sz += sizeof(struct rte_rcu_qsbr_cnt) * max_threads;
44 sz += __RTE_QSBR_THRID_ARRAY_SIZE(max_threads);
51 rte_rcu_qsbr_init(struct rte_rcu_qsbr *v, uint32_t max_threads)
62 sz = rte_rcu_qsbr_get_memsize(max_threads);
68 v->max_threads = max_threads;
69 v->num_elems = RTE_ALIGN_MUL_CEIL(max_threads,
87 if (v == NULL || thread_id >= v->max_threads) {
122 if (v == NULL || thread_id >= v->max_threads) {
188 rte_rcu_qsbr_get_memsize(v->max_threads));
189 fprintf(f, " Given # max threads = %u\n", v->max_threads);