Searched refs:d_to (Results 1 – 1 of 1) sorted by relevance
1794 bpf_setup(struct bpf_d *d_to, uuid_t uuid_from, ifnet_t ifp, struct proc *proc) in bpf_setup() argument1812 if (d_from->bd_opened_by != d_to->bd_opened_by) { in bpf_setup()1823 while (d_to->bd_hbuf_read || d_to->bd_hbuf_write) { in bpf_setup()1824 msleep((caddr_t)d_to, bpf_mlock, PRINET, __func__, NULL); in bpf_setup()1826 d_to->bd_hbuf_read = true; in bpf_setup()1827 d_to->bd_hbuf_write = true; in bpf_setup()1838 if (d_to->bd_flags & BPF_CLOSING) { in bpf_setup()1856 if (d_from->bd_bufsize != d_to->bd_bufsize) { in bpf_setup()1867 d_to->bd_flags = d_from->bd_flags & (BPF_EXTENDED_HDR | BPF_WANT_PKTAP | in bpf_setup()1871 d_to->bd_headdrop = d_from->bd_headdrop; in bpf_setup()[all …]