Home
last modified time | relevance | path

Searched refs:q_size (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/crypto/
Ddh_helper.c35 return p->key_size + p->p_size + p->q_size + p->g_size; in dh_data_size()
60 ptr = dh_pack_data(ptr, end, &params->q_size, sizeof(params->q_size)); in crypto_dh_encode_key()
64 ptr = dh_pack_data(ptr, end, params->q, params->q_size); in crypto_dh_encode_key()
86 ptr = dh_unpack_data(&params->q_size, ptr, sizeof(params->q_size)); in crypto_dh_decode_key()
96 params->g_size > params->p_size || params->q_size > params->p_size) in crypto_dh_decode_key()
106 params->q_size); in crypto_dh_decode_key()
117 if (params->q_size == 0) in crypto_dh_decode_key()
Ddh.c65 if (params->q && params->q_size) { in dh_set_params()
66 ctx->q = mpi_read_raw_data(params->q, params->q_size); in dh_set_params()
/Linux-v4.19/include/linux/
Dstring.h290 size_t q_size = __builtin_object_size(q, 0); in strlcpy() local
291 if (p_size == (size_t)-1 && q_size == (size_t)-1) in strlcpy()
311 size_t q_size = __builtin_object_size(q, 0); in strncat() local
312 if (p_size == (size_t)-1 && q_size == (size_t)-1) in strncat()
336 size_t q_size = __builtin_object_size(q, 0); in memcpy() local
340 if (q_size < size) in memcpy()
343 if (p_size < size || q_size < size) in memcpy()
351 size_t q_size = __builtin_object_size(q, 0); in memmove() local
355 if (q_size < size) in memmove()
358 if (p_size < size || q_size < size) in memmove()
[all …]
/Linux-v4.19/drivers/net/ethernet/cavium/liquidio/
Drequest_manager.c63 u32 q_size; in octeon_init_instr_queue() local
80 q_size = (u32)conf->instr_type * num_descs; in octeon_init_instr_queue()
86 iq->base_addr = lio_dma_alloc(oct, q_size, &iq->base_addr_dma); in octeon_init_instr_queue()
105 lio_dma_free(oct, q_size, iq->base_addr, iq->base_addr_dma); in octeon_init_instr_queue()
152 lio_dma_free(oct, q_size, iq->base_addr, iq->base_addr_dma); in octeon_init_instr_queue()
170 u64 desc_size = 0, q_size; in octeon_delete_instr_queue() local
189 q_size = iq->max_count * desc_size; in octeon_delete_instr_queue()
190 lio_dma_free(oct, (u32)q_size, iq->base_addr, in octeon_delete_instr_queue()
/Linux-v4.19/include/crypto/
Ddh.h46 unsigned int q_size; member
/Linux-v4.19/arch/sparc/kernel/
Dpci_sun4v.c1068 unsigned long q_size, alloc_size, pages, order; in pci_sun4v_msiq_alloc() local
1071 q_size = pbm->msiq_ent_count * sizeof(struct pci_sun4v_msiq_entry); in pci_sun4v_msiq_alloc()
1072 alloc_size = (pbm->msiq_num * q_size); in pci_sun4v_msiq_alloc()
1084 unsigned long err, base = __pa(pages + (i * q_size)); in pci_sun4v_msiq_alloc()
1122 unsigned long q_size, alloc_size, pages, order; in pci_sun4v_msiq_free() local
1131 q_size = pbm->msiq_ent_count * sizeof(struct pci_sun4v_msiq_entry); in pci_sun4v_msiq_free()
1132 alloc_size = (pbm->msiq_num * q_size); in pci_sun4v_msiq_free()
/Linux-v4.19/drivers/crypto/cavium/cpt/
Dcptvf_main.c211 size_t q_size; in alloc_command_queues() local
221 q_size = qlen * cqinfo->cmd_size; in alloc_command_queues()
226 size_t rem_q_size = q_size; in alloc_command_queues()
/Linux-v4.19/drivers/media/platform/qcom/venus/
Dhfi_venus.c76 u32 q_size; member
201 qsize = qhdr->q_size; in venus_write_queue()
266 qsize = qhdr->q_size; in venus_read_queue()
691 qhdr->q_size = IFACEQ_QUEUE_SIZE / 4; in venus_set_qhdr_defaults()
/Linux-v4.19/drivers/net/hyperv/
Dhyperv_net.h685 u16 q_size; member
747 u16 q_size; member
/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbna_tx_rx.c3326 u32 q_size; in bna_tx_res_req() local
3336 q_size = txq_depth * BFI_TXQ_WI_SIZE; in bna_tx_res_req()
3337 q_size = ALIGN(q_size, PAGE_SIZE); in bna_tx_res_req()
3338 page_count = q_size >> PAGE_SHIFT; in bna_tx_res_req()
/Linux-v4.19/drivers/media/platform/
Drcar_jpu.c1025 unsigned int q_size = q_data->format.plane_fmt[i].sizeimage; in jpu_queue_setup() local
1027 if (sizes[i] < q_size) in jpu_queue_setup()
/Linux-v4.19/drivers/md/
Ddm-cache-policy-smq.c287 static unsigned q_size(struct queue *q) in q_size() function
1140 return q_size(&mq->dirty) == 0u; in clean_target_met()