Home
last modified time | relevance | path

Searched refs:fp_old (Results 1 – 1 of 1) sorted by relevance

/linux/kernel/bpf/
H A Dcore.c256 struct bpf_prog *bpf_prog_realloc(struct bpf_prog *fp_old, unsigned int size, in bpf_prog_realloc() argument
265 if (pages <= fp_old->pages) in bpf_prog_realloc()
266 return fp_old; in bpf_prog_realloc()
270 memcpy(fp, fp_old, fp_old->pages * PAGE_SIZE); in bpf_prog_realloc()
277 fp_old->aux = NULL; in bpf_prog_realloc()
278 fp_old->stats = NULL; in bpf_prog_realloc()
279 fp_old->active = NULL; in bpf_prog_realloc()
280 __bpf_prog_free(fp_old); in bpf_prog_realloc()