/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/ |
H A D | tst.roch.d | 30 * ASSERTION: test for assertion failure in the ring buffer code 32 * SECTION: Buffers and Buffering/ring Policy; Misc 39 * ring buffer code. 43 #pragma D option bufpolicy=ring
|
/freebsd-11.0-release/sys/dev/netmap/ |
H A D | if_em_netmap.h | 113 * Reconcile kernel and user view of the transmit ring. 120 struct netmap_ring *ring = kring->ring; local 121 u_int nm_i; /* index into the netmap ring */ 122 u_int nic_i; /* index into the NIC ring */ 126 /* generate an interrupt approximately every half ring */ 144 struct netmap_slot *slot = &ring->slot[nm_i]; 165 /* Fill the slot in the NIC ring. */ 177 /* synchronize the NIC ring */ 206 * Reconcile kernel and user view of the receive ring 213 struct netmap_ring *ring = kring->ring; local [all...] |
H A D | if_igb_netmap.h | 81 * Reconcile kernel and user view of the transmit ring. 88 struct netmap_ring *ring = kring->ring; local 89 u_int nm_i; /* index into the netmap ring */ 90 u_int nic_i; /* index into the NIC ring */ 94 /* generate an interrupt approximately every half ring */ 115 struct netmap_slot *slot = &ring->slot[nm_i]; 136 /* Fill the slot in the NIC ring. */ 161 /* synchronize the NIC ring */ 188 * Reconcile kernel and user view of the receive ring 195 struct netmap_ring *ring = kring->ring; local [all...] |
H A D | netmap_mem2.c | 408 DECLARE_SYSCTLS(NETMAP_RING_POOL, ring); 1280 * On the other end, the pipe ring dimension may be different from 1281 * the parent port ring dimension. As a compromise, we allocate twice the 1290 D("req if %d*%d ring %d*%d buf %d*%d", 1422 struct netmap_ring *ring = kring->ring; local 1424 if (ring == NULL) 1426 netmap_free_bufs(na->nm_mem, ring->slot, kring->nkr_num_slots); 1427 netmap_ring_free(na->nm_mem, ring); 1428 kring->ring 1452 struct netmap_ring *ring = kring->ring; local [all...] |
H A D | if_lem_netmap.h | 85 * Reconcile kernel and user view of the transmit ring. 92 struct netmap_ring *ring = kring->ring; local 93 u_int nm_i; /* index into the netmap ring */ 94 u_int nic_i; /* index into the NIC ring */ 97 /* generate an interrupt approximately every half ring */ 131 struct netmap_slot *slot = &ring->slot[nm_i]; 152 /* Fill the slot in the NIC ring. */ 165 /* synchronize the NIC ring */ 238 /* new mechanism: last half ring (o 317 struct netmap_ring *ring = kring->ring; local [all...] |
H A D | if_re_netmap.h | 65 * Reconcile kernel and user view of the transmit ring. 72 struct netmap_ring *ring = kring->ring; local 73 u_int nm_i; /* index into the netmap ring */ 74 u_int nic_i; /* index into the NIC ring */ 96 struct netmap_slot *slot = &ring->slot[nm_i]; 108 if (nic_i == lim) /* mark end of ring */ 120 /* Fill the slot in the NIC ring. */ 134 /* synchronize the NIC ring */ 167 * Reconcile kernel and user view of the receive ring 174 struct netmap_ring *ring = kring->ring; local [all...] |
H A D | netmap_offloadings.c | 136 struct nm_bdg_fwd *ft_p, struct netmap_ring *ring, 162 slot = &ring->slot[*j]; 306 slot = &ring->slot[*j]; 368 slot = &ring->slot[*j]; 388 slot = &ring->slot[j_start]; 134 bdg_mismatch_datapath(struct netmap_vp_adapter *na, struct netmap_vp_adapter *dst_na, struct nm_bdg_fwd *ft_p, struct netmap_ring *ring, u_int *j, u_int lim, u_int *howmany) argument
|
/freebsd-11.0-release/sys/dev/rt/ |
H A D | if_rtvar.h | 65 #define RT_SOFTC_TX_RING_LOCK(ring) mtx_lock(&(ring)->lock) 66 #define RT_SOFTC_TX_RING_UNLOCK(ring) mtx_unlock(&(ring)->lock) 67 #define RT_SOFTC_TX_RING_ASSERT_LOCKED(ring) \ 68 mtx_assert(&(ring)->lock, MA_OWNED)
|
/freebsd-11.0-release/sys/dev/iwm/ |
H A D | if_iwm.c | 953 iwm_alloc_rx_ring(struct iwm_softc *sc, struct iwm_rx_ring *ring) argument 958 ring->cur = 0; 962 error = iwm_dma_contig_alloc(sc->sc_dmat, &ring->desc_dma, size, 256); 965 "could not allocate RX ring DMA memory\n"); 968 ring->desc = ring->desc_dma.vaddr; 971 error = iwm_dma_contig_alloc(sc->sc_dmat, &ring->stat_dma, 972 sizeof(*ring->stat), 16); 978 ring->stat = ring 1036 iwm_reset_rx_ring(struct iwm_softc *sc, struct iwm_rx_ring *ring) argument 1049 iwm_free_rx_ring(struct iwm_softc *sc, struct iwm_rx_ring *ring) argument 1082 iwm_alloc_tx_ring(struct iwm_softc *sc, struct iwm_tx_ring *ring, int qid) argument 1162 iwm_reset_tx_ring(struct iwm_softc *sc, struct iwm_tx_ring *ring) argument 1187 iwm_free_tx_ring(struct iwm_softc *sc, struct iwm_tx_ring *ring) argument 2750 struct iwm_rx_ring *ring = &sc->rxq; local 3063 struct iwm_tx_ring *ring = &sc->txq[qid]; local 3116 struct iwm_tx_ring *ring = &sc->txq[IWM_MVM_CMD_QUEUE]; local 3275 struct iwm_tx_ring *ring; local 5024 struct iwm_rx_ring *ring = &sc->rxq; local 5414 struct iwm_tx_ring *ring = &sc->txq[i]; local [all...] |
/freebsd-11.0-release/sys/dev/drm2/radeon/ |
H A D | rv515.c | 66 void rv515_ring_start(struct radeon_device *rdev, struct radeon_ring *ring) argument 70 r = radeon_ring_lock(rdev, ring, 64); 74 radeon_ring_write(ring, PACKET0(ISYNC_CNTL, 0)); 75 radeon_ring_write(ring, 80 radeon_ring_write(ring, PACKET0(WAIT_UNTIL, 0)); 81 radeon_ring_write(ring, WAIT_2D_IDLECLEAN | WAIT_3D_IDLECLEAN); 82 radeon_ring_write(ring, PACKET0(R300_DST_PIPE_CONFIG, 0)); 83 radeon_ring_write(ring, R300_PIPE_AUTO_CONFIG); 84 radeon_ring_write(ring, PACKET0(GB_SELECT, 0)); 85 radeon_ring_write(ring, [all...] |
H A D | r100.c | 850 struct radeon_ring *ring = &rdev->ring[fence->ring]; local 854 radeon_ring_write(ring, PACKET0(RADEON_RB3D_DSTCACHE_CTLSTAT, 0)); 855 radeon_ring_write(ring, RADEON_RB3D_DC_FLUSH_ALL); 856 radeon_ring_write(ring, PACKET0(RADEON_RB3D_ZCACHE_CTLSTAT, 0)); 857 radeon_ring_write(ring, RADEON_RB3D_ZC_FLUSH_ALL); 859 radeon_ring_write(ring, PACKET0(RADEON_WAIT_UNTIL, 0)); 860 radeon_ring_write(ring, RADEON_WAIT_2D_IDLECLEAN | RADEON_WAIT_3D_IDLECLEAN); 861 radeon_ring_write(ring, PACKET 873 r100_semaphore_ring_emit(struct radeon_device *rdev, struct radeon_ring *ring, struct radeon_semaphore *semaphore, bool emit_wait) argument 888 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; local 971 r100_ring_start(struct radeon_device *rdev, struct radeon_ring *ring) argument 1097 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; local 2628 r100_gpu_is_lockup(struct radeon_device *rdev, struct radeon_ring *ring) argument 3054 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; local 3737 r100_ring_test(struct radeon_device *rdev, struct radeon_ring *ring) argument 3779 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; local 3792 r100_ib_test(struct radeon_device *rdev, struct radeon_ring *ring) argument [all...] |
H A D | radeon_cs.c | 101 static int radeon_cs_get_ring(struct radeon_cs_parser *p, u32 ring, s32 priority) argument 105 switch (ring) { 107 DRM_ERROR("unknown ring id: %d\n", ring); 110 p->ring = RADEON_RING_TYPE_GFX_INDEX; 115 p->ring = CAYMAN_RING_TYPE_CP1_INDEX; 117 p->ring = CAYMAN_RING_TYPE_CP2_INDEX; 119 p->ring = RADEON_RING_TYPE_GFX_INDEX; 124 p->ring = R600_RING_TYPE_DMA_INDEX; 126 p->ring 167 u32 ring = RADEON_CS_RING_GFX; local [all...] |
H A D | radeon_cp.c | 654 dev_priv->ring.tail = cur_read_ptr; 736 /* Reset the CP ring */ 788 /* Initialize the ring buffer's read and write pointers */ 792 dev_priv->ring.tail = cur_read_ptr; 808 /* Set ring buffer size */ 812 (dev_priv->ring.fetch_size_l2ow << 18) | 813 (dev_priv->ring.rptr_update_l2qw << 8) | 814 dev_priv->ring.size_l2qw); 817 (dev_priv->ring.fetch_size_l2ow << 18) | 818 (dev_priv->ring 1983 drm_radeon_ring_buffer_t *ring = &dev_priv->ring; local 2217 u32 *ring; local [all...] |
H A D | radeon_test.c | 45 int r, ring; local 49 ring = radeon_copy_dma_ring_index(rdev); 52 ring = radeon_copy_blit_ring_index(rdev); 62 * (Total GTT - IB pool - writeback page - ring buffers) / test size 66 n -= rdev->ring[i].ring_size; 128 if (ring == R600_RING_TYPE_DMA_INDEX) 174 if (ring == R600_RING_TYPE_DMA_INDEX) 275 DRM_ERROR("Failed to lock ring A %d\n", ringA->idx); 303 DRM_ERROR("Failed to lock ring B %p\n", ringB); 324 DRM_ERROR("Failed to lock ring [all...] |
/freebsd-11.0-release/sys/dev/drm/ |
H A D | radeon_cp.c | 610 dev_priv->ring.tail = cur_read_ptr; 681 /* Reset the CP ring */ 731 /* Initialize the ring buffer's read and write pointers */ 735 dev_priv->ring.tail = cur_read_ptr; 750 /* Set ring buffer size */ 754 (dev_priv->ring.fetch_size_l2ow << 18) | 755 (dev_priv->ring.rptr_update_l2qw << 8) | 756 dev_priv->ring.size_l2qw); 759 (dev_priv->ring.fetch_size_l2ow << 18) | 760 (dev_priv->ring 1903 drm_radeon_ring_buffer_t *ring = &dev_priv->ring; local 2097 u32 *ring; local [all...] |
H A D | r128_cce.c | 217 if (GET_RING_HEAD(dev_priv) == dev_priv->ring.tail) { 243 dev_priv->cce_mode | dev_priv->ring.size_l2qw 259 dev_priv->ring.tail = 0; 302 /* Reset the CCE ring */ 388 /* We don't support anything other than bus-mastering ring mode, 389 * but the ring can be in either AGP or PCI space for the ring 478 DRM_ERROR("could not find cce ring region!\n"); 485 DRM_ERROR("could not find ring read pointer!\n"); 545 dev_priv->ring 864 drm_r128_ring_buffer_t *ring = &dev_priv->ring; local [all...] |
/freebsd-11.0-release/sys/dev/drm2/i915/ |
H A D | i915_dma.c | 41 #define LP_RING(d) (&((struct drm_i915_private *)(d))->ring[RCS]) 53 * Lock test for when it's just for synchronization of ring access. 56 * has access to the ring. 107 struct intel_ring_buffer *ring = LP_RING(dev_priv); local 114 if (ring->status_page.gfx_addr) { 115 ring->status_page.gfx_addr = 0; 128 struct intel_ring_buffer *ring = LP_RING(dev_priv); local 131 * We should never lose context on the ring with modesetting 137 ring->head = I915_READ_HEAD(ring) 223 struct intel_ring_buffer *ring = LP_RING(dev_priv); local 767 struct intel_ring_buffer *ring = LP_RING(dev_priv); local 1052 struct intel_ring_buffer *ring; local [all...] |
/freebsd-11.0-release/sys/dev/oce/ |
H A D | oce_if.c | 612 bus_dmamap_sync(eq->ring->dma.tag, eq->ring->dma.map, 615 eqe = RING_GET_CONSUMER_ITEM_VA(eq->ring, struct oce_eqe); 619 bus_dmamap_sync(eq->ring->dma.tag, eq->ring->dma.map, 621 RING_GET(eq->ring, 1); 920 if (num_wqes >= RING_NUM_FREE(wq->ring)) { 931 RING_GET_PRODUCER_ITEM_VA(wq->ring, struct oce_nic_hdr_wqe); 963 RING_PUT(wq->ring, 1); 964 atomic_add_int(&wq->ring [all...] |
/freebsd-11.0-release/sys/dev/qlxgb/ |
H A D | qla_isr.c | 56 uint32_t idx, length, status, ring; local 65 ring = (uint32_t)Q8_STAT_DESC_TYPE(data); 70 if (ring == 0) { 72 device_printf(ha->pci_dev, "%s: ring[%d] index[0x%08x]" 74 __func__, ring, idx, length); 79 device_printf(ha->pci_dev, "%s: ring[%d] index[0x%08x]" 81 __func__, ring, idx, length); 86 if (ring == 0) 93 __func__, ring, idx, sds_idx)); 99 __func__, ring, id [all...] |
/freebsd-11.0-release/usr.bin/mail/ |
H A D | cmd2.c | 478 char **ap, **ring; local 484 ring = (char **)salloc((tab->i_count + 1) * sizeof(char *)); 485 ap = ring; 490 qsort(ring, tab->i_count, sizeof(char *), igcomp); 491 for (ap = ring; *ap != 0; ap++)
|
/freebsd-11.0-release/sys/contrib/ncsw/Peripherals/QM/ |
H A D | qman_private.h | 213 struct qm_eqcr_entry *ring, *cursor; member in struct:qm_eqcr 225 struct qm_dqrr_entry *ring, *cursor; member in struct:qm_dqrr 234 #define QM_DQRR_FLAG_RE 0x01 /* Stash ring entries */ 239 struct qm_mr_entry *ring, *cursor; member in struct:qm_mr
|
/freebsd-11.0-release/sys/dev/iwn/ |
H A D | if_iwn.c | 547 "could not allocate TX ring %d, error %d\n", i, 553 /* Allocate RX ring. */ 555 device_printf(dev, "could not allocate RX ring, error %d\n", 1837 iwn_alloc_rx_ring(struct iwn_softc *sc, struct iwn_rx_ring *ring) argument 1842 ring->cur = 0; 1848 error = iwn_dma_contig_alloc(sc, &ring->desc_dma, (void **)&ring->desc, 1852 "%s: could not allocate RX ring DMA memory, error %d\n", 1858 error = iwn_dma_contig_alloc(sc, &ring->stat_dma, (void **)&ring 1931 iwn_reset_rx_ring(struct iwn_softc *sc, struct iwn_rx_ring *ring) argument 1952 iwn_free_rx_ring(struct iwn_softc *sc, struct iwn_rx_ring *ring) argument 1981 iwn_alloc_tx_ring(struct iwn_softc *sc, struct iwn_tx_ring *ring, int qid) argument 2051 iwn_reset_tx_ring(struct iwn_softc *sc, struct iwn_tx_ring *ring) argument 2082 iwn_free_tx_ring(struct iwn_softc *sc, struct iwn_tx_ring *ring) argument 2962 struct iwn_rx_ring *ring = &sc->rxq; local 3486 struct iwn_tx_ring *ring; local 3516 struct iwn_tx_ring *ring; local 3553 struct iwn_tx_ring *ring = &sc->txq[desc->qid & 0xf]; local 3615 struct iwn_tx_ring *ring; local 3646 struct iwn_tx_ring *ring = &sc->txq[qid]; local 3982 struct iwn_tx_ring *ring = &sc->txq[qid]; local 4058 struct iwn_tx_ring *ring = &sc->txq[i]; local 4343 struct iwn_tx_ring *ring; local 4644 struct iwn_tx_ring *ring; local 5077 struct iwn_tx_ring *ring; local [all...] |
/freebsd-11.0-release/usr.sbin/bhyve/ |
H A D | pci_virtio_net.c | 310 * But, will be called when the rx ring hasn't yet 353 * No more packets, but still some avail ring 391 struct netmap_ring *ring = NETMAP_TXRING(nmd->nifp, r); local 395 if (nm_ring_empty(ring)) { 403 cur = ring->cur; 404 idx = ring->slot[cur].buf_idx; 405 buf = NETMAP_BUF(ring, idx); 413 ring->slot[cur].len = len; 414 ring->head = ring 431 struct netmap_ring *ring = NETMAP_RXRING(nmd->nifp, r); local [all...] |
/freebsd-11.0-release/sys/modules/vxge/ |
H A D | Makefile | 53 SRCS += vxgehal-ring.c
|
/freebsd-11.0-release/usr.bin/telnet/ |
H A D | Makefile | 10 SRCS= commands.c main.c network.c ring.c sys_bsd.c \
|