fp_old 817 include/linux/filter.h struct bpf_prog *bpf_prog_realloc(struct bpf_prog *fp_old, unsigned int size, fp_old 216 kernel/bpf/core.c struct bpf_prog *bpf_prog_realloc(struct bpf_prog *fp_old, unsigned int size, fp_old 224 kernel/bpf/core.c BUG_ON(fp_old == NULL); fp_old 228 kernel/bpf/core.c if (pages <= fp_old->pages) fp_old 229 kernel/bpf/core.c return fp_old; fp_old 231 kernel/bpf/core.c delta = pages - fp_old->pages; fp_old 232 kernel/bpf/core.c ret = __bpf_prog_charge(fp_old->aux->user, delta); fp_old 238 kernel/bpf/core.c __bpf_prog_uncharge(fp_old->aux->user, delta); fp_old 240 kernel/bpf/core.c memcpy(fp, fp_old, fp_old->pages * PAGE_SIZE); fp_old 247 kernel/bpf/core.c fp_old->aux = NULL; fp_old 248 kernel/bpf/core.c __bpf_prog_free(fp_old);