diff options
Diffstat (limited to 'include/linux/bpf.h')
-rw-r--r-- | include/linux/bpf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/bpf.h b/include/linux/bpf.h index f63afdc43bec..8ee27b8afe81 100644 --- a/include/linux/bpf.h +++ b/include/linux/bpf.h | |||
@@ -180,12 +180,13 @@ void bpf_register_prog_type(struct bpf_prog_type_list *tl); | |||
180 | void bpf_register_map_type(struct bpf_map_type_list *tl); | 180 | void bpf_register_map_type(struct bpf_map_type_list *tl); |
181 | 181 | ||
182 | struct bpf_prog *bpf_prog_get(u32 ufd); | 182 | struct bpf_prog *bpf_prog_get(u32 ufd); |
183 | struct bpf_prog *bpf_prog_inc(struct bpf_prog *prog); | ||
183 | void bpf_prog_put(struct bpf_prog *prog); | 184 | void bpf_prog_put(struct bpf_prog *prog); |
184 | void bpf_prog_put_rcu(struct bpf_prog *prog); | 185 | void bpf_prog_put_rcu(struct bpf_prog *prog); |
185 | 186 | ||
186 | struct bpf_map *bpf_map_get_with_uref(u32 ufd); | 187 | struct bpf_map *bpf_map_get_with_uref(u32 ufd); |
187 | struct bpf_map *__bpf_map_get(struct fd f); | 188 | struct bpf_map *__bpf_map_get(struct fd f); |
188 | void bpf_map_inc(struct bpf_map *map, bool uref); | 189 | struct bpf_map *bpf_map_inc(struct bpf_map *map, bool uref); |
189 | void bpf_map_put_with_uref(struct bpf_map *map); | 190 | void bpf_map_put_with_uref(struct bpf_map *map); |
190 | void bpf_map_put(struct bpf_map *map); | 191 | void bpf_map_put(struct bpf_map *map); |
191 | int bpf_map_precharge_memlock(u32 pages); | 192 | int bpf_map_precharge_memlock(u32 pages); |