Home
last modified time | relevance | path

Searched refs:rhead (Results 1 – 22 of 22) sorted by relevance

/freebsd/sys/dev/netmap/
H A Dnetmap_kloop.c138 title, kring->name, kring->nr_hwcur, kring->rhead, in sync_kloop_kring_dump()
263 if (shadow_ring.head == kring->rhead) { in netmap_sync_kloop_tx_ring()
277 if (shadow_ring.head != kring->rhead) { in netmap_sync_kloop_tx_ring()
426 if (unlikely(hwtail == kring->rhead || in netmap_sync_kloop_rx_ring()
431 hwtail, kring->rhead, dry_cycles); in netmap_sync_kloop_rx_ring()
985 nm_sync_kloop_appl_write(atok, kring->rcur, kring->rhead); in netmap_pt_guest_txsync()
988 if (((kring->rhead != kring->nr_hwcur || nm_kr_wouldblock(kring)) in netmap_pt_guest_txsync()
1023 kring->rhead, kring->rcur, kring->nr_hwtail); in netmap_pt_guest_txsync()
1060 if (kring->rhead != kring->nr_hwcur) { in netmap_pt_guest_rxsync()
1061 nm_sync_kloop_appl_write(atok, kring->rcur, kring->rhead); in netmap_pt_guest_rxsync()
[all …]
H A Dnetmap.c911 kring->rhead = kring->rcur = kring->nr_hwcur = 0; in netmap_krings_create()
919 kring->name, kring->rhead, kring->rcur, kring->rtail); in netmap_krings_create()
1233 u_int const head = kring->rhead; in netmap_grab_packets()
1298 u_int const head = kring->rhead; in netmap_sw_to_nic()
1350 u_int const head = kring->rhead; in netmap_txsync_to_host()
1385 u_int const head = kring->rhead; in netmap_rxsync_from_host()
1690 kring->rhead, kring->rcur, kring->rtail, \
1721 NM_FAIL_ON(kring->nr_hwcur >= n || kring->rhead >= n || in nm_txsync_prologue()
1733 if (kring->rtail >= kring->rhead) { in nm_txsync_prologue()
1735 NM_FAIL_ON(head < kring->rhead || head > kring->rtail); in nm_txsync_prologue()
[all …]
H A Dnetmap_pipe.c195 txkring->rcur, txkring->rhead, txkring->rtail); in netmap_pipe_txsync()
200 m = txkring->rhead - txkring->nr_hwcur; /* new slots */ in netmap_pipe_txsync()
229 txkring->rcur, txkring->rhead, txkring->rtail, k); in netmap_pipe_txsync()
251 rxkring->rcur, rxkring->rhead, rxkring->rtail); in netmap_pipe_rxsync()
256 m = rxkring->rhead - rxkring->nr_hwcur; /* released slots */ in netmap_pipe_rxsync()
282 rxkring->rcur, rxkring->rhead, rxkring->rtail, k); in netmap_pipe_rxsync()
H A Dif_vtnet_netmap.h66 u_int const head = kring->rhead; in vtnet_netmap_txsync()
252 u_int const head = kring->rhead; in vtnet_netmap_rxsync()
340 nm_prdis("h %d c %d t %d hwcur %d hwtail %d", kring->rhead, in vtnet_netmap_rxsync()
H A Dnetmap_bdg.c1101 u_int head = kring->rhead; in netmap_vp_rxsync_locked()
1263 kring->rhead, kring->rcur, kring->rtail); in netmap_bwrap_intr_notify()
1282 bkring->rhead = bkring->rcur = kring->nr_hwtail; in netmap_bwrap_intr_notify()
1287 kring->rhead = kring->rcur = kring->rtail = kring->nr_hwtail; in netmap_bwrap_intr_notify()
1625 kring->rhead, kring->rcur, kring->rtail, in netmap_bwrap_notify()
1630 hw_kring->rhead = hw_kring->rcur = kring->nr_hwtail; in netmap_bwrap_notify()
1637 kring->rhead = kring->rcur = nm_next(hw_kring->nr_hwtail, lim); /* skip past reserved slot */ in netmap_bwrap_notify()
1644 kring->rhead, kring->rcur, kring->rtail, in netmap_bwrap_notify()
H A Dif_re_netmap.h78 u_int const head = kring->rhead; in re_netmap_txsync()
179 u_int const head = kring->rhead; in re_netmap_rxsync()
H A Dnetmap_monitor.c163 kring->nr_hwcur = kring->rhead; in netmap_monitor_rxsync()
614 end = kring->rhead; in netmap_zmon_parent_sync()
813 new_slots = kring->rhead - first_new; in netmap_monitor_parent_txsync()
H A Dnetmap_generic.c701 u_int const head = kring->rhead; in generic_netmap_txsync()
932 u_int const head = kring->rhead; in generic_netmap_rxsync()
H A Dif_ptnet.c1131 kring->rhead = kring->ring->head = atok->head; in ptnet_sync_from_csb()
1141 t, i, kring->nr_hwcur, kring->rhead, kring->rcur, in ptnet_sync_from_csb()
1352 kring->rcur = kring->rhead = head; in ptnet_ring_update()
1354 nm_sync_kloop_appl_write(atok, kring->rcur, kring->rhead); in ptnet_ring_update()
H A Dnetmap_kern.h422 uint32_t rhead; member
1209 return kring->rhead == kring->nr_hwtail; in nm_kr_txempty()
H A Dnetmap_vale.c1108 u_int const head = kring->rhead; in netmap_vale_vp_txsync()
H A Dnetmap_mem2.c2026 ring->head = kring->rhead; in netmap_mem2_rings_create()
/freebsd/sbin/routed/
H A Dtable.c44 struct radix_node_head *rhead; /* root of the radix tree */ variable
1493 (void)rn_walktree(rhead, walk_kern, 0); in fix_kern()
1632 rn_inithead(&rhead, 32); in rtinit()
1675 rt = (struct rt_entry *)rhead->rnh_lookup(&dst_sock,&mask_sock,rhead); in rtget()
1691 return (struct rt_entry *)rhead->rnh_matchaddr(&dst_sock, rhead); in rtfind()
1741 if (0 == rhead->rnh_addaddr(&rt->rt_dst_sock, &mask_sock, in rtadd()
1742 rhead, rt->rt_nodes)) { in rtadd()
1866 if (rt != (struct rt_entry *)rhead->rnh_deladdr(&dst_sock, &mask_sock, in rtdelete()
1867 rhead)) { in rtdelete()
2141 (void)rn_walktree(rhead, walk_age, 0); in age()
H A Ddefs.h470 extern struct radix_node_head *rhead;
H A Dif.c506 (void)rn_walktree(rhead, walk_bad, 0); in ifdel()
557 (void)rn_walktree(rhead, walk_bad, 0); in if_bad()
H A Doutput.c774 (void)rn_walktree(rhead, walk_supply, 0); in supply()
H A Dtrace.c861 (void)rn_walktree(rhead, walk_trace, 0); in trace_dump()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dpeer.c172 struct rhash_head *rhead, in ath11k_peer_rhash_insert() argument
180 tmp = rhashtable_lookup_get_insert_fast(rtbl, rhead, *params); in ath11k_peer_rhash_insert()
192 struct rhash_head *rhead, in ath11k_peer_rhash_remove() argument
199 ret = rhashtable_remove_fast(rtbl, rhead, *params); in ath11k_peer_rhash_remove()
/freebsd/sys/dev/ena/
H A Dena_netmap.c122 head = kring->rhead; in ena_netmap_alloc_rx_slot()
126 kring->nr_hwcur, kring->nr_hwtail, kring->rhead, kring->rcur, in ena_netmap_alloc_rx_slot()
355 while (ctx->nm_i != ctx->kring->rhead) { in ena_netmap_tx_frames()
875 if (ctx.kring->rhead > ctx.lim) { in ena_netmap_rxsync()
1039 refill_required = ctx->kring->rhead - ctx->kring->nr_hwcur; in ena_netmap_rx_cleanup()
/freebsd/usr.sbin/bhyve/
H A Dpci_e82545.c1079 uint16_t dsize, uint16_t *rhead, int *tdwb) in e82545_transmit() argument
1107 *rhead = head; in e82545_transmit()
1459 *rhead = head; in e82545_transmit()
1467 uint16_t head, rhead, tail, size; in e82545_tx_run() local
1480 rhead = head; in e82545_tx_run()
1483 sent = e82545_transmit(sc, head, tail, size, &rhead, &tdwb); in e82545_tx_run()
1486 head = rhead; in e82545_tx_run()
1491 sc->esc_TDHr = rhead; in e82545_tx_run()
/freebsd/sys/dev/cxgbe/
H A Dt4_netmap.c814 kring->rhead = kring->rcur = kring->nr_hwcur = 0; in cxgbe_netmap_off()
840 kring->rhead = kring->rcur = kring->nr_hwcur = 0; in cxgbe_netmap_off()
1111 const u_int head = kring->rhead; in cxgbe_netmap_txsync()
1175 u_int const head = kring->rhead; in cxgbe_netmap_rxsync()
/freebsd/sys/net/
H A Diflib.c894 n = kring->rhead - kring->nr_hwcur; in netmap_fl_refill()
960 MPASS(nm_i == kring->rhead); in netmap_fl_refill()
997 u_int const head = kring->rhead; in iflib_netmap_txsync()