Home
last modified time | relevance | path

Searched refs:qsize (Results 1 – 25 of 59) sorted by relevance

123

/linux-6.1.9/lib/mpi/
Dmpi-div.c89 mpi_size_t qsize, rsize; in mpi_tdiv_qr() local
104 qsize = rsize - dsize; /* qsize cannot be bigger than this. */ in mpi_tdiv_qr()
105 if (qsize <= 0) { in mpi_tdiv_qr()
122 mpi_resize(quot, qsize); in mpi_tdiv_qr()
135 qsize -= qp[qsize - 1] == 0; in mpi_tdiv_qr()
136 quot->nlimbs = qsize; in mpi_tdiv_qr()
210 qsize = rsize - dsize; in mpi_tdiv_qr()
212 qp[qsize] = q_limb; in mpi_tdiv_qr()
213 qsize += 1; in mpi_tdiv_qr()
216 quot->nlimbs = qsize; in mpi_tdiv_qr()
/linux-6.1.9/include/sound/
Dpcm-indirect.h41 int qsize; in snd_pcm_indirect_playback_transfer() local
51 qsize = rec->hw_queue_size ? rec->hw_queue_size : rec->hw_buffer_size; in snd_pcm_indirect_playback_transfer()
52 while (rec->hw_ready < qsize && rec->sw_ready > 0) { in snd_pcm_indirect_playback_transfer()
55 unsigned int bytes = qsize - rec->hw_ready; in snd_pcm_indirect_playback_transfer()
153 int qsize; in snd_pcm_indirect_capture_pointer() local
159 qsize = rec->hw_queue_size ? rec->hw_queue_size : rec->hw_buffer_size; in snd_pcm_indirect_capture_pointer()
160 if (rec->hw_ready > qsize) in snd_pcm_indirect_capture_pointer()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Dcommon.h44 u32 qsize; member
48 int qsize, int entry_sz) in qmem_alloc() argument
53 if (!qsize) in qmem_alloc()
62 qmem->alloc_sz = (qsize * entry_sz) + OTX2_ALIGN; in qmem_alloc()
68 qmem->qsize = qsize; in qmem_alloc()
Drvu_npa.c66 if (!pfvf->aura_ctx || req->aura_id >= pfvf->aura_ctx->qsize) in rvu_npa_aq_enq_inst()
121 if (req->aura.pool_addr >= pfvf->pool_ctx->qsize) { in rvu_npa_aq_enq_inst()
218 cnt = pfvf->pool_ctx->qsize; in npa_lf_hwctx_disable()
225 cnt = pfvf->aura_ctx->qsize; in npa_lf_hwctx_disable()
Drvu_debugfs.c927 pfvf->aura_ctx->qsize); in print_npa_qsize()
928 seq_printf(m, "Aura count : %d\n", pfvf->aura_ctx->qsize); in print_npa_qsize()
936 pfvf->pool_ctx->qsize); in print_npa_qsize()
937 seq_printf(m, "Pool count : %d\n", pfvf->pool_ctx->qsize); in print_npa_qsize()
1206 max_id = pfvf->aura_ctx->qsize; in rvu_dbg_npa_ctx_display()
1209 max_id = pfvf->pool_ctx->qsize; in rvu_dbg_npa_ctx_display()
1257 max_id = pfvf->aura_ctx->qsize; in write_npa_ctx()
1263 max_id = pfvf->pool_ctx->qsize; in write_npa_ctx()
1842 cq_ctx->qsize, cq_ctx->caching); in print_nix_cq_ctx()
1904 max_id = pfvf->sq_ctx->qsize; in rvu_dbg_nix_queue_ctx_display()
[all …]
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dxdp_cpumap_attach.c17 .qsize = 192, in test_xdp_with_cpumap_helpers()
53 val.qsize = 192; in test_xdp_with_cpumap_helpers()
62 val.qsize = 192; in test_xdp_with_cpumap_helpers()
77 .qsize = 192, in test_xdp_with_cpumap_frags_helpers()
105 val.qsize = 192; in test_xdp_with_cpumap_frags_helpers()
/linux-6.1.9/samples/bpf/
Dxdp_redirect_cpu_user.c132 value->qsize, value->bpf_prog.fd, curr_cpus_count); in create_cpu_entry()
167 value->qsize = 1024; in stress_cpumap()
169 value->qsize = 8; in stress_cpumap()
171 value->qsize = 16000; in stress_cpumap()
326 __u32 qsize; in main() local
347 qsize = 2048; in main()
456 qsize = strtoul(optarg, NULL, 0); in main()
532 value.qsize = qsize; in main()
/linux-6.1.9/drivers/crypto/cavium/nitrox/
Dnitrox_lib.c29 cmdq->qsize = (ndev->qlen * cmdq->instr_size) + align_bytes; in nitrox_cmdq_init()
30 cmdq->unalign_base = dma_alloc_coherent(DEV(ndev), cmdq->qsize, in nitrox_cmdq_init()
73 dma_free_coherent(DEV(ndev), cmdq->qsize, in nitrox_cmdq_cleanup()
83 cmdq->qsize = 0; in nitrox_cmdq_cleanup()
Dnitrox_hal.c359 union aqmq_qsz qsize; in nitrox_config_aqm_rings() local
384 qsize.value = 0; in nitrox_config_aqm_rings()
385 qsize.host_queue_size = ndev->qlen; in nitrox_config_aqm_rings()
386 nitrox_write_csr(ndev, offset, qsize.value); in nitrox_config_aqm_rings()
Dnitrox_dev.h61 u32 qsize; member
/linux-6.1.9/drivers/dma/ptdma/
Dptdma-dev.c206 cmd_q->qsize = Q_SIZE(Q_DESC_SIZE); in pt_core_init()
207 cmd_q->qbase = dma_alloc_coherent(dev, cmd_q->qsize, in pt_core_init()
269 dma_free_coherent(dev, cmd_q->qsize, cmd_q->qbase, cmd_q->qbase_dma); in pt_core_init()
299 dma_free_coherent(dev, cmd_q->qsize, cmd_q->qbase, in pt_core_destroy()
/linux-6.1.9/drivers/net/wireless/broadcom/b43legacy/
Dpio.c321 u16 qsize; in b43legacy_setup_pioqueue() local
340 qsize = b43legacy_read16(dev, queue->mmio_base in b43legacy_setup_pioqueue()
342 if (qsize == 0) { in b43legacy_setup_pioqueue()
348 if (qsize <= B43legacy_PIO_TXQADJUST) { in b43legacy_setup_pioqueue()
350 qsize); in b43legacy_setup_pioqueue()
353 qsize -= B43legacy_PIO_TXQADJUST; in b43legacy_setup_pioqueue()
354 queue->tx_devq_size = qsize; in b43legacy_setup_pioqueue()
/linux-6.1.9/drivers/net/ethernet/cavium/thunder/
Dq_struct.h597 u64 qsize:3; member
605 u64 qsize:3;
624 u64 qsize:3; member
630 u64 qsize:3;
649 u64 qsize:4; member
659 u64 qsize:4;
/linux-6.1.9/drivers/nvme/host/
Dtrace.c25 u16 qsize = get_unaligned_le16(cdw10 + 2); in nvme_trace_create_sq() local
31 sqid, qsize, sq_flags, cqid); in nvme_trace_create_sq()
52 u16 qsize = get_unaligned_le16(cdw10 + 2); in nvme_trace_create_cq() local
57 cqid, qsize, cq_flags, irq_vector); in nvme_trace_create_cq()
/linux-6.1.9/kernel/bpf/
Dcpumap.c95 (value_size != offsetofend(struct bpf_cpumap_val, qsize) && in cpu_map_alloc()
455 err = ptr_ring_init(rcpu->queue, value->qsize, gfp); in __cpu_map_entry_alloc()
461 rcpu->value.qsize = value->qsize; in __cpu_map_entry_alloc()
574 if (unlikely(cpumap_value.qsize > 16384)) /* sanity limit on qsize */ in cpu_map_update_elem()
581 if (cpumap_value.qsize == 0) { in cpu_map_update_elem()
/linux-6.1.9/drivers/media/platform/qcom/venus/
Dhfi_venus.c169 u32 empty_space, rd_idx, wr_idx, qsize; in venus_write_queue() local
187 qsize = qhdr->q_size; in venus_write_queue()
192 empty_space = qsize - (wr_idx - rd_idx); in venus_write_queue()
209 if (new_wr_idx < qsize) { in venus_write_queue()
214 new_wr_idx -= qsize; in venus_write_queue()
237 u32 rd_idx, wr_idx, type, qsize; in venus_read_queue() local
252 qsize = qhdr->q_size; in venus_read_queue()
281 if (((dwords << 2) <= IFACEQ_VAR_HUGE_PKT_SIZE) && rd_idx <= qsize) { in venus_read_queue()
282 if (new_rd_idx < qsize) { in venus_read_queue()
287 new_rd_idx -= qsize; in venus_read_queue()
/linux-6.1.9/drivers/scsi/aacraid/
Dcomminit.c259 static void aac_queue_init(struct aac_dev * dev, struct aac_queue * q, u32 *mem, int qsize) in aac_queue_init() argument
270 *(q->headers.producer) = cpu_to_le32(qsize); in aac_queue_init()
271 *(q->headers.consumer) = cpu_to_le32(qsize); in aac_queue_init()
272 q->entries = qsize; in aac_queue_init()
/linux-6.1.9/drivers/crypto/marvell/octeontx/
Dotx_cptvf.h86 u32 qsize; member
Dotx_cptvf_mbox.c177 mbx.data = cptvf->qsize; in otx_cptvf_send_vq_size_msg()
/linux-6.1.9/drivers/crypto/cavium/cpt/
Dcptvf.h109 u32 qsize; member
/linux-6.1.9/net/ipv4/
Dinet_fragment.c104 f->frags_cachep = kmem_cache_create(f->frags_cache_name, f->qsize, 0, 0, in inet_frags_init()
298 sum = sum_truesize + f->qsize; in inet_frag_destroy()
318 add_frag_mem_limit(fqdir, f->qsize); in inet_frag_alloc()
/linux-6.1.9/include/net/
Dinet_frag.h105 unsigned int qsize; member
/linux-6.1.9/arch/powerpc/sysdev/xive/
Dnative.c791 __be64 qsize; in xive_native_get_queue_info() local
797 rc = opal_xive_get_queue_info(vp_id, prio, &qpage, &qsize, in xive_native_get_queue_info()
807 *out_qsize = be32_to_cpu(qsize); in xive_native_get_queue_info()
Dspapr.c302 unsigned long qsize) in plpar_int_set_queue_config() argument
307 flags, target, priority, qpage, qsize); in plpar_int_set_queue_config()
311 priority, qpage, qsize); in plpar_int_set_queue_config()
/linux-6.1.9/drivers/usb/chipidea/
Ddebug.c159 unsigned i, j, qsize = sizeof(struct ci_hw_td)/sizeof(u32); in ci_requests_show() local
176 for (j = 0; j < qsize; j++) in ci_requests_show()

123