Lines Matching defs:prog

2050 static int find_prog_type(enum bpf_prog_type type, struct bpf_prog *prog)  in find_prog_type()
2080 static void bpf_audit_prog(const struct bpf_prog *prog, unsigned int op) in bpf_audit_prog()
2099 static int bpf_prog_alloc_id(struct bpf_prog *prog) in bpf_prog_alloc_id()
2118 void bpf_prog_free_id(struct bpf_prog *prog) in bpf_prog_free_id()
2147 static void __bpf_prog_put_noref(struct bpf_prog *prog, bool deferred) in __bpf_prog_put_noref()
2171 struct bpf_prog *prog; in bpf_prog_put_deferred() local
2181 static void __bpf_prog_put(struct bpf_prog *prog) in __bpf_prog_put()
2195 void bpf_prog_put(struct bpf_prog *prog) in bpf_prog_put()
2203 struct bpf_prog *prog = filp->private_data; in bpf_prog_release() local
2215 void notrace bpf_prog_inc_misses_counter(struct bpf_prog *prog) in bpf_prog_inc_misses_counter()
2226 static void bpf_prog_get_stats(const struct bpf_prog *prog, in bpf_prog_get_stats()
2256 const struct bpf_prog *prog = filp->private_data; in bpf_prog_show_fdinfo() local
2293 int bpf_prog_new_fd(struct bpf_prog *prog) in bpf_prog_new_fd()
2317 void bpf_prog_add(struct bpf_prog *prog, int i) in bpf_prog_add()
2323 void bpf_prog_sub(struct bpf_prog *prog, int i) in bpf_prog_sub()
2334 void bpf_prog_inc(struct bpf_prog *prog) in bpf_prog_inc()
2341 struct bpf_prog *bpf_prog_inc_not_zero(struct bpf_prog *prog) in bpf_prog_inc_not_zero()
2354 bool bpf_prog_get_ok(struct bpf_prog *prog, in bpf_prog_get_ok()
2373 struct bpf_prog *prog; in __bpf_prog_get() local
2589 struct bpf_prog *prog, *dst_prog = NULL; in bpf_prog_load() local
2831 const struct bpf_link_ops *ops, struct bpf_prog *prog) in bpf_link_init()
2965 const struct bpf_prog *prog = link->prog; in bpf_link_show_fdinfo() local
3150 static int bpf_tracing_prog_attach(struct bpf_prog *prog, in bpf_tracing_prog_attach()
3594 static int bpf_perf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_perf_link_attach()
3639 static int bpf_perf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_perf_link_attach()
3645 static int bpf_raw_tp_link_attach(struct bpf_prog *prog, in bpf_raw_tp_link_attach()
3717 struct bpf_prog *prog; in bpf_raw_tracepoint_open() local
3799 static int bpf_prog_attach_check_attach_type(const struct bpf_prog *prog, in bpf_prog_attach_check_attach_type()
3877 struct bpf_prog *prog; in bpf_prog_attach() local
3947 struct bpf_prog *prog = NULL; in bpf_prog_detach() local
4065 struct bpf_prog *prog; in bpf_prog_test_run() local
4139 struct bpf_prog *prog; in bpf_prog_get_curr_or_next() local
4160 struct bpf_prog *prog; in bpf_prog_by_id() local
4177 struct bpf_prog *prog; in bpf_prog_get_fd_by_id() local
4236 static const struct bpf_map *bpf_map_from_imm(const struct bpf_prog *prog, in bpf_map_from_imm()
4264 static struct bpf_insn *bpf_insn_prepare_dump(const struct bpf_prog *prog, in bpf_insn_prepare_dump()
4348 struct bpf_prog *prog, in bpf_prog_get_info_by_fd()
4975 struct bpf_prog *prog; in link_create() local
5326 struct bpf_prog *prog; in bpf_prog_bind_map() local
5537 const struct bpf_prog *prog, in syscall_prog_is_valid_access()
5576 struct bpf_prog * __maybe_unused prog; in kern_sys_bpf() local
5626 tracing_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in tracing_prog_func_proto()
5676 syscall_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in syscall_prog_func_proto()