/linux/lib/mpi/ |
A D | mpi-div.c | 89 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/include/sound/ |
A D | pcm-indirect.h | 41 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/drivers/net/ethernet/marvell/octeontx2/af/ |
A D | common.h | 44 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()
|
A D | rvu_debugfs.c | 579 pfvf->aura_ctx->qsize); in print_npa_qsize() 588 pfvf->pool_ctx->qsize); in print_npa_qsize() 858 max_id = pfvf->aura_ctx->qsize; in rvu_dbg_npa_ctx_display() 861 max_id = pfvf->pool_ctx->qsize; in rvu_dbg_npa_ctx_display() 909 max_id = pfvf->aura_ctx->qsize; in write_npa_ctx() 1554 max_id = pfvf->sq_ctx->qsize; in rvu_dbg_nix_queue_ctx_display() 1558 max_id = pfvf->rq_ctx->qsize; in rvu_dbg_nix_queue_ctx_display() 1562 max_id = pfvf->cq_ctx->qsize; in rvu_dbg_nix_queue_ctx_display() 1608 max_id = pfvf->sq_ctx->qsize; in write_nix_queue_ctx() 1614 max_id = pfvf->rq_ctx->qsize; in write_nix_queue_ctx() [all …]
|
A D | rvu_npa.c | 66 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()
|
/linux/samples/bpf/ |
A D | xdp_redirect_cpu_user.c | 133 value->qsize, value->bpf_prog.fd, curr_cpus_count); in create_cpu_entry() 168 value->qsize = 1024; in stress_cpumap() 170 value->qsize = 8; in stress_cpumap() 172 value->qsize = 16000; in stress_cpumap() 327 __u32 qsize; in main() local 348 qsize = 2048; in main() 457 qsize = strtoul(optarg, NULL, 0); in main() 533 value.qsize = qsize; in main()
|
/linux/drivers/crypto/cavium/nitrox/ |
A D | nitrox_lib.c | 29 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()
|
A D | nitrox_hal.c | 359 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()
|
A D | nitrox_dev.h | 61 u32 qsize; member
|
/linux/drivers/dma/ptdma/ |
A D | ptdma-dev.c | 203 cmd_q->qsize = Q_SIZE(Q_DESC_SIZE); in pt_core_init() 204 cmd_q->qbase = dma_alloc_coherent(dev, cmd_q->qsize, in pt_core_init() 264 dma_free_coherent(dev, cmd_q->qsize, cmd_q->qbase, cmd_q->qbase_dma); in pt_core_init() 295 dma_free_coherent(dev, cmd_q->qsize, cmd_q->qbase, in pt_core_destroy()
|
/linux/drivers/net/wireless/broadcom/b43legacy/ |
A D | pio.c | 321 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/tools/testing/selftests/bpf/prog_tests/ |
A D | xdp_cpumap_attach.c | 16 .qsize = 192, in serial_test_xdp_cpumap_attach() 52 val.qsize = 192; in serial_test_xdp_cpumap_attach()
|
/linux/drivers/net/ethernet/cavium/thunder/ |
A D | q_struct.h | 597 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/drivers/nvme/host/ |
A D | trace.c | 25 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/kernel/bpf/ |
A D | cpumap.c | 94 (value_size != offsetofend(struct bpf_cpumap_val, qsize) && in cpu_map_alloc() 452 err = ptr_ring_init(rcpu->queue, value->qsize, gfp); in __cpu_map_entry_alloc() 458 rcpu->value.qsize = value->qsize; in __cpu_map_entry_alloc() 571 if (unlikely(cpumap_value.qsize > 16384)) /* sanity limit on qsize */ in cpu_map_update_elem() 578 if (cpumap_value.qsize == 0) { in cpu_map_update_elem()
|
/linux/drivers/media/platform/qcom/venus/ |
A D | hfi_venus.c | 169 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/drivers/scsi/aacraid/ |
A D | comminit.c | 259 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/drivers/crypto/marvell/octeontx/ |
A D | otx_cptvf.h | 86 u32 qsize; member
|
/linux/arch/powerpc/sysdev/xive/ |
A D | spapr.c | 288 unsigned long qsize) in plpar_int_set_queue_config() argument 293 flags, target, priority, qpage, qsize); in plpar_int_set_queue_config() 297 priority, qpage, qsize); in plpar_int_set_queue_config()
|
A D | native.c | 773 __be64 qsize; in xive_native_get_queue_info() local 779 rc = opal_xive_get_queue_info(vp_id, prio, &qpage, &qsize, in xive_native_get_queue_info() 789 *out_qsize = be32_to_cpu(qsize); in xive_native_get_queue_info()
|
/linux/net/ipv4/ |
A D | inet_fragment.c | 104 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/drivers/crypto/cavium/cpt/ |
A D | cptvf.h | 109 u32 qsize; member
|
/linux/drivers/usb/chipidea/ |
A D | debug.c | 159 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()
|
/linux/include/net/ |
A D | inet_frag.h | 100 unsigned int qsize; member
|
/linux/drivers/scsi/csiostor/ |
A D | csio_wr.c | 186 csio_wr_alloc_q(struct csio_hw *hw, uint32_t qsize, uint32_t wrsize, in csio_wr_alloc_q() argument 204 qsz = ALIGN(qsize, CSIO_QCREDIT_SZ) + csio_wr_qstat_pgsz(hw); in csio_wr_alloc_q() 223 qsz = ALIGN(qsize/wrsize, 16) * wrsize; in csio_wr_alloc_q() 227 qsz = ALIGN(qsize/wrsize, 8) * wrsize + csio_wr_qstat_pgsz(hw); in csio_wr_alloc_q() 241 "queue at id: %d size: %d\n", free_idx, qsize); in csio_wr_alloc_q()
|