Lines Matching defs:prog

569 void bpf_program__unload(struct bpf_program *prog)  in bpf_program__unload()
595 static void bpf_program__exit(struct bpf_program *prog) in bpf_program__exit()
618 static char *__bpf_program__pin_name(struct bpf_program *prog) in __bpf_program__pin_name()
659 bpf_object__init_prog(struct bpf_object *obj, struct bpf_program *prog, in bpf_object__init_prog()
713 struct bpf_program *prog, *progs; in bpf_object__add_programs() local
983 struct bpf_program *prog; in bpf_map__init_kern_struct_ops() local
2830 static bool prog_needs_vmlinux_btf(struct bpf_program *prog) in prog_needs_vmlinux_btf()
2847 struct bpf_program *prog; in obj_needs_vmlinux_btf() local
2923 struct bpf_program *prog = &obj->programs[i]; in bpf_object__sanitize_and_load_btf() local
3767 const struct bpf_program *prog) in prog_is_subprog()
3788 struct bpf_program *prog; in bpf_object__find_program_by_name() local
3837 static int bpf_program__record_reloc(struct bpf_program *prog, in bpf_program__record_reloc()
3990 static bool prog_contains_insn(const struct bpf_program *prog, size_t insn_idx) in prog_contains_insn()
4000 struct bpf_program *prog; in find_prog_by_sec_insn() local
4026 struct bpf_program *prog; in bpf_object__collect_prog_relos() local
4537 int ret, map, prog; in probe_prog_bind_map() local
5402 static int bpf_core_apply_relo(struct bpf_program *prog, in bpf_core_apply_relo()
5471 struct bpf_program *prog; in bpf_object__relocate_core() local
5565 bpf_object__relocate_data(struct bpf_object *obj, struct bpf_program *prog) in bpf_object__relocate_data()
5649 const struct bpf_program *prog, in adjust_prog_btf_ext_info()
5720 const struct bpf_program *prog) in reloc_prog_func_and_line_info()
5799 static struct reloc_desc *find_prog_insn_relo(const struct bpf_program *prog, size_t insn_idx) in find_prog_insn_relo()
5831 struct bpf_program *prog) in bpf_object__reloc_code()
6037 bpf_object__relocate_calls(struct bpf_object *obj, struct bpf_program *prog) in bpf_object__relocate_calls()
6064 struct bpf_program *prog; in bpf_object__free_relocs() local
6078 struct bpf_program *prog; in bpf_object__relocate() local
6337 static int bpf_object__sanitize_prog(struct bpf_object *obj, struct bpf_program *prog) in bpf_object__sanitize_prog()
6376 static int libbpf_preload_prog(struct bpf_program *prog, in libbpf_preload_prog()
6415 load_program(struct bpf_program *prog, struct bpf_insn *insns, int insns_cnt, in load_program()
6565 static int bpf_program__record_externs(struct bpf_program *prog) in bpf_program__record_externs()
6594 int bpf_program__load(struct bpf_program *prog, char *license, __u32 kern_ver) in bpf_program__load()
6676 struct bpf_program *prog; in bpf_object__load_progs() local
6709 struct bpf_program *prog; in bpf_object_init_progs() local
7376 static int bpf_program_pin_instance(struct bpf_program *prog, const char *path, int instance) in bpf_program_pin_instance()
7411 static int bpf_program_unpin_instance(struct bpf_program *prog, const char *path, int instance) in bpf_program_unpin_instance()
7445 int bpf_program__pin(struct bpf_program *prog, const char *path) in bpf_program__pin()
7511 int bpf_program__unpin(struct bpf_program *prog, const char *path) in bpf_program__unpin()
7783 struct bpf_program *prog; in bpf_object__pin_programs() local
7835 struct bpf_program *prog; in bpf_object__unpin_programs() local
8069 struct bpf_program *prog = prev; in bpf_object__next_program() local
8087 struct bpf_program *prog = next; in bpf_object__prev_program() local
8096 int bpf_program__set_priv(struct bpf_program *prog, void *priv, in bpf_program__set_priv()
8107 void *bpf_program__priv(const struct bpf_program *prog) in bpf_program__priv()
8112 void bpf_program__set_ifindex(struct bpf_program *prog, __u32 ifindex) in bpf_program__set_ifindex()
8117 const char *bpf_program__name(const struct bpf_program *prog) in bpf_program__name()
8122 const char *bpf_program__section_name(const struct bpf_program *prog) in bpf_program__section_name()
8127 const char *bpf_program__title(const struct bpf_program *prog, bool needs_copy) in bpf_program__title()
8143 bool bpf_program__autoload(const struct bpf_program *prog) in bpf_program__autoload()
8148 int bpf_program__set_autoload(struct bpf_program *prog, bool autoload) in bpf_program__set_autoload()
8157 int bpf_program__fd(const struct bpf_program *prog) in bpf_program__fd()
8162 size_t bpf_program__size(const struct bpf_program *prog) in bpf_program__size()
8167 const struct bpf_insn *bpf_program__insns(const struct bpf_program *prog) in bpf_program__insns()
8172 size_t bpf_program__insn_cnt(const struct bpf_program *prog) in bpf_program__insn_cnt()
8177 int bpf_program__set_prep(struct bpf_program *prog, int nr_instances, in bpf_program__set_prep()
8205 int bpf_program__nth_fd(const struct bpf_program *prog, int n) in bpf_program__nth_fd()
8228 enum bpf_prog_type bpf_program__get_type(const struct bpf_program *prog) in bpf_program__get_type()
8233 void bpf_program__set_type(struct bpf_program *prog, enum bpf_prog_type type) in bpf_program__set_type()
8238 static bool bpf_program__is_type(const struct bpf_program *prog, in bpf_program__is_type()
8273 bpf_program__get_expected_attach_type(const struct bpf_program *prog) in bpf_program__get_expected_attach_type()
8278 void bpf_program__set_expected_attach_type(struct bpf_program *prog, in bpf_program__set_expected_attach_type()
8510 struct bpf_program *prog; in bpf_object__collect_st_ops_relos() local
8769 static int libbpf_find_attach_btf_id(struct bpf_program *prog, const char *attach_name, in libbpf_find_attach_btf_id()
9165 struct bpf_program *prog, *first_prog = NULL; in bpf_prog_load_xattr() local
9242 int bpf_link__update_program(struct bpf_link *link, struct bpf_program *prog) in bpf_link__update_program()
9422 struct bpf_link *bpf_program__attach_perf_event_opts(const struct bpf_program *prog, int pfd, in bpf_program__attach_perf_event_opts()
9497 struct bpf_link *bpf_program__attach_perf_event(const struct bpf_program *prog, int pfd) in bpf_program__attach_perf_event()
9708 bpf_program__attach_kprobe_opts(const struct bpf_program *prog, in bpf_program__attach_kprobe_opts()
9777 struct bpf_link *bpf_program__attach_kprobe(const struct bpf_program *prog, in bpf_program__attach_kprobe()
9788 static struct bpf_link *attach_kprobe(const struct bpf_program *prog, long cookie) in attach_kprobe()
9902 bpf_program__attach_uprobe_opts(const struct bpf_program *prog, pid_t pid, in bpf_program__attach_uprobe_opts()
9973 struct bpf_link *bpf_program__attach_uprobe(const struct bpf_program *prog, in bpf_program__attach_uprobe()
10033 struct bpf_link *bpf_program__attach_tracepoint_opts(const struct bpf_program *prog, in bpf_program__attach_tracepoint_opts()
10067 struct bpf_link *bpf_program__attach_tracepoint(const struct bpf_program *prog, in bpf_program__attach_tracepoint()
10074 static struct bpf_link *attach_tp(const struct bpf_program *prog, long cookie) in attach_tp()
10101 struct bpf_link *bpf_program__attach_raw_tracepoint(const struct bpf_program *prog, in bpf_program__attach_raw_tracepoint()
10131 static struct bpf_link *attach_raw_tp(const struct bpf_program *prog, long cookie) in attach_raw_tp()
10158 static struct bpf_link *bpf_program__attach_btf_id(const struct bpf_program *prog) in bpf_program__attach_btf_id()
10187 struct bpf_link *bpf_program__attach_trace(const struct bpf_program *prog) in bpf_program__attach_trace()
10192 struct bpf_link *bpf_program__attach_lsm(const struct bpf_program *prog) in bpf_program__attach_lsm()
10197 static struct bpf_link *attach_trace(const struct bpf_program *prog, long cookie) in attach_trace()
10202 static struct bpf_link *attach_lsm(const struct bpf_program *prog, long cookie) in attach_lsm()
10208 bpf_program__attach_fd(const struct bpf_program *prog, int target_fd, int btf_id, in bpf_program__attach_fd()
10244 bpf_program__attach_cgroup(const struct bpf_program *prog, int cgroup_fd) in bpf_program__attach_cgroup()
10250 bpf_program__attach_netns(const struct bpf_program *prog, int netns_fd) in bpf_program__attach_netns()
10255 struct bpf_link *bpf_program__attach_xdp(const struct bpf_program *prog, int ifindex) in bpf_program__attach_xdp()
10261 struct bpf_link *bpf_program__attach_freplace(const struct bpf_program *prog, in bpf_program__attach_freplace()
10294 bpf_program__attach_iter(const struct bpf_program *prog, in bpf_program__attach_iter()
10333 static struct bpf_link *attach_iter(const struct bpf_program *prog, long cookie) in attach_iter()
10338 struct bpf_link *bpf_program__attach(const struct bpf_program *prog) in bpf_program__attach()
10372 struct bpf_program *prog = st_ops->progs[i]; in bpf_map__attach_struct_ops() local
11163 int bpf_program__set_attach_target(struct bpf_program *prog, in bpf_program__set_attach_target()
11360 struct bpf_program **prog = s->progs[i].prog; in bpf_object__open_skeleton() local
11431 struct bpf_program *prog = *s->progs[i].prog; in bpf_object__attach_skeleton() local