Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/net/mac80211/
Dfils_aead.c26 size_t num_elem, const u8 *addr[], size_t len[], u8 *v) in aes_s2v() argument
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()
[all …]
/kernel/linux/linux-5.10/kernel/bpf/
Dstackmap.c582 u32 init_nr, trace_nr, copy_len, elem_size, num_elem; in __bpf_get_stack() local
606 num_elem = size / elem_size; in __bpf_get_stack()
607 if (sysctl_perf_event_max_stack < num_elem) in __bpf_get_stack()
610 init_nr = sysctl_perf_event_max_stack - num_elem; in __bpf_get_stack()
628 trace_nr = (trace_nr <= num_elem) ? trace_nr : num_elem; in __bpf_get_stack()
/kernel/linux/linux-5.10/net/tls/
Dtls_sw.c1350 int rc = 0, i = 0, num_elem = *pages_used, maxpages; in tls_setup_from_iter() local
1358 maxpages = to_max_pages - num_elem; in tls_setup_from_iter()
1378 sg_set_page(&to[num_elem], in tls_setup_from_iter()
1380 sg_unmark_end(&to[num_elem]); in tls_setup_from_iter()
1387 num_elem++; in tls_setup_from_iter()
1391 if (num_elem > *pages_used) in tls_setup_from_iter()
1392 sg_mark_end(&to[num_elem - 1]); in tls_setup_from_iter()
1397 *pages_used = num_elem; in tls_setup_from_iter()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()