Home
last modified time | relevance | path

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

/linux-4.4.14/kernel/bpf/
Dcore.c101 struct bpf_prog *bpf_prog_realloc(struct bpf_prog *fp_old, unsigned int size, in bpf_prog_realloc() argument
108 BUG_ON(fp_old == NULL); in bpf_prog_realloc()
111 if (size <= fp_old->pages * PAGE_SIZE) in bpf_prog_realloc()
112 return fp_old; in bpf_prog_realloc()
118 memcpy(fp, fp_old, fp_old->pages * PAGE_SIZE); in bpf_prog_realloc()
125 fp_old->aux = NULL; in bpf_prog_realloc()
126 __bpf_prog_free(fp_old); in bpf_prog_realloc()
/linux-4.4.14/include/linux/
Dfilter.h430 struct bpf_prog *bpf_prog_realloc(struct bpf_prog *fp_old, unsigned int size,