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

/freebsd-current/sys/dev/netmap/
H A Dnetmap_kloop.c136 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 Dnetmap_pipe.c195 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 Dif_vtnet_netmap.h66 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 Dnetmap.c911 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 Dnetmap_bdg.c1101 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 Dif_re_netmap.h78 u_int const head = kring->rhead;
179 u_int const head = kring->rhead;
H A Dnetmap_monitor.c163 kring->nr_hwcur = kring->rhead;
614 end = kring->rhead;
813 new_slots = kring->rhead - first_new;
H A Dif_ptnet.c1137 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 Dnetmap_generic.c701 u_int const head = kring->rhead;
932 u_int const head = kring->rhead;
H A Dnetmap_kern.h421 uint32_t rhead; member in struct:netmap_kring
1208 return kring->rhead == kring->nr_hwtail;
H A Dnetmap_vale.c1108 u_int const head = kring->rhead;
H A Dnetmap_mem2.c2011 ring->head = kring->rhead;
/freebsd-current/sbin/routed/
H A Dtable.c44 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 Ddefs.h470 extern struct radix_node_head *rhead;
H A Dif.c506 (void)rn_walktree(rhead, walk_bad, 0);
557 (void)rn_walktree(rhead, walk_bad, 0);
H A Dtrace.c861 (void)rn_walktree(rhead, walk_trace, 0);
H A Doutput.c774 (void)rn_walktree(rhead, walk_supply, 0);
/freebsd-current/sys/contrib/dev/athk/ath11k/
H A Dpeer.c172 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 Dena_netmap.c123 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 Dpci_e82545.c1079 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 Dt4_netmap.c814 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 Diflib.c893 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

Completed in 253 milliseconds