producer 5151 arch/powerpc/kvm/book3s_hv.c irqfd->producer = prod; producer 5168 arch/powerpc/kvm/book3s_hv.c irqfd->producer = NULL; producer 10311 arch/x86/kvm/x86.c irqfd->producer = prod; producer 10324 arch/x86/kvm/x86.c WARN_ON(irqfd->producer != prod); producer 10325 arch/x86/kvm/x86.c irqfd->producer = NULL; producer 71 drivers/mailbox/tegra-hsp.c bool producer; producer 218 drivers/mailbox/tegra-hsp.c if (mb->producer) { producer 244 drivers/mailbox/tegra-hsp.c if (!mb->producer) { producer 373 drivers/mailbox/tegra-hsp.c if (WARN_ON(!mb->producer)) producer 437 drivers/mailbox/tegra-hsp.c if (mb->producer) producer 447 drivers/mailbox/tegra-hsp.c if (mb->producer) producer 466 drivers/mailbox/tegra-hsp.c if (mb->producer) producer 476 drivers/mailbox/tegra-hsp.c if (mb->producer) producer 548 drivers/mailbox/tegra-hsp.c mb->producer = false; producer 550 drivers/mailbox/tegra-hsp.c mb->producer = true; producer 5298 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h u16 producer; producer 5300 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h u16 producer; producer 3326 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c eq_data.producer = bp->eq_prod; producer 610 drivers/net/ethernet/qlogic/netxen/netxen_nic.h u32 producer; producer 641 drivers/net/ethernet/qlogic/netxen/netxen_nic.h u32 producer; producer 1861 drivers/net/ethernet/qlogic/netxen/netxen_nic.h return find_diff_among(tx_ring->producer, producer 553 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c u32 i, producer; producer 565 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c producer = tx_ring->producer; producer 580 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c pbuf = &tx_ring->cmd_buf_arr[producer]; producer 584 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c memcpy(&tx_ring->desc_head[producer], producer 587 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c producer = get_next_index(producer, tx_ring->num_desc); producer 592 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c tx_ring->producer = producer; producer 1813 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c int producer, count = 0; producer 1817 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c producer = rds_ring->producer; producer 1833 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c pdesc = &rds_ring->desc_head[producer]; producer 1838 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c producer = get_next_index(producer, rds_ring->num_desc); producer 1842 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c rds_ring->producer = producer; producer 1844 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c (producer-1) & (rds_ring->num_desc-1)); producer 1855 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c ((producer - 1) & producer 1871 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c int producer, count = 0; producer 1877 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c producer = rds_ring->producer; producer 1893 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c pdesc = &rds_ring->desc_head[producer]; producer 1898 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c producer = get_next_index(producer, rds_ring->num_desc); producer 1902 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c rds_ring->producer = producer; producer 1904 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c (producer - 1) & (rds_ring->num_desc - 1)); producer 106 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c NXWRIO(adapter, tx_ring->crb_cmd_producer, tx_ring->producer); producer 1246 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c tx_ring->producer = 0; producer 1864 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c u32 producer; producer 1931 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c producer = tx_ring->producer; producer 1938 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c hwdesc = &tx_ring->desc_head[producer]; producer 1939 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c tx_ring->cmd_buf_arr[producer].skb = NULL; producer 1954 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c producer = get_next_index(producer, tx_ring->num_desc); producer 1962 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c hwdesc = &tx_ring->desc_head[producer]; producer 1963 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c tx_ring->cmd_buf_arr[producer].skb = NULL; producer 1971 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c producer = get_next_index(producer, tx_ring->num_desc); producer 1974 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c tx_ring->producer = producer; producer 2048 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c u32 producer; producer 2079 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c producer = tx_ring->producer; producer 2080 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c pbuf = &tx_ring->cmd_buf_arr[producer]; producer 2090 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c first_desc = hwdesc = &tx_ring->desc_head[producer]; producer 2102 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c producer = get_next_index(producer, num_txd); producer 2103 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c hwdesc = &tx_ring->desc_head[producer]; producer 2105 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c tx_ring->cmd_buf_arr[producer].skb = NULL; producer 2127 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c tx_ring->producer = get_next_index(producer, num_txd); producer 581 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h u32 producer; producer 623 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h u32 producer; producer 1728 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h if (likely(tx_ring->producer < tx_ring->sw_consumer)) producer 1729 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h return tx_ring->sw_consumer - tx_ring->producer; producer 1732 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h tx_ring->producer; producer 1235 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c rds->producer = 0; producer 1243 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c rds->producer = 0; producer 1327 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c tx->producer = 0; producer 314 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c rds_ring->producer = 0; producer 432 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c tx_ring->producer = 0; producer 568 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c regs_buff[i++] = tx_ring->producer; producer 579 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c regs_buff[i++] = rds_rings->producer; producer 385 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c u32 i, producer; producer 398 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c producer = tx_ring->producer; producer 416 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c pbuf = &tx_ring->cmd_buf_arr[producer]; producer 420 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c memcpy(&tx_ring->desc_head[producer], producer 423 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c producer = get_next_index(producer, tx_ring->num_desc); producer 428 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c tx_ring->producer = producer; producer 277 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c u32 producer; producer 280 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c producer = tx_ring->producer; producer 281 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c hwdesc = &tx_ring->desc_head[tx_ring->producer]; producer 297 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c tx_ring->producer = get_next_index(producer, tx_ring->num_desc); producer 377 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c u32 producer = tx_ring->producer; producer 407 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c hwdesc = &tx_ring->desc_head[producer]; producer 408 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c tx_ring->cmd_buf_arr[producer].skb = NULL; producer 413 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c producer = get_next_index(producer, tx_ring->num_desc); producer 416 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c tx_ring->producer = producer; producer 468 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c u32 producer = tx_ring->producer; producer 520 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c hwdesc = &tx_ring->desc_head[producer]; producer 521 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c tx_ring->cmd_buf_arr[producer].skb = NULL; producer 536 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c producer = get_next_index(producer, tx_ring->num_desc); producer 542 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c hwdesc = &tx_ring->desc_head[producer]; producer 543 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c tx_ring->cmd_buf_arr[producer].skb = NULL; producer 549 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c producer = get_next_index(producer, tx_ring->num_desc); producer 552 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c tx_ring->producer = producer; producer 659 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c u32 producer, num_txd; producer 702 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c producer = tx_ring->producer; producer 703 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c pbuf = &tx_ring->cmd_buf_arr[producer]; producer 705 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c first_desc = &tx_ring->desc_head[producer]; producer 706 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c hwdesc = &tx_ring->desc_head[producer]; producer 725 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c producer = get_next_index(producer, num_txd); producer 726 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c hwdesc = &tx_ring->desc_head[producer]; producer 728 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c tx_ring->cmd_buf_arr[producer].skb = NULL; producer 749 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c tx_ring->producer = get_next_index(producer, num_txd); producer 851 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c uint32_t producer, handle; producer 857 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c producer = rds_ring->producer; producer 870 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c pdesc = &rds_ring->desc_head[producer]; producer 876 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c producer = get_next_index(producer, rds_ring->num_desc); producer 879 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c rds_ring->producer = producer; producer 880 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c writel((producer - 1) & (rds_ring->num_desc - 1), producer 1443 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c u32 producer, handle; producer 1446 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c producer = rds_ring->producer; producer 1462 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c pdesc = &rds_ring->desc_head[producer]; producer 1468 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c producer = get_next_index(producer, rds_ring->num_desc); producer 1472 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c rds_ring->producer = producer; producer 1473 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c writel((producer-1) & (rds_ring->num_desc-1), producer 121 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c writel(tx_ring->producer, tx_ring->crb_cmd_producer); producer 3025 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c rds_ring->producer, rds_ring->num_desc); producer 3059 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c tx_ring->producer, tx_ring->sw_consumer, producer 607 drivers/scsi/aacraid/aacraid.h __le32 *producer; /* The producer index for this queue (host address) */ producer 268 drivers/scsi/aacraid/comminit.c q->headers.producer = (__le32 *)mem; producer 270 drivers/scsi/aacraid/comminit.c *(q->headers.producer) = cpu_to_le32(qsize); producer 371 drivers/scsi/aacraid/commsup.c idx = *index = le32_to_cpu(*(q->headers.producer)); producer 802 drivers/scsi/aacraid/commsup.c if (le32_to_cpu(*q->headers.producer) == le32_to_cpu(*q->headers.consumer)) { producer 835 drivers/scsi/aacraid/commsup.c if ((le32_to_cpu(*q->headers.producer)+1) == le32_to_cpu(*q->headers.consumer)) producer 921 drivers/scsi/aacraid/commsup.c *(q->headers.producer) = cpu_to_le32(index + 1); producer 398 drivers/scsi/aacraid/rx.c *(q->headers.producer) = cpu_to_le32(Index + 1); producer 2262 drivers/scsi/megaraid/megaraid_sas.h __le32 *producer; producer 2207 drivers/scsi/megaraid/megaraid_sas_base.c u32 producer; producer 2221 drivers/scsi/megaraid/megaraid_sas_base.c producer = le32_to_cpu(*instance->producer); producer 2224 drivers/scsi/megaraid/megaraid_sas_base.c while (consumer != producer) { producer 2242 drivers/scsi/megaraid/megaraid_sas_base.c *instance->consumer = cpu_to_le32(producer); producer 3860 drivers/scsi/megaraid/megaraid_sas_base.c *instance->consumer = *instance->producer; producer 3863 drivers/scsi/megaraid/megaraid_sas_base.c *instance->producer = 0; producer 6919 drivers/scsi/megaraid/megaraid_sas_base.c instance->producer = dma_alloc_coherent(&instance->pdev->dev, producer 6924 drivers/scsi/megaraid/megaraid_sas_base.c if (!instance->producer || !instance->consumer) { producer 6930 drivers/scsi/megaraid/megaraid_sas_base.c *instance->producer = 0; producer 6984 drivers/scsi/megaraid/megaraid_sas_base.c if (instance->producer) producer 6986 drivers/scsi/megaraid/megaraid_sas_base.c instance->producer, producer 7657 drivers/scsi/megaraid/megaraid_sas_base.c *instance->producer = 0; producer 297 drivers/vfio/pci/vfio_pci_intrs.c irq_bypass_unregister_producer(&vdev->ctx[vector].producer); producer 341 drivers/vfio/pci/vfio_pci_intrs.c vdev->ctx[vector].producer.token = trigger; producer 342 drivers/vfio/pci/vfio_pci_intrs.c vdev->ctx[vector].producer.irq = irq; producer 343 drivers/vfio/pci/vfio_pci_intrs.c ret = irq_bypass_register_producer(&vdev->ctx[vector].producer); producer 347 drivers/vfio/pci/vfio_pci_intrs.c vdev->ctx[vector].producer.token, ret); producer 48 drivers/vfio/pci/vfio_pci_private.h struct irq_bypass_producer producer; producer 61 include/linux/kvm_irqfd.h struct irq_bypass_producer *producer; producer 30 include/linux/ptr_ring.h int producer ____cacheline_aligned_in_smp; producer 50 include/linux/ptr_ring.h return r->queue[r->producer]; producer 105 include/linux/ptr_ring.h if (unlikely(!r->size) || r->queue[r->producer]) producer 112 include/linux/ptr_ring.h WRITE_ONCE(r->queue[r->producer++], ptr); producer 113 include/linux/ptr_ring.h if (unlikely(r->producer >= r->size)) producer 114 include/linux/ptr_ring.h r->producer = 0; producer 493 include/linux/ptr_ring.h r->producer = r->consumer_head = r->consumer_tail = 0; producer 561 include/linux/ptr_ring.h int producer = 0; producer 566 include/linux/ptr_ring.h if (producer < size) producer 567 include/linux/ptr_ring.h queue[producer++] = ptr; producer 571 include/linux/ptr_ring.h if (producer >= size) producer 572 include/linux/ptr_ring.h producer = 0; producer 574 include/linux/ptr_ring.h r->producer = producer; producer 44 include/uapi/linux/if_xdp.h __u64 producer; producer 33 kernel/trace/ring_buffer_benchmark.c static struct task_struct *producer; producer 447 kernel/trace/ring_buffer_benchmark.c producer = kthread_run(ring_buffer_producer_thread, producer 449 kernel/trace/ring_buffer_benchmark.c ret = PTR_ERR(producer); producer 451 kernel/trace/ring_buffer_benchmark.c if (IS_ERR(producer)) producer 471 kernel/trace/ring_buffer_benchmark.c sched_setscheduler(producer, SCHED_FIFO, ¶m); producer 473 kernel/trace/ring_buffer_benchmark.c set_user_nice(producer, producer_nice); producer 488 kernel/trace/ring_buffer_benchmark.c kthread_stop(producer); producer 835 net/xdp/xsk.c ring->producer = offsetof(struct xdp_rxtx_ring, ptrs.producer); producer 842 net/xdp/xsk.c ring->producer = offsetof(struct xdp_umem_ring, ptrs.producer); producer 8 net/xdp/xsk.h __u64 producer; producer 17 net/xdp/xsk_queue.h u32 producer ____cacheline_aligned_in_smp; producer 102 net/xdp/xsk_queue.h q->prod_tail = READ_ONCE(q->ring->producer); producer 109 net/xdp/xsk_queue.h static inline u32 xskq_nb_free(struct xsk_queue *q, u32 producer, u32 dcnt) producer 111 net/xdp/xsk_queue.h u32 free_entries = q->nentries - (producer - q->cons_tail); producer 118 net/xdp/xsk_queue.h return q->nentries - (producer - q->cons_tail); producer 129 net/xdp/xsk_queue.h q->prod_tail = READ_ONCE(q->ring->producer); producer 234 net/xdp/xsk_queue.h WRITE_ONCE(q->ring->producer, q->prod_tail); producer 257 net/xdp/xsk_queue.h WRITE_ONCE(q->ring->producer, q->prod_tail); producer 361 net/xdp/xsk_queue.h WRITE_ONCE(q->ring->producer, q->prod_tail); producer 44 tools/include/uapi/linux/if_xdp.h __u64 producer; producer 78 tools/lib/bpf/xsk.c __u64 producer; producer 161 tools/lib/bpf/xsk.c off->rx.producer = off_v1.rx.producer; producer 166 tools/lib/bpf/xsk.c off->tx.producer = off_v1.tx.producer; producer 171 tools/lib/bpf/xsk.c off->fr.producer = off_v1.fr.producer; producer 176 tools/lib/bpf/xsk.c off->cr.producer = off_v1.cr.producer; producer 276 tools/lib/bpf/xsk.c fill->producer = map + off.fr.producer; producer 293 tools/lib/bpf/xsk.c comp->producer = map + off.cr.producer; producer 643 tools/lib/bpf/xsk.c rx->producer = rx_map + off.rx.producer; producer 662 tools/lib/bpf/xsk.c tx->producer = tx_map + off.tx.producer; producer 32 tools/lib/bpf/xsk.h __u32 *producer; \ producer 109 tools/lib/bpf/xsk.h r->cached_prod = *r->producer; producer 135 tools/lib/bpf/xsk.h *prod->producer += nb; producer 616 virt/kvm/eventfd.c if (irqfd->producer) { producer 618 virt/kvm/eventfd.c irqfd->kvm, irqfd->producer->irq, producer 84 virt/lib/irqbypass.c int irq_bypass_register_producer(struct irq_bypass_producer *producer) producer 89 virt/lib/irqbypass.c if (!producer->token) producer 100 virt/lib/irqbypass.c if (tmp->token == producer->token) { producer 108 virt/lib/irqbypass.c if (consumer->token == producer->token) { producer 109 virt/lib/irqbypass.c int ret = __connect(producer, consumer); producer 119 virt/lib/irqbypass.c list_add(&producer->node, &producers); producer 134 virt/lib/irqbypass.c void irq_bypass_unregister_producer(struct irq_bypass_producer *producer) producer 139 virt/lib/irqbypass.c if (!producer->token) producer 150 virt/lib/irqbypass.c if (tmp->token != producer->token) producer 154 virt/lib/irqbypass.c if (consumer->token == producer->token) { producer 155 virt/lib/irqbypass.c __disconnect(producer, consumer); producer 160 virt/lib/irqbypass.c list_del(&producer->node); producer 181 virt/lib/irqbypass.c struct irq_bypass_producer *producer; producer 202 virt/lib/irqbypass.c list_for_each_entry(producer, &producers, node) { producer 203 virt/lib/irqbypass.c if (producer->token == consumer->token) { producer 204 virt/lib/irqbypass.c int ret = __connect(producer, consumer); producer 232 virt/lib/irqbypass.c struct irq_bypass_producer *producer; producer 248 virt/lib/irqbypass.c list_for_each_entry(producer, &producers, node) { producer 249 virt/lib/irqbypass.c if (producer->token == consumer->token) { producer 250 virt/lib/irqbypass.c __disconnect(producer, consumer);