Searched refs:fcode (Results 1 – 1 of 1) sorted by relevance
2761 struct bpf_insn *fcode, *old; in bpf_setf() local2791 fcode = (struct bpf_insn *) kalloc_data(size, Z_WAITOK | Z_ZERO); in bpf_setf()2792 if (fcode == NULL) { in bpf_setf()2795 if (copyin(bf_insns, (caddr_t)fcode, size) == 0 && in bpf_setf()2796 bpf_validate(fcode, (int)flen)) { in bpf_setf()2797 d->bd_filter = fcode; in bpf_setf()2810 kfree_data(fcode, size); in bpf_setf()