/linux/drivers/infiniband/sw/rxe/ |
H 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() 111 unsigned int num_elem) in resize_finish() argument 118 if (!queue_empty(q, q->type) && (num_elem < queue_count(q, type))) in resize_finish() 153 unsigned int num_elem = *num_elem_p; in rxe_queue_resize() local 158 new_q = rxe_queue_init(q->rxe, &num_elem, elem_size, q->type); in rxe_queue_resize() 174 err = resize_finish(q, new_q, num_elem); in rxe_queue_resize() 177 err = resize_finish(q, new_q, num_elem); in rxe_queue_resize() [all …]
|
H 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()
|
H A D | rxe_pool.h | 38 atomic_t num_elem; member
|
H A D | rxe_queue.h | 85 struct rxe_queue *rxe_queue_init(struct rxe_dev *rxe, int *num_elem,
|
/linux/net/mac80211/ |
H A D | fils_aead.c | 26 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 …]
|
/linux/kernel/bpf/ |
H A D | stackmap.c | 409 u32 trace_nr, copy_len, elem_size, num_elem, max_depth; in __bpf_get_stack() local 441 num_elem = size / elem_size; in __bpf_get_stack() 442 max_depth = num_elem + skip; in __bpf_get_stack() 464 trace_nr = (trace_nr <= num_elem) ? trace_nr : num_elem; in __bpf_get_stack()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_sp.h | 276 int qed_eq_alloc(struct qed_hwfn *p_hwfn, u16 num_elem);
|
H 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/net/tls/ |
H A D | tls_sw.c | 1369 int rc = 0, i = 0, num_elem = *pages_used, maxpages; in tls_setup_from_iter() local 1377 maxpages = to_max_pages - num_elem; in tls_setup_from_iter() 1395 sg_set_page(&to[num_elem], in tls_setup_from_iter() 1397 sg_unmark_end(&to[num_elem]); in tls_setup_from_iter() 1404 num_elem++; in tls_setup_from_iter() 1408 if (num_elem > *pages_used) in tls_setup_from_iter() 1409 sg_mark_end(&to[num_elem - 1]); in tls_setup_from_iter() 1413 *pages_used = num_elem; in tls_setup_from_iter()
|
/linux/arch/x86/kernel/apic/ |
H A D | x2apic_uv_x.c | 1440 static int __init alloc_conv_table(int num_elem, unsigned short **table) in alloc_conv_table() argument 1445 bytes = num_elem * sizeof(*table[0]); in alloc_conv_table() 1449 for (i = 0; i < num_elem; i++) in alloc_conv_table()
|
/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_security.c | 1472 static int omac1_aes_128_vector(u8 *key, size_t num_elem, in omac1_aes_128_vector() argument 1487 for (e = 0; e < num_elem; e++) in omac1_aes_128_vector()
|
/linux/include/linux/avf/ |
H A D | virtchnl.h | 1459 u16 num_elem; member
|
/linux/drivers/infiniband/hw/irdma/ |
H A D | type.h | 774 u32 num_elem; member
|
H A D | ctrl.c | 4170 if (info->num_elem < info->dev->hw_attrs.uk_attrs.min_hw_cq_size || in irdma_sc_ccq_init() 4171 info->num_elem > info->dev->hw_attrs.uk_attrs.max_hw_cq_size) in irdma_sc_ccq_init() 4189 cq->cq_uk.cq_size = info->num_elem; in irdma_sc_ccq_init() 4192 IRDMA_RING_INIT(cq->cq_uk.cq_ring, info->num_elem); in irdma_sc_ccq_init()
|
H A D | hw.c | 1061 info.num_elem = IW_CCQ_SIZE; in irdma_create_ccq()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_virtchnl.c | 1092 cap_list->num_elem = numtc; in ice_vc_get_qos_caps()
|