/freebsd-13-stable/sys/dev/netmap/ |
H A D | netmap_kloop.c | 138 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 D | netmap_pipe.c | 196 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 D | if_vtnet_netmap.h | 67 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 D | netmap_bdg.c | 956 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 D | netmap.c | 896 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 D | if_re_netmap.h | 79 u_int const head = kring->rhead; 181 u_int const head = kring->rhead;
|
H A D | netmap_monitor.c | 162 kring->nr_hwcur = kring->rhead; 610 end = kring->rhead; 808 new_slots = kring->rhead - first_new;
|
H A D | if_ptnet.c | 1149 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 D | netmap_generic.c | 658 u_int const head = kring->rhead; 885 u_int const head = kring->rhead;
|
H A D | netmap_kern.h | 434 uint32_t rhead; member in struct:netmap_kring 1162 return kring->rhead == kring->nr_hwtail;
|
H A D | netmap_vale.c | 1227 u_int const head = kring->rhead;
|
H A D | netmap_mem2.c | 1932 ring->head = kring->rhead;
|
/freebsd-13-stable/sbin/routed/ |
H A D | table.c | 49 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 D | defs.h | 477 extern struct radix_node_head *rhead;
|
H A D | if.c | 511 (void)rn_walktree(rhead, walk_bad, 0); 562 (void)rn_walktree(rhead, walk_bad, 0);
|
H A D | output.c | 779 (void)rn_walktree(rhead, walk_supply, 0);
|
H A D | trace.c | 866 (void)rn_walktree(rhead, walk_trace, 0);
|
/freebsd-13-stable/sys/dev/ena/ |
H A D | ena_netmap.c | 127 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 D | pci_e82545.c | 1077 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 D | t4_netmap.c | 831 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 D | iflib.c | 888 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
|