Searched refs:fcode (Results 1 – 1 of 1) sorted by relevance
2361 struct bpf_insn *fcode, *old; in bpf_setf() local2390 fcode = (struct bpf_insn *) kalloc_data(size, Z_WAITOK | Z_ZERO); in bpf_setf()2391 if (fcode == NULL) { in bpf_setf()2394 if (copyin(bf_insns, (caddr_t)fcode, size) == 0 && in bpf_setf()2395 bpf_validate(fcode, (int)flen)) { in bpf_setf()2396 d->bd_filter = fcode; in bpf_setf()2408 kfree_data(fcode, size); in bpf_setf()