counter_u64_fetch
drops += counter_u64_fetch(txq->r->dropped);
drops += counter_u64_fetch(txq->r->dropped);
rels = counter_u64_fetch(extfree_rels);
refs = counter_u64_fetch(extfree_refs);
return (counter_u64_fetch(stats->rx_packets));
return (counter_u64_fetch(stats->tx_packets));
return (counter_u64_fetch(stats->rx_bytes));
return (counter_u64_fetch(stats->tx_bytes));
return (counter_u64_fetch(stats->rx_drops));
return (counter_u64_fetch(stats->tx_drops));
*rpackets += counter_u64_fetch(rxqstats->rpackets);
*rbytes += counter_u64_fetch(rxqstats->rbytes);
*rx_dropped_pkt += counter_u64_fetch(rxqstats->rx_dropped_pkt);
*tpackets += counter_u64_fetch(txqstats->tpackets);
*tbytes += counter_u64_fetch(txqstats->tbytes);
*tx_dropped_pkt += counter_u64_fetch(txqstats->tx_dropped_pkt);
KASSERT(counter_u64_fetch(pm->pm_runcount) >= 0,
(uintmax_t)counter_u64_fetch(pm->pm_runcount)));
KASSERT(counter_u64_fetch(pm->pm_runcount) > 0,
(uintmax_t)counter_u64_fetch(pm->pm_runcount)));
KASSERT(counter_u64_fetch(pm->pm_runcount) == 0,
(uintmax_t)counter_u64_fetch(pm->pm_runcount)));
while (counter_u64_fetch(pm->pm_runcount) > 0) {
(uintmax_t)counter_u64_fetch(pm->pm_runcount)));
#define CFETCH(a, b, field) a.field = counter_u64_fetch(b.field)
KASSERT(counter_u64_fetch(pm->pm_runcount) >= 0,
(uintmax_t)counter_u64_fetch(pm->pm_runcount)));
KASSERT(counter_u64_fetch(pm->pm_runcount) > 0,
(uintmax_t)counter_u64_fetch(pm->pm_runcount)));
KASSERT(counter_u64_fetch(pm->pm_runcount) > 0,
(uintmax_t)counter_u64_fetch(pm->pm_runcount)));
KASSERT(counter_u64_fetch(pm->pm_runcount) > 0,
(uintmax_t)counter_u64_fetch(pm->pm_runcount)));
KASSERT(counter_u64_fetch(pm->pm_runcount) > 0,
(uintmax_t)counter_u64_fetch(pm->pm_runcount)));
KASSERT(counter_u64_fetch(pm->pm_runcount) > 0,
return (counter_u64_fetch(stats->rx_packets));
return (counter_u64_fetch(stats->tx_packets));
return (counter_u64_fetch(stats->rx_bytes));
return (counter_u64_fetch(stats->tx_bytes));
return (counter_u64_fetch(stats->rx_drops));
return (counter_u64_fetch(stats->tx_drops));
uint64_t stops = counter_u64_fetch(txq->stats.stop);
uint64_t wakeups = counter_u64_fetch(txq->stats.wakeup);
uint64_t stops = counter_u64_fetch(tx_stats->stop);
uint64_t wakeups = counter_u64_fetch(tx_stats->wakeup);
nvlist_add_number(nvl_peer, "rx-bytes", counter_u64_fetch(peer->p_rx_bytes));
nvlist_add_number(nvl_peer, "tx-bytes", counter_u64_fetch(peer->p_tx_bytes));
out[i] = counter_u64_fetch(((counter_u64_t *)arg1)[i]);
return (counter_u64_fetch(cr->cr_rate));
val = counter_u64_fetch(cr->cr_rate);
if (counter_u64_fetch(cr->cr_rate) > limit)
out = counter_u64_fetch(*(counter_u64_t *)arg1);
snap.ncs_goodhits = counter_u64_fetch(numposhits);
snap.ncs_neghits = counter_u64_fetch(numneghits);
snap.ncs_badhits = counter_u64_fetch(numposzaps) +
counter_u64_fetch(numnegzaps);
snap.ncs_miss = counter_u64_fetch(nummisszap) +
counter_u64_fetch(nummiss);
poshits = counter_u64_fetch(numposhits);
neghits = counter_u64_fetch(numneghits);
miss = counter_u64_fetch(nummiss);
bs->bs_recv = (u_int)counter_u64_fetch(d->bd_rcount);
bs->bs_drop = (u_int)counter_u64_fetch(d->bd_dcount);
d->bd_rcount = counter_u64_fetch(bd->bd_rcount);
d->bd_dcount = counter_u64_fetch(bd->bd_dcount);
d->bd_fcount = counter_u64_fetch(bd->bd_fcount);
d->bd_wcount = counter_u64_fetch(bd->bd_wcount);
d->bd_wdcount = counter_u64_fetch(bd->bd_wdcount);
d->bd_wfcount = counter_u64_fetch(bd->bd_wfcount);
d->bd_zcopy = counter_u64_fetch(bd->bd_zcopy);
return (counter_u64_fetch(ifp->if_counters[cnt]));
nvlist_add_number(nvl, "in", counter_u64_fetch(in));
nvlist_add_number(nvl, "out", counter_u64_fetch(out));
n->counters.pkt_in = counter_u64_fetch(OVPN_PEER_COUNTER(peer, pkt_in));
n->counters.pkt_out = counter_u64_fetch(OVPN_PEER_COUNTER(peer, pkt_out));
n->counters.bytes_in = counter_u64_fetch(OVPN_PEER_COUNTER(peer, bytes_in));
n->counters.bytes_out = counter_u64_fetch(OVPN_PEER_COUNTER(peer, bytes_out));
c = counter_u64_fetch(pfrc->pkc_pcpu);
c = counter_u64_fetch(pfrc->pkc_pcpu);
return (counter_u64_fetch(pfcu64->counter));
pnhe->nh_pksent = counter_u64_fetch(nh->nh_pksent);
ifd->ifi_ipackets = counter_u64_fetch(ifa->ifa_ipackets);
ifd->ifi_opackets = counter_u64_fetch(ifa->ifa_opackets);
ifd->ifi_ibytes = counter_u64_fetch(ifa->ifa_ibytes);
ifd->ifi_obytes = counter_u64_fetch(ifa->ifa_obytes);
counter_u64_fetch(VNET(name)[offsetof(type, f) / sizeof(uint64_t)])
rv += counter_u64_fetch(ic->ic_oerrors);
rv += counter_u64_fetch(ic->ic_ierrors);
i->nfinfo_bytes = counter_u64_fetch(priv->nfinfo_bytes);
i->nfinfo_packets = counter_u64_fetch(priv->nfinfo_packets);
i->nfinfo_bytes6 = counter_u64_fetch(priv->nfinfo_bytes6);
i->nfinfo_packets6 = counter_u64_fetch(priv->nfinfo_packets6);
i->nfinfo_sbytes = counter_u64_fetch(priv->nfinfo_sbytes);
i->nfinfo_spackets = counter_u64_fetch(priv->nfinfo_spackets);
i->nfinfo_sbytes6 = counter_u64_fetch(priv->nfinfo_sbytes6);
i->nfinfo_spackets6 = counter_u64_fetch(priv->nfinfo_spackets6);
i->nfinfo_act_exp = counter_u64_fetch(priv->nfinfo_act_exp);
i->nfinfo_inact_exp = counter_u64_fetch(priv->nfinfo_inact_exp);
#define FETCH(x) rs->x = counter_u64_fetch(link->stats.x)
p->drops = counter_u64_fetch(vrp->stats.drops);
p->excessive = counter_u64_fetch(vrp->stats.excessive);
p->incomplete = counter_u64_fetch(vrp->stats.incomplete);
p->histogram[i] = counter_u64_fetch(vrp->stats.histogram[i]);
counter_u64_fetch(V_tcps_states[TCPS_SYN_RECEIVED]);
counter_u64_fetch(V_tcps_states[TCPS_SYN_RECEIVED]);
counter_u64_fetch(V_tcps_states[TCPS_SYN_RECEIVED]);
lft_l.allocations = (uint32_t)counter_u64_fetch(
lft_l.bytes = counter_u64_fetch(sav->accel_lft_sw + 1);
lft_c.allocations = (uint32_t)counter_u64_fetch(
lft_c.bytes = counter_u64_fetch(sav->lft_c_bytes);
(sav->lft_h->bytes != 0 && counter_u64_fetch(
(sav->lft_s->bytes != 0 && counter_u64_fetch(
(uint32_t)counter_u64_fetch(sav->lft_c_allocations);
counter_u64_fetch(sav->lft_c_bytes);
lft_c.allocations = (uint32_t)counter_u64_fetch(
lft_c.bytes = counter_u64_fetch(sav->lft_c_bytes);
cntr->pcnt = counter_u64_fetch(krule->cntr);
cntr->bcnt = counter_u64_fetch(krule->cntr + 1);
counter_u64_fetch((s)->cnt[ \
counter_u64_fetch((c)->stats[ \
counter_u64_fetch(r->states_cur) >= r->max_states))
counter_u64_fetch(r_track->src_nodes[sn_type]) >= rule->max_src_nodes) {
states = counter_u64_fetch(state->rule->states_cur);
(counter_u64_fetch(r->states_cur) >= r->max_states)) {
out->bytes[i] = counter_u64_fetch(in->bytes[i]);
out->packets[i] = counter_u64_fetch(in->packets[i]);
counter_u64_fetch(counters[i]));
nlattr_add_u64(nw, PF_RT_STATES_CUR, counter_u64_fetch(rule->states_cur));
nlattr_add_u64(nw, PF_RT_STATES_TOTAL, counter_u64_fetch(rule->states_tot));
src_nodes_total += counter_u64_fetch(rule->src_nodes[sn_type]);
nlattr_add_u64(nw, PF_RT_SRC_NODES_LIMIT, counter_u64_fetch(rule->src_nodes[PF_SN_LIMIT]));
nlattr_add_u64(nw, PF_RT_SRC_NODES_NAT, counter_u64_fetch(rule->src_nodes[PF_SN_NAT]));
nlattr_add_u64(nw, PF_RT_SRC_NODES_ROUTE, counter_u64_fetch(rule->src_nodes[PF_SN_ROUTE]));
nlattr_add_u64(nw, PF_C_COUNTER, counter_u64_fetch(counters[i]));
nlattr_add_u64(nw, PF_SN_BYTES_IN, counter_u64_fetch(n->bytes[0]));
nlattr_add_u64(nw, PF_SN_BYTES_OUT, counter_u64_fetch(n->bytes[1]));
nlattr_add_u64(nw, PF_SN_PACKETS_IN, counter_u64_fetch(n->packets[0]));
nlattr_add_u64(nw, PF_SN_PACKETS_OUT, counter_u64_fetch(n->packets[1]));
counter_u64_fetch(krule->evaluations));
counter_u64_fetch(krule->packets[0]));
counter_u64_fetch(krule->packets[1]));
counter_u64_fetch(krule->bytes[0]));
counter_u64_fetch(krule->bytes[1]));
counter_u64_fetch(rule->states_cur));
counter_u64_fetch(rule->states_tot));
src_nodes_total += counter_u64_fetch(rule->src_nodes[sn_type]);
as->pfras_packets[dir][op] = counter_u64_fetch(
as->pfras_bytes[dir][op] = counter_u64_fetch(
counter_u64_fetch(V_pflowstats.c[pflow_flows]);
counter_u64_fetch(V_pflowstats.c[pflow_packets]);
counter_u64_fetch(V_pflowstats.c[pflow_onomem]);
counter_u64_fetch(V_pflowstats.c[pflow_oerrors]);
uint64_t counter_u64_fetch(counter_u64_t);
((uint64_t *)(dstp))[_i] = counter_u64_fetch((a)[_i]);\
#define VM_CNT_FETCH(var) counter_u64_fetch(vm_cnt.var)
nitems = counter_u64_fetch(zone->uz_allocs) -
counter_u64_fetch(zone->uz_frees);
nitems = counter_u64_fetch(zone->uz_allocs);
nitems = counter_u64_fetch(zone->uz_frees);
allocs += counter_u64_fetch(z->uz_allocs);
frees += counter_u64_fetch(z->uz_frees);
xdomain += counter_u64_fetch(z->uz_xdomain);
uth->uth_allocs = counter_u64_fetch(z->uz_allocs);
uth->uth_frees = counter_u64_fetch(z->uz_frees);
uth->uth_fails = counter_u64_fetch(z->uz_fails);
uth->uth_xdomain = counter_u64_fetch(z->uz_xdomain);
*allocs = counter_u64_fetch(z->uz_allocs);
frees = counter_u64_fetch(z->uz_frees);
val = counter_u64_fetch(*(counter_u64_t *)arg1);
ret = counter_u64_fetch(vm_cnt.v_pdpages);