Lines Matching defs:fcode
781 bpf_check_upgrade(u_long cmd, struct bpf_d *d, struct bpf_insn *fcode,
789 if (d->bd_writer == 0 || fcode == NULL)
803 fcode[0].code == (BPF_RET | BPF_K))
1951 struct bpf_program_buffer *fcode;
1996 fcode = bpf_program_buffer_alloc(size, M_WAITOK);
1997 filter = (struct bpf_insn *)fcode->buffer;
2000 free(fcode, M_BPF);
2006 * Filter is copied inside fcode and is
2015 fcode = NULL;
2022 fcode = __containerof((void *)d->bd_wfilter,
2025 fcode->func = NULL;
2031 fcode = __containerof((void *)d->bd_rfilter,
2034 fcode->func = d->bd_bfilter;
2068 if (fcode != NULL)
2069 NET_EPOCH_CALL(bpf_program_buffer_free, &fcode->epoch_ctx);