Lines Matching defs:prog

1642 static int find_prog_type(enum bpf_prog_type type, struct bpf_prog *prog)  in find_prog_type()
1672 static void bpf_audit_prog(const struct bpf_prog *prog, unsigned int op) in bpf_audit_prog()
1691 static int bpf_prog_alloc_id(struct bpf_prog *prog) in bpf_prog_alloc_id()
1710 void bpf_prog_free_id(struct bpf_prog *prog, bool do_idr_lock) in bpf_prog_free_id()
1747 static void __bpf_prog_put_noref(struct bpf_prog *prog, bool deferred) in __bpf_prog_put_noref()
1770 struct bpf_prog *prog; in bpf_prog_put_deferred() local
1779 static void __bpf_prog_put(struct bpf_prog *prog, bool do_idr_lock) in __bpf_prog_put()
1796 void bpf_prog_put(struct bpf_prog *prog) in bpf_prog_put()
1804 struct bpf_prog *prog = filp->private_data; in bpf_prog_release() local
1810 static void bpf_prog_get_stats(const struct bpf_prog *prog, in bpf_prog_get_stats()
1840 const struct bpf_prog *prog = filp->private_data; in bpf_prog_show_fdinfo() local
1875 int bpf_prog_new_fd(struct bpf_prog *prog) in bpf_prog_new_fd()
1899 void bpf_prog_add(struct bpf_prog *prog, int i) in bpf_prog_add()
1905 void bpf_prog_sub(struct bpf_prog *prog, int i) in bpf_prog_sub()
1916 void bpf_prog_inc(struct bpf_prog *prog) in bpf_prog_inc()
1923 struct bpf_prog *bpf_prog_inc_not_zero(struct bpf_prog *prog) in bpf_prog_inc_not_zero()
1936 bool bpf_prog_get_ok(struct bpf_prog *prog, in bpf_prog_get_ok()
1955 struct bpf_prog *prog; in __bpf_prog_get() local
2167 struct bpf_prog *prog, *dst_prog = NULL; in bpf_prog_load() local
2377 const struct bpf_link_ops *ops, struct bpf_prog *prog) in bpf_link_init()
2475 const struct bpf_prog *prog = link->prog; in bpf_link_show_fdinfo() local
2656 static int bpf_tracing_prog_attach(struct bpf_prog *prog, in bpf_tracing_prog_attach()
2933 static int bpf_perf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_perf_link_attach()
2986 struct bpf_prog *prog; in bpf_raw_tracepoint_open() local
3070 static int bpf_prog_attach_check_attach_type(const struct bpf_prog *prog, in bpf_prog_attach_check_attach_type()
3156 struct bpf_prog *prog; in bpf_prog_attach() local
3291 struct bpf_prog *prog; in bpf_prog_test_run() local
3365 struct bpf_prog *prog; in bpf_prog_get_curr_or_next() local
3386 struct bpf_prog *prog; in bpf_prog_by_id() local
3403 struct bpf_prog *prog; in bpf_prog_get_fd_by_id() local
3462 static const struct bpf_map *bpf_map_from_imm(const struct bpf_prog *prog, in bpf_map_from_imm()
3490 static struct bpf_insn *bpf_insn_prepare_dump(const struct bpf_prog *prog, in bpf_insn_prepare_dump()
3574 struct bpf_prog *prog, in bpf_prog_get_info_by_fd()
4187 struct bpf_prog *prog) in tracing_bpf_link_attach()
4205 struct bpf_prog *prog; in link_create() local
4490 struct bpf_prog *prog; in bpf_prog_bind_map() local
4699 const struct bpf_prog *prog, in syscall_prog_is_valid_access()
4737 tracing_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in tracing_prog_func_proto()
4760 syscall_prog_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in syscall_prog_func_proto()