Lines Matching refs:bd
2990 struct bpf_d *bd; in bpf_zero_counters() local
2998 CK_LIST_FOREACH(bd, &bp->bif_dlist, bd_next) { in bpf_zero_counters()
2999 counter_u64_zero(bd->bd_rcount); in bpf_zero_counters()
3000 counter_u64_zero(bd->bd_dcount); in bpf_zero_counters()
3001 counter_u64_zero(bd->bd_fcount); in bpf_zero_counters()
3002 counter_u64_zero(bd->bd_wcount); in bpf_zero_counters()
3003 counter_u64_zero(bd->bd_wfcount); in bpf_zero_counters()
3004 counter_u64_zero(bd->bd_zcopy); in bpf_zero_counters()
3014 bpfstats_fill_xbpf(struct xbpf_d *d, struct bpf_d *bd) in bpfstats_fill_xbpf() argument
3020 d->bd_immediate = bd->bd_immediate; in bpfstats_fill_xbpf()
3021 d->bd_promisc = bd->bd_promisc; in bpfstats_fill_xbpf()
3022 d->bd_hdrcmplt = bd->bd_hdrcmplt; in bpfstats_fill_xbpf()
3023 d->bd_direction = bd->bd_direction; in bpfstats_fill_xbpf()
3024 d->bd_feedback = bd->bd_feedback; in bpfstats_fill_xbpf()
3025 d->bd_async = bd->bd_async; in bpfstats_fill_xbpf()
3026 d->bd_rcount = counter_u64_fetch(bd->bd_rcount); in bpfstats_fill_xbpf()
3027 d->bd_dcount = counter_u64_fetch(bd->bd_dcount); in bpfstats_fill_xbpf()
3028 d->bd_fcount = counter_u64_fetch(bd->bd_fcount); in bpfstats_fill_xbpf()
3029 d->bd_sig = bd->bd_sig; in bpfstats_fill_xbpf()
3030 d->bd_slen = bd->bd_slen; in bpfstats_fill_xbpf()
3031 d->bd_hlen = bd->bd_hlen; in bpfstats_fill_xbpf()
3032 d->bd_bufsize = bd->bd_bufsize; in bpfstats_fill_xbpf()
3033 d->bd_pid = bd->bd_pid; in bpfstats_fill_xbpf()
3035 bd->bd_bif->bif_ifp->if_xname, IFNAMSIZ); in bpfstats_fill_xbpf()
3036 d->bd_locked = bd->bd_locked; in bpfstats_fill_xbpf()
3037 d->bd_wcount = counter_u64_fetch(bd->bd_wcount); in bpfstats_fill_xbpf()
3038 d->bd_wdcount = counter_u64_fetch(bd->bd_wdcount); in bpfstats_fill_xbpf()
3039 d->bd_wfcount = counter_u64_fetch(bd->bd_wfcount); in bpfstats_fill_xbpf()
3040 d->bd_zcopy = counter_u64_fetch(bd->bd_zcopy); in bpfstats_fill_xbpf()
3041 d->bd_bufmode = bd->bd_bufmode; in bpfstats_fill_xbpf()
3054 struct bpf_d *bd; in bpf_stats_sysctl() local
3096 CK_LIST_FOREACH(bd, &bp->bif_wlist, bd_next) { in bpf_stats_sysctl()
3098 bpfstats_fill_xbpf(xbd, bd); in bpf_stats_sysctl()
3100 CK_LIST_FOREACH(bd, &bp->bif_dlist, bd_next) { in bpf_stats_sysctl()
3102 bpfstats_fill_xbpf(xbd, bd); in bpf_stats_sysctl()