Lines Matching refs:bd

3023 	struct bpf_d *bd;  in bpf_zero_counters()  local
3031 CK_LIST_FOREACH(bd, &bp->bif_dlist, bd_next) { in bpf_zero_counters()
3032 counter_u64_zero(bd->bd_rcount); in bpf_zero_counters()
3033 counter_u64_zero(bd->bd_dcount); in bpf_zero_counters()
3034 counter_u64_zero(bd->bd_fcount); in bpf_zero_counters()
3035 counter_u64_zero(bd->bd_wcount); in bpf_zero_counters()
3036 counter_u64_zero(bd->bd_wfcount); in bpf_zero_counters()
3037 counter_u64_zero(bd->bd_zcopy); in bpf_zero_counters()
3047 bpfstats_fill_xbpf(struct xbpf_d *d, struct bpf_d *bd) in bpfstats_fill_xbpf() argument
3053 d->bd_immediate = bd->bd_immediate; in bpfstats_fill_xbpf()
3054 d->bd_promisc = bd->bd_promisc; in bpfstats_fill_xbpf()
3055 d->bd_hdrcmplt = bd->bd_hdrcmplt; in bpfstats_fill_xbpf()
3056 d->bd_direction = bd->bd_direction; in bpfstats_fill_xbpf()
3057 d->bd_feedback = bd->bd_feedback; in bpfstats_fill_xbpf()
3058 d->bd_async = bd->bd_async; in bpfstats_fill_xbpf()
3059 d->bd_rcount = counter_u64_fetch(bd->bd_rcount); in bpfstats_fill_xbpf()
3060 d->bd_dcount = counter_u64_fetch(bd->bd_dcount); in bpfstats_fill_xbpf()
3061 d->bd_fcount = counter_u64_fetch(bd->bd_fcount); in bpfstats_fill_xbpf()
3062 d->bd_sig = bd->bd_sig; in bpfstats_fill_xbpf()
3063 d->bd_slen = bd->bd_slen; in bpfstats_fill_xbpf()
3064 d->bd_hlen = bd->bd_hlen; in bpfstats_fill_xbpf()
3065 d->bd_bufsize = bd->bd_bufsize; in bpfstats_fill_xbpf()
3066 d->bd_pid = bd->bd_pid; in bpfstats_fill_xbpf()
3068 bd->bd_bif->bif_ifp->if_xname, IFNAMSIZ); in bpfstats_fill_xbpf()
3069 d->bd_locked = bd->bd_locked; in bpfstats_fill_xbpf()
3070 d->bd_wcount = counter_u64_fetch(bd->bd_wcount); in bpfstats_fill_xbpf()
3071 d->bd_wdcount = counter_u64_fetch(bd->bd_wdcount); in bpfstats_fill_xbpf()
3072 d->bd_wfcount = counter_u64_fetch(bd->bd_wfcount); in bpfstats_fill_xbpf()
3073 d->bd_zcopy = counter_u64_fetch(bd->bd_zcopy); in bpfstats_fill_xbpf()
3074 d->bd_bufmode = bd->bd_bufmode; in bpfstats_fill_xbpf()
3087 struct bpf_d *bd; in bpf_stats_sysctl() local
3129 CK_LIST_FOREACH(bd, &bp->bif_wlist, bd_next) { in bpf_stats_sysctl()
3131 bpfstats_fill_xbpf(xbd, bd); in bpf_stats_sysctl()
3133 CK_LIST_FOREACH(bd, &bp->bif_dlist, bd_next) { in bpf_stats_sysctl()
3135 bpfstats_fill_xbpf(xbd, bd); in bpf_stats_sysctl()