/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/ |
H A D | tst.stddev.d | 40 #pragma D option bufpolicy=ring
|
H A D | tst.uregs.d | 40 #pragma D option bufpolicy=ring
|
H A D | tst.ustack.d | 40 #pragma D option bufpolicy=ring
|
H A D | tst.ustackdepth.d | 41 #pragma D option bufpolicy=ring
|
H A D | tst.progenyof.d | 40 #pragma D option bufpolicy=ring
|
H A D | tst.random.d | 44 #pragma D option bufpolicy=ring
|
H A D | tst.unalign.d | 36 #pragma D option bufpolicy=ring
|
H A D | tst.violentdeath.ksh | 30 $dtrace -x bufpolicy=ring -x bufsize=1k -s /dev/stdin <<EOF
|
H A D | tst.basename.d | 30 #pragma D option bufpolicy=ring
|
H A D | tst.cleanpath.d | 30 #pragma D option bufpolicy=ring
|
/freebsd-11-stable/sys/dev/bnxt/ |
H A D | bnxt.h | 117 #define NEXT_CP_CONS_V(ring, cons, v_bit) do { \ 118 if (__predict_false(++(cons) == (ring)->ring_size)) \ 122 #define RING_NEXT(ring, idx) (__predict_false(idx + 1 == (ring)->ring_size) ? \ 126 __builtin_prefetch(&((struct cmpl_base *)(cpr)->ring.vaddr)[((idx) +\ 128 ((cpr)->ring.ring_size - 1)]) 132 * the completion ring has space before the RX/TX ring does. Since we can't 136 * for a single ring group. 141 #define BNXT_CP_DISABLE_DB(ring) d 476 struct bnxt_ring ring; member in struct:bnxt_cp_ring [all...] |
/freebsd-11-stable/sys/dev/drm/ |
H A D | mach64_drv.h | 63 u32 ring_ofs; /* dword offset in ring of last descriptor for this buffer */ 67 void *start; /* write pointer (cpu address) to start of descriptor ring */ 68 u32 start_addr; /* bus address of beginning of descriptor ring */ 69 int size; /* size of ring in bytes */ 71 u32 head_addr; /* bus address of descriptor ring head */ 72 u32 head; /* dword offset of descriptor ring head */ 73 u32 tail; /* dword offset of descriptor ring tail */ 74 u32 tail_mask; /* mask used to wrap ring */ 75 int space; /* number of free bytes in ring */ 86 drm_mach64_descriptor_ring_t ring; /* DM member in struct:drm_mach64_private 544 drm_mach64_descriptor_ring_t *ring = &dev_priv->ring; local 569 mach64_ring_resume(drm_mach64_private_t * dev_priv, drm_mach64_descriptor_ring_t * ring) argument 613 mach64_ring_tick(drm_mach64_private_t * dev_priv, drm_mach64_descriptor_ring_t * ring) argument 682 drm_mach64_descriptor_ring_t *ring = &dev_priv->ring; local [all...] |
H A D | mach64_dma.c | 101 * Wait for free entries in the ring buffer. 104 * circular buffer (commonly referred as "ring buffer" in other drivers) with 108 * This function should be called before writing new entries to the ring 112 * \param n number of free entries in the ring buffer to wait for. 121 drm_mach64_descriptor_ring_t *ring = &dev_priv->ring; local 126 if (ring->space >= n) { 147 drm_mach64_descriptor_ring_t *ring = &dev_priv->ring; local 151 head = ring 182 drm_mach64_descriptor_ring_t *ring = &dev_priv->ring; local 479 drm_mach64_descriptor_ring_t *ring = &dev_priv->ring; local 1180 drm_mach64_descriptor_ring_t *ring = &dev_priv->ring; local 1512 drm_mach64_descriptor_ring_t *ring = &dev_priv->ring; local 1585 drm_mach64_descriptor_ring_t *ring = &dev_priv->ring; local [all...] |
H A D | r128_drv.h | 82 drm_r128_ring_buffer_t ring; member in struct:drm_r128_private 418 drm_r128_ring_buffer_t *ring = &dev_priv->ring; local 419 ring->space = (GET_RING_HEAD(dev_priv) - ring->tail) * sizeof(u32); 420 if (ring->space <= 0) 421 ring->space += ring->size; 430 drm_r128_ring_buffer_t *ring = &dev_priv->ring; in [all...] |
/freebsd-11-stable/sys/dev/virtio/ |
H A D | virtio_ring.h | 52 /* VirtIO ring descriptors: 16 bytes. 68 uint16_t ring[0]; member in struct:vring_avail 82 struct vring_used_elem ring[0]; member in struct:vring_used 93 /* The standard layout for the ring is a continuous chunk of memory which 100 * // A ring of available descriptor heads with free-running index. 109 * // A ring of used descriptor heads with free-running index. 120 * We publish the used event index at the end of the available ring, and vice 123 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num]) 124 #define vring_avail_event(vr) (*(uint16_t *)&(vr)->used->ring[(vr)->num]) 149 (((unsigned long) &vr->avail->ring[nu [all...] |
/freebsd-11-stable/sys/dev/rt/ |
H A D | if_rt.c | 143 struct rt_softc_rx_ring *ring, int limit); 145 struct rt_softc_tx_ring *ring); 153 struct rt_softc_rx_ring *ring, int qid); 155 struct rt_softc_rx_ring *ring); 157 struct rt_softc_rx_ring *ring); 159 struct rt_softc_tx_ring *ring, int qid); 161 struct rt_softc_tx_ring *ring); 163 struct rt_softc_tx_ring *ring); 471 device_printf(dev, "could not allocate Tx ring #%d\n", 481 device_printf(dev, "could not allocate Rx ring\ 1007 struct rt_softc_tx_ring *ring; local 1813 rt_rx_eof(struct rt_softc *sc, struct rt_softc_rx_ring *ring, int limit) argument 1972 rt_tx_eof(struct rt_softc *sc, struct rt_softc_tx_ring *ring) argument 2176 rt_alloc_rx_ring(struct rt_softc *sc, struct rt_softc_rx_ring *ring, int qid) argument 2281 rt_reset_rx_ring(struct rt_softc *sc, struct rt_softc_rx_ring *ring) argument 2300 rt_free_rx_ring(struct rt_softc *sc, struct rt_softc_rx_ring *ring) argument 2341 rt_alloc_tx_ring(struct rt_softc *sc, struct rt_softc_tx_ring *ring, int qid) argument 2446 rt_reset_tx_ring(struct rt_softc *sc, struct rt_softc_tx_ring *ring) argument 2490 rt_free_tx_ring(struct rt_softc *sc, struct rt_softc_tx_ring *ring) argument [all...] |
/freebsd-11-stable/sys/dev/drm2/i915/ |
H A D | i915_gem_execbuffer.c | 346 struct intel_ring_buffer *ring) 350 bool has_fenced_gpu_access = INTEL_INFO(ring->dev)->gen < 4; 411 i915_gem_execbuffer_reserve(struct intel_ring_buffer *ring, argument 417 bool has_fenced_gpu_access = INTEL_INFO(ring->dev)->gen < 4; 481 ret = i915_gem_execbuffer_reserve_object(obj, ring); 491 ret = i915_gem_execbuffer_reserve_object(obj, ring); 503 ret = i915_gem_evict_everything(ring->dev); 512 struct intel_ring_buffer *ring, 609 ret = i915_gem_execbuffer_reserve(ring, file, objects); 634 i915_gem_execbuffer_wait_for_flips(struct intel_ring_buffer *ring, u3 argument 345 i915_gem_execbuffer_reserve_object(struct drm_i915_gem_object *obj, struct intel_ring_buffer *ring) argument 510 i915_gem_execbuffer_relocate_slow(struct drm_device *dev, struct drm_file *file, struct intel_ring_buffer *ring, struct list_head *objects, struct eb_objects *eb, struct drm_i915_gem_exec_object2 *exec, int count) argument 666 i915_gem_execbuffer_move_to_gpu(struct intel_ring_buffer *ring, struct list_head *objects) argument 770 i915_gem_execbuffer_move_to_active(struct list_head *objects, struct intel_ring_buffer *ring) argument 799 i915_gem_execbuffer_retire_commands(struct drm_device *dev, struct drm_file *file, struct intel_ring_buffer *ring) argument 811 i915_reset_gen7_sol_offsets(struct drm_device *dev, struct intel_ring_buffer *ring) argument 846 struct intel_ring_buffer *ring; local [all...] |
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnet/ |
H A D | Makefile.am | 11 telnet_SOURCES = authenc.c commands.c main.c network.c ring.c \ 13 utilities.c defines.h externs.h ring.h telnet_locl.h types.h
|
/freebsd-11-stable/sys/dev/drm2/radeon/ |
H A D | si.c | 1799 struct radeon_ring *ring = &rdev->ring[fence->ring]; local 1800 u64 addr = rdev->fence_drv[fence->ring].gpu_addr; 1803 radeon_ring_write(ring, PACKET3(PACKET3_SET_CONFIG_REG, 1)); 1804 radeon_ring_write(ring, (CP_COHER_CNTL2 - PACKET3_SET_CONFIG_REG_START) >> 2); 1805 radeon_ring_write(ring, 0); 1806 radeon_ring_write(ring, PACKET3(PACKET3_SURFACE_SYNC, 3)); 1807 radeon_ring_write(ring, PACKET3_TCL1_ACTION_ENA | 1811 radeon_ring_write(ring, 1828 struct radeon_ring *ring = &rdev->ring[ib->ring]; local 1941 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; local 2010 struct radeon_ring *ring; local 2028 struct radeon_ring *ring; local 2162 si_gpu_is_lockup(struct radeon_device *rdev, struct radeon_ring *ring) argument 2988 struct radeon_ring *ring = &rdev->ring[rdev->asic->vm.pt_ring_index]; local 3076 struct radeon_ring *ring = &rdev->ring[ridx]; local 3119 struct radeon_ring *ring = &rdev->ring[ridx]; local 4054 struct radeon_ring *ring = &rdev->ring[ring_index]; local 4113 struct radeon_ring *ring; local 4305 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; local [all...] |
/freebsd-11-stable/sys/dev/iwm/ |
H A D | if_iwm_util.c | 172 struct iwm_tx_ring *ring = &sc->txq[IWM_MVM_CMD_QUEUE]; local 202 sc->sc_wantresp = ring->qid << 16 | ring->cur; 215 desc = &ring->desc[ring->cur]; 216 txdata = &ring->data[ring->cur]; 247 error = bus_dmamap_load_mbuf_sg(ring->data_dmat, 259 cmd = &ring->cmd[ring [all...] |
/freebsd-11-stable/sys/net/ |
H A D | netmap_user.h | 44 * we can access ring->cur, ring->head, ring->tail, etc. 46 * ring->slot[i] gives us the i-th slot (we can access 49 * char *buf = NETMAP_BUF(ring, x) returns a pointer to 52 * All ring indexes (head, cur, tail) should always move forward. 53 * To compute the next index in a circular ring you can use 54 * i = nm_ring_next(ring, i); 114 #define NETMAP_BUF(ring, index) \ 115 ((char *)(ring) 142 nm_ring_space(struct netmap_ring *ring) argument 1030 struct netmap_ring *ring; local 1086 struct netmap_ring *ring; local 1141 struct netmap_ring *ring = NETMAP_RXRING(d->nifp, ri); local [all...] |
/freebsd-11-stable/sys/dev/vxge/vxgehal/ |
H A D | vxgehal-ring.h | 81 * @channel: Channel "base" of this ring, the common part of all HAL 87 * @ring_length: Length of the ring 115 * If not NULL, HAL invokes the callback when opening the ring. 119 * @stats: Statistics for ring 146 #define VXGE_HAL_RING_ULD_PRIV(ring, rxdh) \ 147 ring->channel.dtr_arr[ \ 150 #define VXGE_HAL_RING_HAL_PRIV(ring, rxdh) \ 151 ((__hal_ring_rxd_priv_t *)(ring->channel.dtr_arr[ \ 191 __hal_ring_t *ring,
|
/freebsd-11-stable/sys/dev/nxge/xgehal/ |
H A D | xgehal-ring-fp.c | 30 #include <dev/nxge/include/xgehal-ring.h> 34 __hal_ring_rxd_priv(xge_hal_ring_t *ring, xge_hal_dtr_h dtrh) argument 43 xge_assert(ring); 44 if (ring->buffer_mode == XGE_HAL_RING_QUEUE_BUFFER_MODE_5) { 50 ((char*)ring->mempool->memblocks_priv_arr[memblock_idx] + ring->rxd_priv_size * i); 123 * xge_hal_ring_dtr_reserve - Reserve ring descriptor. 482 xge_hal_ring_t *ring = (xge_hal_ring_t *)channelh; local 550 xge_hal_ring_t *ring = (xge_hal_ring_t *)channelh; local 558 priv = __hal_ring_rxd_priv(ring, rxd 584 xge_hal_ring_t *ring = (xge_hal_ring_t *)channelh; local 670 xge_hal_ring_t *ring = (xge_hal_ring_t *)channelh; local 814 xge_hal_ring_t *ring = (xge_hal_ring_t *)channelh; local [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering/ |
H A D | tst.ring1.d | 31 * Positive test for ring buffer policy. 33 * SECTION: Buffers and Buffering/ring Policy; 41 * We assume that a trace() of an integer stores at least 8 bytes. If ring 44 * sure that a high switchrate doesn't mask broken ring buffers. 46 #pragma D option bufpolicy=ring
|
H A D | tst.ring3.d | 31 * Positive test for ring buffer policy. 33 * SECTION: Buffers and Buffering/ring Policy; 51 #pragma D option bufpolicy=ring
|