Home
last modified time | relevance | path

Searched refs:num_elem (Results 1 – 10 of 10) sorted by relevance

/drivers/infiniband/sw/rxe/
Drxe_queue.c56 int *num_elem, in rxe_queue_init() argument
64 if (*num_elem < 0) in rxe_queue_init()
83 num_slots = *num_elem + 1; in rxe_queue_init()
98 *num_elem = num_slots - 1; in rxe_queue_init()
112 unsigned int num_elem) in resize_finish() argument
114 if (!queue_empty(q) && (num_elem < queue_count(q))) in resize_finish()
135 unsigned int num_elem = *num_elem_p; in rxe_queue_resize() local
139 new_q = rxe_queue_init(q->rxe, &num_elem, elem_size); in rxe_queue_resize()
155 err = resize_finish(q, new_q, num_elem); in rxe_queue_resize()
158 err = resize_finish(q, new_q, num_elem); in rxe_queue_resize()
[all …]
Drxe_pool.c133 atomic_set(&pool->num_elem, 0); in rxe_pool_init()
177 if (atomic_read(&pool->num_elem) > 0) in rxe_pool_cleanup()
323 if (atomic_inc_return(&pool->num_elem) > pool->max_elem) in rxe_alloc()
338 atomic_dec(&pool->num_elem); in rxe_alloc()
362 if (atomic_inc_return(&pool->num_elem) > pool->max_elem) in rxe_add_to_pool()
371 atomic_dec(&pool->num_elem); in rxe_add_to_pool()
389 atomic_dec(&pool->num_elem); in rxe_elem_release()
Drxe_pool.h75 atomic_t num_elem; member
Drxe_queue.h59 int *num_elem,
/drivers/net/ethernet/qlogic/qed/
Dqed_sp.h272 int qed_eq_alloc(struct qed_hwfn *p_hwfn, u16 num_elem);
Dqed_spq.c383 int qed_eq_alloc(struct qed_hwfn *p_hwfn, u16 num_elem) in qed_eq_alloc() argument
389 .num_elems = num_elem, in qed_eq_alloc()
/drivers/staging/rtl8723bs/core/
Drtw_security.c2271 static int omac1_aes_128_vector(u8 *key, size_t num_elem, in omac1_aes_128_vector() argument
2285 for (e = 0; e < num_elem; e++) in omac1_aes_128_vector()
/drivers/infiniband/hw/i40iw/
Di40iw_type.h660 u32 num_elem; member
Di40iw_ctrl.c2027 if (info->num_elem < I40IW_MIN_CQ_SIZE || info->num_elem > I40IW_MAX_CQ_SIZE) in i40iw_sc_ccq_init()
2045 cq->cq_uk.cq_size = info->num_elem; in i40iw_sc_ccq_init()
2048 I40IW_RING_INIT(cq->cq_uk.cq_ring, info->num_elem); in i40iw_sc_ccq_init()
Di40iw_main.c655 info.num_elem = IW_CCQ_SIZE; in i40iw_create_ccq()