Searched refs:fcode (Results 1 – 1 of 1) sorted by relevance
2170 struct bpf_insn *fcode, *old; in bpf_setf() local2199 fcode = (struct bpf_insn *) kalloc_data(size, M_WAIT); in bpf_setf()2201 if (fcode == NULL) { in bpf_setf()2205 if (copyin(bf_insns, (caddr_t)fcode, size) == 0 && in bpf_setf()2206 bpf_validate(fcode, (int)flen)) { in bpf_setf()2207 d->bd_filter = fcode; in bpf_setf()2219 kfree_data(fcode, size); in bpf_setf()