Searched refs:num_elem (Results 1 – 10 of 10) sorted by relevance
/drivers/infiniband/sw/rxe/ |
D | rxe_queue.c | 56 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 …]
|
D | rxe_pool.c | 133 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()
|
D | rxe_pool.h | 75 atomic_t num_elem; member
|
D | rxe_queue.h | 59 int *num_elem,
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_sp.h | 272 int qed_eq_alloc(struct qed_hwfn *p_hwfn, u16 num_elem);
|
D | qed_spq.c | 383 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/ |
D | rtw_security.c | 2271 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/ |
D | i40iw_type.h | 660 u32 num_elem; member
|
D | i40iw_ctrl.c | 2027 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()
|
D | i40iw_main.c | 655 info.num_elem = IW_CCQ_SIZE; in i40iw_create_ccq()
|