Home
last modified time | relevance | path

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

/linux/include/linux/
A Dfortify-string.h114 size_t q_size = __builtin_object_size(q, 1); in strlcpy() local
143 size_t q_size = __builtin_object_size(q, 1); in strscpy() local
188 size_t q_size = __builtin_object_size(q, 1); in strncat() local
215 size_t q_size = __builtin_object_size(q, 0); in memcpy() local
220 if (q_size < size) in memcpy()
223 if (p_size < size || q_size < size) in memcpy()
231 size_t q_size = __builtin_object_size(q, 0); in memmove() local
236 if (q_size < size) in memmove()
239 if (p_size < size || q_size < size) in memmove()
264 if (q_size < size) in memcmp()
[all …]
/linux/crypto/
A Ddh_helper.c31 return p->key_size + p->p_size + p->q_size + p->g_size; in dh_data_size()
56 ptr = dh_pack_data(ptr, end, &params->q_size, sizeof(params->q_size)); in crypto_dh_encode_key()
60 ptr = dh_pack_data(ptr, end, params->q, params->q_size); in crypto_dh_encode_key()
82 ptr = dh_unpack_data(&params->q_size, ptr, sizeof(params->q_size)); in crypto_dh_decode_key()
92 params->g_size > params->p_size || params->q_size > params->p_size) in crypto_dh_decode_key()
102 params->q_size); in crypto_dh_decode_key()
113 if (params->q_size == 0) in crypto_dh_decode_key()
A Ddh.c62 if (params->q && params->q_size) { in dh_set_params()
63 ctx->q = mpi_read_raw_data(params->q, params->q_size); in dh_set_params()
/linux/drivers/misc/bcm-vk/
A Dbcm_vk_msg.c102 return (qinfo->q_size - msgq_occupied(msgq, qinfo) - 1); in msgq_avail_space()
495 qinfo->q_size = msgq_size; in bcm_vk_sync_msgq()
497 qinfo->q_low = qinfo->q_size >> 1; in bcm_vk_sync_msgq()
498 qinfo->q_mask = qinfo->q_size - 1; in bcm_vk_sync_msgq()
560 avail, qinfo->q_size); in bcm_vk_append_ib_sgl()
644 if (wr_idx >= qinfo->q_size) { in bcm_to_v_msg_enqueue()
646 wr_idx, qinfo->q_size); in bcm_to_v_msg_enqueue()
806 max_msg_to_process = BCM_VK_MSG_PROC_MAX_LOOP * qinfo->q_size; in bcm_to_h_msg_dequeue()
826 if ((rd_idx >= qinfo->q_size) || in bcm_to_h_msg_dequeue()
827 (src_size > (qinfo->q_size - 1))) { in bcm_to_h_msg_dequeue()
[all …]
A Dbcm_vk_msg.h44 u32 q_size; member
/linux/drivers/net/ethernet/cavium/liquidio/
A 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()
103 lio_dma_free(oct, q_size, iq->base_addr, iq->base_addr_dma); in octeon_init_instr_queue()
149 lio_dma_free(oct, q_size, iq->base_addr, iq->base_addr_dma); in octeon_init_instr_queue()
167 u64 desc_size = 0, q_size; in octeon_delete_instr_queue() local
186 q_size = iq->max_count * desc_size; in octeon_delete_instr_queue()
187 lio_dma_free(oct, (u32)q_size, iq->base_addr, in octeon_delete_instr_queue()
/linux/include/crypto/
A Ddh.h41 unsigned int q_size; member
/linux/arch/sparc/kernel/
A Dpci_sun4v.c1056 unsigned long q_size, alloc_size, pages, order; in pci_sun4v_msiq_alloc() local
1059 q_size = pbm->msiq_ent_count * sizeof(struct pci_sun4v_msiq_entry); in pci_sun4v_msiq_alloc()
1060 alloc_size = (pbm->msiq_num * q_size); in pci_sun4v_msiq_alloc()
1072 unsigned long err, base = __pa(pages + (i * q_size)); in pci_sun4v_msiq_alloc()
1110 unsigned long q_size, alloc_size, pages, order; in pci_sun4v_msiq_free() local
1119 q_size = pbm->msiq_ent_count * sizeof(struct pci_sun4v_msiq_entry); in pci_sun4v_msiq_free()
1120 alloc_size = (pbm->msiq_num * q_size); in pci_sun4v_msiq_free()
/linux/drivers/net/ethernet/pensando/ionic/
A Dionic_lif.c376 dma_free_coherent(dev, qcq->q_size, qcq->q_base, qcq->q_base_pa); in ionic_qcq_free()
568 int q_size, cq_size; in ionic_qcq_alloc() local
571 q_size = ALIGN(num_descs * desc_size, PAGE_SIZE); in ionic_qcq_alloc()
574 new->q_size = PAGE_SIZE + q_size + cq_size; in ionic_qcq_alloc()
575 new->q_base = dma_alloc_coherent(dev, new->q_size, in ionic_qcq_alloc()
586 cq_base = PTR_ALIGN(q_base + q_size, PAGE_SIZE); in ionic_qcq_alloc()
587 cq_base_pa = ALIGN(new->q_base_pa + q_size, PAGE_SIZE); in ionic_qcq_alloc()
591 new->q_size = PAGE_SIZE + (num_descs * desc_size); in ionic_qcq_alloc()
641 dma_free_coherent(dev, new->q_size, new->q_base, new->q_base_pa); in ionic_qcq_alloc()
721 memset(qcq->q_base, 0, qcq->q_size); in ionic_qcq_sanitize()
[all …]
A Dionic_lif.h66 u32 q_size; member
A Dionic_debugfs.c131 debugfs_create_x32("q_size", 0400, qcq_dentry, &qcq->q_size); in ionic_debugfs_add_qcq()
/linux/drivers/crypto/cavium/cpt/
A Dcptvf_main.c208 size_t q_size; in alloc_command_queues() local
218 q_size = qlen * cqinfo->cmd_size; in alloc_command_queues()
223 size_t rem_q_size = q_size; in alloc_command_queues()
/linux/drivers/crypto/marvell/octeontx/
A Dotx_cptvf_main.c194 size_t q_size, c_size, rem_q_size; in alloc_command_queues() local
203 q_size = qlen * OTX_CPT_INST_SIZE; in alloc_command_queues()
210 rem_q_size = q_size; in alloc_command_queues()
/linux/drivers/infiniband/ulp/rtrs/
A Drtrs-srv.c956 static int post_recv_io(struct rtrs_srv_con *con, size_t q_size) in post_recv_io() argument
960 for (i = 0; i < q_size; i++) { in post_recv_io()
973 size_t q_size; in post_recv_sess() local
978 q_size = SERVICE_CON_QUEUE_DEPTH; in post_recv_sess()
980 q_size = srv->queue_depth; in post_recv_sess()
982 err = post_recv_io(to_srv_con(sess->s.con[cid]), q_size); in post_recv_sess()
A Drtrs-clt.c693 static int post_recv_io(struct rtrs_clt_con *con, size_t q_size) in post_recv_io() argument
698 for (i = 0; i < q_size; i++) { in post_recv_io()
715 size_t q_size = 0; in post_recv_sess() local
720 q_size = SERVICE_CON_QUEUE_DEPTH; in post_recv_sess()
722 q_size = sess->queue_depth; in post_recv_sess()
728 q_size *= 2; in post_recv_sess()
730 err = post_recv_io(to_clt_con(sess->s.con[cid]), q_size); in post_recv_sess()
/linux/drivers/media/platform/qcom/venus/
A Dhfi_venus.c62 u32 q_size; member
187 qsize = qhdr->q_size; in venus_write_queue()
252 qsize = qhdr->q_size; in venus_read_queue()
740 qhdr->q_size = IFACEQ_QUEUE_SIZE / 4; in venus_set_qhdr_defaults()
/linux/drivers/net/hyperv/
A Dhyperv_net.h729 u16 q_size; member
791 u16 q_size; member
/linux/drivers/net/ethernet/brocade/bna/
A Dbna_tx_rx.c3318 u32 q_size; in bna_tx_res_req() local
3328 q_size = txq_depth * BFI_TXQ_WI_SIZE; in bna_tx_res_req()
3329 q_size = ALIGN(q_size, PAGE_SIZE); in bna_tx_res_req()
3330 page_count = q_size >> PAGE_SHIFT; in bna_tx_res_req()
/linux/drivers/media/platform/
A Drcar_jpu.c1019 unsigned int q_size = q_data->format.plane_fmt[i].sizeimage; in jpu_queue_setup() local
1021 if (sizes[i] < q_size) in jpu_queue_setup()
/linux/drivers/md/
A 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()
/linux/drivers/scsi/ibmvscsi/
A Dibmvfc.c2428 int wait, i, q_index, q_size; in ibmvfc_wait_for_ops() local
2436 q_size = vhost->scsi_scrqs.active_queues; in ibmvfc_wait_for_ops()
2439 q_size = 1; in ibmvfc_wait_for_ops()
2445 for (q_index = 0; q_index < q_size; q_index++) { in ibmvfc_wait_for_ops()
2466 for (q_index = 0; q_index < q_size; q_index++) { in ibmvfc_wait_for_ops()

Completed in 94 milliseconds