Searched refs:num_elem (Results 1 – 13 of 13) sorted by relevance
/linux-6.3-rc2/drivers/infiniband/sw/rxe/ |
A D | rxe_queue.c | 55 struct rxe_queue *rxe_queue_init(struct rxe_dev *rxe, int *num_elem, in rxe_queue_init() argument 63 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 119 if (!queue_empty(q, q->type) && (num_elem < queue_count(q, type))) in resize_finish() 154 unsigned int num_elem = *num_elem_p; in rxe_queue_resize() local 159 new_q = rxe_queue_init(q->rxe, &num_elem, elem_size, q->type); in rxe_queue_resize() 175 err = resize_finish(q, new_q, num_elem); in rxe_queue_resize() 178 err = resize_finish(q, new_q, num_elem); in rxe_queue_resize() [all …]
|
A D | rxe_pool.c | 107 atomic_set(&pool->num_elem, 0); in rxe_pool_init() 125 if (atomic_inc_return(&pool->num_elem) > pool->max_elem) in __rxe_add_to_pool() 149 atomic_dec(&pool->num_elem); in __rxe_add_to_pool() 235 atomic_dec(&pool->num_elem); in __rxe_cleanup()
|
A D | rxe_pool.h | 38 atomic_t num_elem; member
|
A D | rxe_queue.h | 85 struct rxe_queue *rxe_queue_init(struct rxe_dev *rxe, int *num_elem,
|
/linux-6.3-rc2/net/mac80211/ |
A D | fils_aead.c | 37 for (i = 0; i < num_elem - 1; i++) { in aes_s2v() 68 size_t num_elem, const u8 *addr[], in aes_siv_encrypt() argument 81 addr[num_elem] = plain; in aes_siv_encrypt() 82 len[num_elem] = plain_len; in aes_siv_encrypt() 83 num_elem++; in aes_siv_encrypt() 93 res = aes_s2v(tfm, num_elem, addr, len, v); in aes_siv_encrypt() 146 size_t num_elem, const u8 *addr[], size_t len[], in aes_siv_decrypt() argument 160 addr[num_elem] = out; in aes_siv_decrypt() 161 len[num_elem] = crypt_len; in aes_siv_decrypt() 162 num_elem++; in aes_siv_decrypt() [all …]
|
/linux-6.3-rc2/kernel/bpf/ |
A D | stackmap.c | 392 u32 trace_nr, copy_len, elem_size, num_elem, max_depth; in __bpf_get_stack() local 416 num_elem = size / elem_size; in __bpf_get_stack() 417 max_depth = num_elem + skip; in __bpf_get_stack() 435 trace_nr = (trace_nr <= num_elem) ? trace_nr : num_elem; in __bpf_get_stack()
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/ |
A D | qed_sp.h | 276 int qed_eq_alloc(struct qed_hwfn *p_hwfn, u16 num_elem);
|
A D | qed_spq.c | 397 int qed_eq_alloc(struct qed_hwfn *p_hwfn, u16 num_elem) in qed_eq_alloc() argument 403 .num_elems = num_elem, in qed_eq_alloc()
|
/linux-6.3-rc2/net/tls/ |
A D | tls_sw.c | 1363 int rc = 0, i = 0, num_elem = *pages_used, maxpages; in tls_setup_from_iter() local 1371 maxpages = to_max_pages - num_elem; in tls_setup_from_iter() 1389 sg_set_page(&to[num_elem], in tls_setup_from_iter() 1391 sg_unmark_end(&to[num_elem]); in tls_setup_from_iter() 1398 num_elem++; in tls_setup_from_iter() 1402 if (num_elem > *pages_used) in tls_setup_from_iter() 1403 sg_mark_end(&to[num_elem - 1]); in tls_setup_from_iter() 1407 *pages_used = num_elem; in tls_setup_from_iter()
|
/linux-6.3-rc2/drivers/staging/rtl8723bs/core/ |
A D | rtw_security.c | 1473 static int omac1_aes_128_vector(u8 *key, size_t num_elem, in omac1_aes_128_vector() argument 1488 for (e = 0; e < num_elem; e++) in omac1_aes_128_vector()
|
/linux-6.3-rc2/drivers/infiniband/hw/irdma/ |
A D | type.h | 816 u32 num_elem; member
|
A D | ctrl.c | 4147 if (info->num_elem < info->dev->hw_attrs.uk_attrs.min_hw_cq_size || in irdma_sc_ccq_init() 4148 info->num_elem > info->dev->hw_attrs.uk_attrs.max_hw_cq_size) in irdma_sc_ccq_init() 4166 cq->cq_uk.cq_size = info->num_elem; in irdma_sc_ccq_init() 4169 IRDMA_RING_INIT(cq->cq_uk.cq_ring, info->num_elem); in irdma_sc_ccq_init()
|
A D | hw.c | 1031 info.num_elem = IW_CCQ_SIZE; in irdma_create_ccq()
|
Completed in 44 milliseconds