Home
last modified time | relevance | path

Searched defs:ring (Results 1 – 25 of 92) sorted by relevance

1234

/freebsd-13-stable/crypto/heimdal/appl/telnet/telnet/
HDring.c83 ring_init(Ring *ring, unsigned char *buffer, int count) in ring_init()
107 ring_mark(Ring *ring) in ring_mark()
117 ring_at_mark(Ring *ring) in ring_at_mark()
131 ring_clear_mark(Ring *ring) in ring_clear_mark()
140 ring_supplied(Ring *ring, int count) in ring_supplied()
150 ring_consumed(Ring *ring, int count) in ring_consumed()
185 ring_empty_count(Ring *ring) in ring_empty_count()
196 ring_empty_consecutive(Ring *ring) in ring_empty_consecutive()
217 ring_full_count(Ring *ring) in ring_full_count()
235 ring_full_consecutive(Ring *ring) in ring_full_consecutive()
[all …]
/freebsd-13-stable/contrib/telnet/telnet/
HDring.c100 ring_init(Ring *ring, unsigned char *buffer, int count) in ring_init()
124 ring_mark(Ring *ring) in ring_mark()
134 ring_at_mark(Ring *ring) in ring_at_mark()
148 ring_clear_mark(Ring *ring) in ring_clear_mark()
157 ring_supplied(Ring *ring, int count) in ring_supplied()
167 ring_consumed(Ring *ring, int count) in ring_consumed()
202 ring_empty_count(Ring *ring) in ring_empty_count()
213 ring_empty_consecutive(Ring *ring) in ring_empty_consecutive()
234 ring_full_count(Ring *ring) in ring_full_count()
252 ring_full_consecutive(Ring *ring) in ring_full_consecutive()
[all …]
/freebsd-13-stable/sys/contrib/ck/include/
HDck_ring.h57 ck_ring_size(const struct ck_ring *ring) in ck_ring_size()
67 ck_ring_capacity(const struct ck_ring *ring) in ck_ring_capacity()
73 ck_ring_init(struct ck_ring *ring, unsigned int size) in ck_ring_init()
88 _ck_ring_enqueue_sp(struct ck_ring *ring, in _ck_ring_enqueue_sp()
119 _ck_ring_enqueue_sp_size(struct ck_ring *ring, in _ck_ring_enqueue_sp_size()
134 _ck_ring_dequeue_sc(struct ck_ring *ring, in _ck_ring_dequeue_sc()
167 _ck_ring_enqueue_mp(struct ck_ring *ring, in _ck_ring_enqueue_mp()
253 _ck_ring_enqueue_mp_size(struct ck_ring *ring, in _ck_ring_enqueue_mp_size()
268 _ck_ring_trydequeue_mc(struct ck_ring *ring, in _ck_ring_trydequeue_mc()
293 _ck_ring_dequeue_mc(struct ck_ring *ring, in _ck_ring_dequeue_mc()
[all …]
/freebsd-13-stable/sys/dev/mlx4/mlx4_en/
HDmlx4_en_tx.c60 struct mlx4_en_tx_ring *ring; in mlx4_en_create_tx_ring() local
194 struct mlx4_en_tx_ring *ring = *pring; in mlx4_en_destroy_tx_ring() local
216 struct mlx4_en_tx_ring *ring, in mlx4_en_activate_tx_ring()
244 struct mlx4_en_tx_ring *ring) in mlx4_en_deactivate_tx_ring()
272 struct mlx4_en_tx_ring *ring, u32 index, u8 owner) in mlx4_en_stamp_wqe()
291 struct mlx4_en_tx_ring *ring, u32 index) in mlx4_en_free_tx_desc()
311 int mlx4_en_free_tx_buf(struct ifnet *dev, struct mlx4_en_tx_ring *ring) in mlx4_en_free_tx_buf()
340 mlx4_en_tx_ring_is_full(struct mlx4_en_tx_ring *ring) in mlx4_en_tx_ring_is_full()
352 struct mlx4_en_tx_ring *ring = priv->tx_ring[cq->ring]; in mlx4_en_process_tx_cq() local
427 struct mlx4_en_tx_ring *ring = priv->tx_ring[cq->ring]; in mlx4_en_tx_irq() local
[all …]
HDmlx4_en_rx.c49 struct mlx4_en_rx_ring *ring, in mlx4_en_init_rx_desc()
74 mlx4_en_alloc_mbuf(struct mlx4_en_rx_ring *ring) in mlx4_en_alloc_mbuf()
110 mlx4_en_alloc_buf(struct mlx4_en_rx_ring *ring, struct mlx4_en_rx_desc *rx_desc, in mlx4_en_alloc_buf()
223 mlx4_en_free_buf(struct mlx4_en_rx_ring *ring, struct mlx4_en_rx_mbuf *mb_list) in mlx4_en_free_buf()
234 struct mlx4_en_rx_ring *ring, int index) in mlx4_en_prepare_rx_desc()
250 mlx4_en_update_rx_prod_db(struct mlx4_en_rx_ring *ring) in mlx4_en_update_rx_prod_db()
257 struct mlx4_en_rx_ring *ring; in mlx4_en_fill_rx_buffers() local
304 struct mlx4_en_rx_ring *ring) in mlx4_en_free_rx_buf()
370 struct mlx4_en_rx_ring *ring; in mlx4_en_create_rx_ring() local
465 struct mlx4_en_rx_ring *ring; in mlx4_en_activate_rx_rings() local
[all …]
HDmlx4_en_port.c165 const struct mlx4_en_rx_ring *ring = priv->rx_ring[i]; in mlx4_en_fold_software_stats() local
176 const struct mlx4_en_tx_ring *ring = priv->tx_ring[i]; in mlx4_en_fold_software_stats() local
225 const struct mlx4_en_tx_ring *ring; in mlx4_en_DUMP_ETH_STATS() local
451 const struct mlx4_en_tx_ring *ring = priv->tx_ring[i]; in mlx4_en_get_vport_stats() local
/freebsd-13-stable/sys/dev/safexcel/
HDsafexcel.c97 safexcel_next_request(struct safexcel_ring *ring) in safexcel_next_request()
108 safexcel_cmd_descr_next(struct safexcel_cmd_descr_ring *ring) in safexcel_cmd_descr_next()
120 safexcel_res_descr_next(struct safexcel_res_descr_ring *ring) in safexcel_res_descr_next()
132 safexcel_alloc_request(struct safexcel_softc *sc, struct safexcel_ring *ring) in safexcel_alloc_request()
145 safexcel_free_request(struct safexcel_ring *ring, struct safexcel_request *req) in safexcel_free_request()
168 struct safexcel_ring *ring; in safexcel_rdr_intr() local
266 int ring; in safexcel_ring_intr() local
554 struct safexcel_ring *ring; in safexcel_hw_setup_rings() local
749 safexcel_execute(struct safexcel_softc *sc, struct safexcel_ring *ring, in safexcel_execute()
790 struct safexcel_ring *ring; in safexcel_init_rings() local
[all …]
/freebsd-13-stable/sys/dev/axgbe/
HDxgbe-txrx.c75 axgbe_ctx_desc_setup(struct xgbe_prv_data *pdata, struct xgbe_ring *ring, in axgbe_ctx_desc_setup()
175 struct xgbe_ring *ring; in axgbe_isc_txd_encap() local
374 struct xgbe_ring *ring = channel->tx_ring; in axgbe_isc_txd_flush() local
392 struct xgbe_ring *ring = channel->tx_ring; in axgbe_isc_txd_credits_update() local
448 struct xgbe_ring *ring = channel->rx_ring; in axgbe_isc_rxd_refill() local
539 struct xgbe_ring *ring = channel->rx_ring; in axgbe_isc_rxd_flush() local
563 struct xgbe_ring *ring = channel->rx_ring; in axgbe_isc_rxd_available() local
701 struct xgbe_ring *ring = channel->rx_ring; in axgbe_isc_rxd_pkt_get() local
HDxgbe-desc.c123 struct xgbe_ring *ring; in xgbe_wrapper_tx_descriptor_init() local
167 struct xgbe_ring *ring; in xgbe_wrapper_rx_descriptor_init() local
/freebsd-13-stable/sys/dev/rtwn/pci/
HDrtwn_pci_rx.c86 struct rtwn_rx_ring *ring = &pc->rx_ring; in rtwn_pci_rx_frame() local
182 struct rtwn_rx_ring *ring = &pc->rx_ring; in rtwn_pci_rx_buf_copy() local
249 struct rtwn_tx_ring *ring = &pc->tx_ring[qid]; in rtwn_pci_tx_done() local
321 struct rtwn_rx_ring *ring = &pc->rx_ring; in rtwn_pci_rx_done() local
HDrtwn_pci_tx.c94 struct rtwn_tx_ring *ring; in rtwn_pci_tx_start_frame() local
201 struct rtwn_tx_ring *ring; in rtwn_pci_tx_start_beacon() local
HDrtwn_pci_attach.c333 struct rtwn_tx_ring *ring = &pc->tx_ring[qid]; in rtwn_pci_reset_tx_ring_stopped() local
370 struct rtwn_tx_ring *ring = &pc->tx_ring[RTWN_PCI_BEACON_QUEUE]; in rtwn_pci_reset_beacon_ring() local
417 struct rtwn_tx_ring *ring = &pc->tx_ring[qid]; in rtwn_pci_reset_tx_list() local
/freebsd-13-stable/sys/dev/oce/
HDoce_util.c151 oce_destroy_ring_buffer(POCE_SOFTC sc, oce_ring_buffer_t *ring) in oce_destroy_ring_buffer()
163 oce_ring_buffer_t *ring; in oce_create_ring_buffer() local
240 oce_page_list(oce_ring_buffer_t *ring, struct phys_addr *pa_list) in oce_page_list()
/freebsd-13-stable/sys/dev/rt/
HDif_rt.c1040 struct rt_softc_tx_ring *ring; in rt_tx_data() local
1845 rt_rx_eof(struct rt_softc *sc, struct rt_softc_rx_ring *ring, int limit) in rt_rx_eof()
2004 rt_tx_eof(struct rt_softc *sc, struct rt_softc_tx_ring *ring) in rt_tx_eof()
2208 rt_alloc_rx_ring(struct rt_softc *sc, struct rt_softc_rx_ring *ring, int qid) in rt_alloc_rx_ring()
2313 rt_reset_rx_ring(struct rt_softc *sc, struct rt_softc_rx_ring *ring) in rt_reset_rx_ring()
2332 rt_free_rx_ring(struct rt_softc *sc, struct rt_softc_rx_ring *ring) in rt_free_rx_ring()
2373 rt_alloc_tx_ring(struct rt_softc *sc, struct rt_softc_tx_ring *ring, int qid) in rt_alloc_tx_ring()
2478 rt_reset_tx_ring(struct rt_softc *sc, struct rt_softc_tx_ring *ring) in rt_reset_tx_ring()
2522 rt_free_tx_ring(struct rt_softc *sc, struct rt_softc_tx_ring *ring) in rt_free_tx_ring()
/freebsd-13-stable/sys/dev/netmap/
HDif_vtnet_netmap.h62 struct netmap_ring *ring = kring->ring; in vtnet_netmap_txsync() local
156 struct netmap_ring *ring = kring->ring; in vtnet_netmap_kring_refill() local
245 struct netmap_ring *ring = kring->ring; in vtnet_netmap_rxsync() local
HDif_re_netmap.h73 struct netmap_ring *ring = kring->ring; in re_netmap_txsync() local
175 struct netmap_ring *ring = kring->ring; in re_netmap_rxsync() local
/freebsd-13-stable/sys/dev/virtio/
HDvirtio_ring.h68 uint16_t ring[0]; member
82 struct vring_used_elem ring[0]; member
/freebsd-13-stable/sys/dev/nfe/
HDif_nfe.c1084 nfe_alloc_rx_ring(struct nfe_softc *sc, struct nfe_rx_ring *ring) in nfe_alloc_rx_ring()
1181 nfe_alloc_jrx_ring(struct nfe_softc *sc, struct nfe_jrx_ring *ring) in nfe_alloc_jrx_ring()
1300 nfe_init_rx_ring(struct nfe_softc *sc, struct nfe_rx_ring *ring) in nfe_init_rx_ring()
1327 nfe_init_jrx_ring(struct nfe_softc *sc, struct nfe_jrx_ring *ring) in nfe_init_jrx_ring()
1354 nfe_free_rx_ring(struct nfe_softc *sc, struct nfe_rx_ring *ring) in nfe_free_rx_ring()
1400 nfe_free_jrx_ring(struct nfe_softc *sc, struct nfe_jrx_ring *ring) in nfe_free_jrx_ring()
1453 nfe_alloc_tx_ring(struct nfe_softc *sc, struct nfe_tx_ring *ring) in nfe_alloc_tx_ring()
1537 nfe_init_tx_ring(struct nfe_softc *sc, struct nfe_tx_ring *ring) in nfe_init_tx_ring()
1559 nfe_free_tx_ring(struct nfe_softc *sc, struct nfe_tx_ring *ring) in nfe_free_tx_ring()
/freebsd-13-stable/sys/dev/wpi/
HDif_wpi.c993 struct wpi_rx_ring *ring = &sc->rxq; in wpi_alloc_rx_ring() local
1084 struct wpi_rx_ring *ring = &sc->rxq; in wpi_update_rx_ring_ps() local
1107 struct wpi_rx_ring *ring = &sc->rxq; in wpi_reset_rx_ring() local
1130 struct wpi_rx_ring *ring = &sc->rxq; in wpi_free_rx_ring() local
1157 wpi_alloc_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring, uint8_t qid) in wpi_alloc_tx_ring()
1233 wpi_update_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring) in wpi_update_tx_ring()
1239 wpi_update_tx_ring_ps(struct wpi_softc *sc, struct wpi_tx_ring *ring) in wpi_update_tx_ring_ps()
1259 wpi_reset_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring) in wpi_reset_tx_ring()
1291 wpi_free_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring) in wpi_free_tx_ring()
1911 struct wpi_rx_ring *ring = &sc->rxq; in wpi_rx_done() local
[all …]
/freebsd-13-stable/sys/xen/interface/io/
HDconsole.h32 #define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring)-1)) argument
/freebsd-13-stable/sys/net/
HDnetmap_user.h118 #define NETMAP_BUF(ring, index) \ argument
121 #define NETMAP_BUF_IDX(ring, buf) \ argument
144 nm_ring_space(struct netmap_ring *ring) in nm_ring_space()
1027 struct netmap_ring *ring; in nm_inject() local
1082 struct netmap_ring *ring; in nm_dispatch() local
1137 struct netmap_ring *ring = NETMAP_RXRING(d->nifp, ri); in nm_nextpkt() local
/freebsd-13-stable/sys/contrib/ncsw/Peripherals/QM/
HDqman_private.h142 struct qm_eqcr_entry *ring, *cursor; member
154 struct qm_dqrr_entry *ring, *cursor; member
168 struct qm_mr_entry *ring, *cursor; member
/freebsd-13-stable/sys/dev/iwn/
HDif_iwn.c1840 iwn_alloc_rx_ring(struct iwn_softc *sc, struct iwn_rx_ring *ring) in iwn_alloc_rx_ring()
1937 iwn_reset_rx_ring(struct iwn_softc *sc, struct iwn_rx_ring *ring) in iwn_reset_rx_ring()
1958 iwn_free_rx_ring(struct iwn_softc *sc, struct iwn_rx_ring *ring) in iwn_free_rx_ring()
1987 iwn_alloc_tx_ring(struct iwn_softc *sc, struct iwn_tx_ring *ring, int qid) in iwn_alloc_tx_ring()
2057 iwn_reset_tx_ring(struct iwn_softc *sc, struct iwn_tx_ring *ring) in iwn_reset_tx_ring()
2090 iwn_free_tx_ring(struct iwn_softc *sc, struct iwn_tx_ring *ring) in iwn_free_tx_ring()
2120 struct iwn_tx_ring *ring = &sc->txq[qid]; in iwn_check_tx_ring() local
3025 struct iwn_rx_ring *ring = &sc->rxq; in iwn_rx_done() local
3200 iwn_agg_tx_complete(struct iwn_softc *sc, struct iwn_tx_ring *ring, int tid, in iwn_agg_tx_complete()
3247 struct iwn_tx_ring *ring; in iwn_rx_compressed_ba() local
[all …]
/freebsd-13-stable/sys/dev/ice/
HDice_controlq.c143 static void ice_free_cq_ring(struct ice_hw *hw, struct ice_ctl_q_ring *ring) in ice_free_cq_ring()
253 ice_cfg_cq_regs(struct ice_hw *hw, struct ice_ctl_q_ring *ring, u16 num_entries) in ice_cfg_cq_regs()
306 #define ICE_FREE_CQ_BUFS(hw, qi, ring) \ argument
/freebsd-13-stable/tools/tools/netmap/
HDlb.c177 struct netmap_ring *ring; member
517 struct netmap_ring *ring = port->ring; in forward_packet() local
901 struct netmap_ring *ring = ports[i].ring; in main() local
944 struct netmap_ring *ring = p->ring; in main() local
973 struct netmap_ring *ring; in main() local

1234