Searched refs:rhead (Results 1 - 21 of 21) sorted by relevance

/freebsd-13-stable/sys/dev/netmap/
H A Dnetmap_kloop.c138 nm_prinf("%s, kring %s, hwcur %d, rhead %d, "
140 title, kring->name, kring->nr_hwcur, kring->rhead,
261 if (shadow_ring.head == kring->rhead) {
275 if (shadow_ring.head != kring->rhead) {
420 if (unlikely(hwtail == kring->rhead ||
424 nm_prdis(1, "nr_hwtail: %d rhead: %d dry_cycles: %d",
425 hwtail, kring->rhead, dry_cycles);
979 nm_sync_kloop_appl_write(atok, kring->rcur, kring->rhead);
982 if (((kring->rhead != kring->nr_hwcur || nm_kr_wouldblock(kring))
1017 kring->rhead, krin
[all...]
H A Dnetmap_pipe.c196 txkring->rcur, txkring->rhead, txkring->rtail);
201 m = txkring->rhead - txkring->nr_hwcur; /* new slots */
226 txkring->rcur, txkring->rhead, txkring->rtail, k);
248 rxkring->rcur, rxkring->rhead, rxkring->rtail);
253 m = rxkring->rhead - rxkring->nr_hwcur; /* released slots */
279 rxkring->rcur, rxkring->rhead, rxkring->rtail, k);
H A Dif_vtnet_netmap.h67 u_int const head = kring->rhead;
250 u_int const head = kring->rhead;
338 nm_prdis("h %d c %d t %d hwcur %d hwtail %d", kring->rhead,
H A Dnetmap_bdg.c956 u_int head = kring->rhead;
1118 kring->rhead, kring->rcur, kring->rtail);
1134 * had hwcur == bkring->rhead. So advance bkring->rhead to kring->nr_hwtail
1137 bkring->rhead = bkring->rcur = kring->nr_hwtail;
1142 kring->rhead = kring->rcur = kring->rtail = kring->nr_hwtail;
1416 kring->rhead, kring->rcur, kring->rtail,
1421 hw_kring->rhead = hw_kring->rcur = kring->nr_hwtail;
1428 kring->rhead = kring->rcur = nm_next(hw_kring->nr_hwtail, lim); /* skip past reserved slot */
1435 kring->rhead, krin
[all...]
H A Dnetmap.c896 kring->rhead = kring->rcur = kring->nr_hwcur = 0;
904 kring->name, kring->rhead, kring->rcur, kring->rtail);
1191 u_int const head = kring->rhead;
1240 * kring->nr_hwcur and kring->rhead.
1256 u_int const head = kring->rhead;
1308 u_int const head = kring->rhead;
1343 u_int const head = kring->rhead;
1648 kring->rhead, kring->rcur, kring->rtail, \
1659 * rhead, rcur and rtail=hwtail are stored from previous round.
1663 * hwcur <= *rhead <
[all...]
H A Dif_re_netmap.h79 u_int const head = kring->rhead;
181 u_int const head = kring->rhead;
H A Dnetmap_monitor.c162 kring->nr_hwcur = kring->rhead;
610 end = kring->rhead;
808 new_slots = kring->rhead - first_new;
H A Dif_ptnet.c1149 kring->rhead = kring->ring->head = atok->head;
1159 t, i, kring->nr_hwcur, kring->rhead, kring->rcur,
1370 kring->rcur = kring->rhead = head;
1372 nm_sync_kloop_appl_write(atok, kring->rcur, kring->rhead);
H A Dnetmap_generic.c658 u_int const head = kring->rhead;
885 u_int const head = kring->rhead;
H A Dnetmap_kern.h434 uint32_t rhead; member in struct:netmap_kring
1162 return kring->rhead == kring->nr_hwtail;
H A Dnetmap_vale.c1227 u_int const head = kring->rhead;
H A Dnetmap_mem2.c1932 ring->head = kring->rhead;
/freebsd-13-stable/sbin/routed/
H A Dtable.c49 struct radix_node_head *rhead; /* root of the radix tree */ variable in typeref:struct:radix_node_head
1498 (void)rn_walktree(rhead, walk_kern, 0);
1637 rn_inithead(&rhead, 32);
1680 rt = (struct rt_entry *)rhead->rnh_lookup(&dst_sock,&mask_sock,rhead);
1696 return (struct rt_entry *)rhead->rnh_matchaddr(&dst_sock, rhead);
1746 if (0 == rhead->rnh_addaddr(&rt->rt_dst_sock, &mask_sock,
1747 rhead, rt->rt_nodes)) {
1871 if (rt != (struct rt_entry *)rhead
[all...]
H A Ddefs.h477 extern struct radix_node_head *rhead;
H A Dif.c511 (void)rn_walktree(rhead, walk_bad, 0);
562 (void)rn_walktree(rhead, walk_bad, 0);
H A Doutput.c779 (void)rn_walktree(rhead, walk_supply, 0);
H A Dtrace.c866 (void)rn_walktree(rhead, walk_trace, 0);
/freebsd-13-stable/sys/dev/ena/
H A Dena_netmap.c127 head = kring->rhead;
130 "rhead: %d, rcur: %d, rtail: %d\n", kring->nr_hwcur,
131 kring->nr_hwtail, kring->rhead, kring->rcur, kring->rtail);
357 while (ctx->nm_i != ctx->kring->rhead) {
902 if (ctx.kring->rhead > ctx.lim) {
1062 refill_required = ctx->kring->rhead - ctx->kring->nr_hwcur;
/freebsd-13-stable/usr.sbin/bhyve/
H A Dpci_e82545.c1077 uint16_t dsize, uint16_t *rhead, int *tdwb)
1104 *rhead = head;
1439 *rhead = head;
1447 uint16_t head, rhead, tail, size; local
1453 DPRINTF("tx_run: head %x, rhead %x, tail %x",
1457 rhead = head;
1460 sent = e82545_transmit(sc, head, tail, size, &rhead, &tdwb);
1463 head = rhead;
1468 sc->esc_TDHr = rhead;
1477 DPRINTF("tx_run done: head %x, rhead
1076 e82545_transmit(struct e82545_softc *sc, uint16_t head, uint16_t tail, uint16_t dsize, uint16_t *rhead, int *tdwb) argument
[all...]
/freebsd-13-stable/sys/dev/cxgbe/
H A Dt4_netmap.c831 kring->rhead = kring->rcur = kring->nr_hwcur = 0;
857 kring->rhead = kring->rcur = kring->nr_hwcur = 0;
1129 const u_int head = kring->rhead;
1135 * to kring->rhead. Note that the driver's pidx moves independent of
1193 u_int const head = kring->rhead;
/freebsd-13-stable/sys/net/
H A Diflib.c888 n = kring->rhead - kring->nr_hwcur;
951 MPASS(nm_i == kring->rhead);
969 * Userspace wants to send packets up to the one before kring->rhead,
989 u_int const head = kring->rhead;
1141 * On call, kring->rhead is the first packet that userspace wants

Completed in 303 milliseconds