/freebsd-current/sys/dev/netmap/ |
H A D | netmap_kloop.c | 136 nm_prinf("%s, kring %s, hwcur %d, rhead %d, " 138 title, kring->name, kring->nr_hwcur, kring->rhead, 263 if (shadow_ring.head == kring->rhead) { 277 if (shadow_ring.head != kring->rhead) { 426 if (unlikely(hwtail == kring->rhead || 430 nm_prdis(1, "nr_hwtail: %d rhead: %d dry_cycles: %d", 431 hwtail, kring->rhead, dry_cycles); 985 nm_sync_kloop_appl_write(atok, kring->rcur, kring->rhead); 988 if (((kring->rhead != kring->nr_hwcur || nm_kr_wouldblock(kring)) 1023 kring->rhead, krin [all...] |
H A D | netmap_pipe.c | 195 txkring->rcur, txkring->rhead, txkring->rtail); 200 m = txkring->rhead - txkring->nr_hwcur; /* new slots */ 229 txkring->rcur, txkring->rhead, txkring->rtail, k); 251 rxkring->rcur, rxkring->rhead, rxkring->rtail); 256 m = rxkring->rhead - rxkring->nr_hwcur; /* released slots */ 282 rxkring->rcur, rxkring->rhead, rxkring->rtail, k);
|
H A D | if_vtnet_netmap.h | 66 u_int const head = kring->rhead; 252 u_int const head = kring->rhead; 340 nm_prdis("h %d c %d t %d hwcur %d hwtail %d", kring->rhead,
|
H A D | netmap.c | 911 kring->rhead = kring->rcur = kring->nr_hwcur = 0; 919 kring->name, kring->rhead, kring->rcur, kring->rtail); 1233 u_int const head = kring->rhead; 1282 * kring->nr_hwcur and kring->rhead. 1298 u_int const head = kring->rhead; 1350 u_int const head = kring->rhead; 1385 u_int const head = kring->rhead; 1690 kring->rhead, kring->rcur, kring->rtail, \ 1701 * rhead, rcur and rtail=hwtail are stored from previous round. 1705 * hwcur <= *rhead < [all...] |
H A D | netmap_bdg.c | 1101 u_int head = kring->rhead; 1263 kring->rhead, kring->rcur, kring->rtail); 1279 * had hwcur == bkring->rhead. So advance bkring->rhead to kring->nr_hwtail 1282 bkring->rhead = bkring->rcur = kring->nr_hwtail; 1287 kring->rhead = kring->rcur = kring->rtail = kring->nr_hwtail; 1625 kring->rhead, kring->rcur, kring->rtail, 1630 hw_kring->rhead = hw_kring->rcur = kring->nr_hwtail; 1637 kring->rhead = kring->rcur = nm_next(hw_kring->nr_hwtail, lim); /* skip past reserved slot */ 1644 kring->rhead, krin [all...] |
H A D | if_re_netmap.h | 78 u_int const head = kring->rhead; 179 u_int const head = kring->rhead;
|
H A D | netmap_monitor.c | 163 kring->nr_hwcur = kring->rhead; 614 end = kring->rhead; 813 new_slots = kring->rhead - first_new;
|
H A D | if_ptnet.c | 1137 kring->rhead = kring->ring->head = atok->head; 1147 t, i, kring->nr_hwcur, kring->rhead, kring->rcur, 1358 kring->rcur = kring->rhead = head; 1360 nm_sync_kloop_appl_write(atok, kring->rcur, kring->rhead);
|
H A D | netmap_generic.c | 701 u_int const head = kring->rhead; 932 u_int const head = kring->rhead;
|
H A D | netmap_kern.h | 421 uint32_t rhead; member in struct:netmap_kring 1208 return kring->rhead == kring->nr_hwtail;
|
H A D | netmap_vale.c | 1108 u_int const head = kring->rhead;
|
H A D | netmap_mem2.c | 2011 ring->head = kring->rhead;
|
/freebsd-current/sbin/routed/ |
H A D | table.c | 44 struct radix_node_head *rhead; /* root of the radix tree */ variable in typeref:struct:radix_node_head 1493 (void)rn_walktree(rhead, walk_kern, 0); 1632 rn_inithead(&rhead, 32); 1675 rt = (struct rt_entry *)rhead->rnh_lookup(&dst_sock,&mask_sock,rhead); 1691 return (struct rt_entry *)rhead->rnh_matchaddr(&dst_sock, rhead); 1741 if (0 == rhead->rnh_addaddr(&rt->rt_dst_sock, &mask_sock, 1742 rhead, rt->rt_nodes)) { 1866 if (rt != (struct rt_entry *)rhead [all...] |
H A D | defs.h | 470 extern struct radix_node_head *rhead;
|
H A D | if.c | 506 (void)rn_walktree(rhead, walk_bad, 0); 557 (void)rn_walktree(rhead, walk_bad, 0);
|
H A D | trace.c | 861 (void)rn_walktree(rhead, walk_trace, 0);
|
H A D | output.c | 774 (void)rn_walktree(rhead, walk_supply, 0);
|
/freebsd-current/sys/contrib/dev/athk/ath11k/ |
H A D | peer.c | 172 struct rhash_head *rhead, 180 tmp = rhashtable_lookup_get_insert_fast(rtbl, rhead, *params); 192 struct rhash_head *rhead, 199 ret = rhashtable_remove_fast(rtbl, rhead, *params); 170 ath11k_peer_rhash_insert(struct ath11k_base *ab, struct rhashtable *rtbl, struct rhash_head *rhead, struct rhashtable_params *params, void *key) argument 190 ath11k_peer_rhash_remove(struct ath11k_base *ab, struct rhashtable *rtbl, struct rhash_head *rhead, struct rhashtable_params *params) argument
|
/freebsd-current/sys/dev/ena/ |
H A D | ena_netmap.c | 123 head = kring->rhead; 126 "nr_hwcur: %d, nr_hwtail: %d, rhead: %d, rcur: %d, rtail: %d\n", 127 kring->nr_hwcur, kring->nr_hwtail, kring->rhead, kring->rcur, 356 while (ctx->nm_i != ctx->kring->rhead) { 885 if (ctx.kring->rhead > ctx.lim) { 1047 refill_required = ctx->kring->rhead - ctx->kring->nr_hwcur;
|
/freebsd-current/usr.sbin/bhyve/ |
H A D | pci_e82545.c | 1079 uint16_t dsize, uint16_t *rhead, int *tdwb) 1107 *rhead = head; 1459 *rhead = head; 1467 uint16_t head, rhead, tail, size; local 1476 DPRINTF("tx_run: head %x, rhead %x, tail %x", 1480 rhead = head; 1483 sent = e82545_transmit(sc, head, tail, size, &rhead, &tdwb); 1486 head = rhead; 1491 sc->esc_TDHr = rhead; 1500 DPRINTF("tx_run done: head %x, rhead 1078 e82545_transmit(struct e82545_softc *sc, uint16_t head, uint16_t tail, uint16_t dsize, uint16_t *rhead, int *tdwb) argument [all...] |
/freebsd-current/sys/dev/cxgbe/ |
H A D | t4_netmap.c | 814 kring->rhead = kring->rcur = kring->nr_hwcur = 0; 840 kring->rhead = kring->rcur = kring->nr_hwcur = 0; 1112 const u_int head = kring->rhead; 1118 * to kring->rhead. Note that the driver's pidx moves independent of 1176 u_int const head = kring->rhead;
|
/freebsd-current/sys/net/ |
H A D | iflib.c | 893 n = kring->rhead - kring->nr_hwcur; 959 MPASS(nm_i == kring->rhead); 977 * Userspace wants to send packets up to the one before kring->rhead, 996 u_int const head = kring->rhead; 1158 * On call, kring->rhead is the first packet that userspace wants
|