Lines Matching defs:prog
298 void bpf_program__unload(struct bpf_program *prog) in bpf_program__unload()
324 static void bpf_program__exit(struct bpf_program *prog) in bpf_program__exit()
347 static char *__bpf_program__pin_name(struct bpf_program *prog) in __bpf_program__pin_name()
360 struct bpf_program *prog) in bpf_program__init()
409 struct bpf_program prog, *progs; in bpf_object__add_program() local
445 struct bpf_program *prog; in bpf_object__init_prog_names() local
1665 struct bpf_program *prog; in bpf_object__find_prog_by_idx() local
1726 bpf_program__collect_reloc(struct bpf_program *prog, GElf_Shdr *shdr, in bpf_program__collect_reloc()
2231 check_btf_ext_reloc_err(struct bpf_program *prog, int err, in check_btf_ext_reloc_err()
2259 bpf_program_reloc_btf_ext(struct bpf_program *prog, struct bpf_object *obj, in bpf_program_reloc_btf_ext()
2783 static int bpf_core_reloc_insn(struct bpf_program *prog, int insn_off, in bpf_core_reloc_insn()
2998 static int bpf_core_reloc_offset(struct bpf_program *prog, in bpf_core_reloc_offset()
3115 struct bpf_program *prog; in bpf_core_reloc_offsets() local
3188 bpf_program__reloc_text(struct bpf_program *prog, struct bpf_object *obj, in bpf_program__reloc_text()
3241 bpf_program__relocate(struct bpf_program *prog, struct bpf_object *obj) in bpf_program__relocate()
3297 struct bpf_program *prog; in bpf_object__relocate() local
3335 struct bpf_program *prog; in bpf_object__collect_reloc() local
3356 load_program(struct bpf_program *prog, struct bpf_insn *insns, int insns_cnt, in load_program()
3451 bpf_program__load(struct bpf_program *prog, in bpf_program__load()
3529 static bool bpf_program__is_function_storage(const struct bpf_program *prog, in bpf_program__is_function_storage()
3763 int bpf_program__pin_instance(struct bpf_program *prog, const char *path, in bpf_program__pin_instance()
3794 int bpf_program__unpin_instance(struct bpf_program *prog, const char *path, in bpf_program__unpin_instance()
3837 int bpf_program__pin(struct bpf_program *prog, const char *path) in bpf_program__pin()
3904 int bpf_program__unpin(struct bpf_program *prog, const char *path) in bpf_program__unpin()
4081 struct bpf_program *prog; in bpf_object__pin_programs() local
4137 struct bpf_program *prog; in bpf_object__unpin_programs() local
4302 struct bpf_program *prog = prev; in bpf_program__next() local
4314 struct bpf_program *prog = next; in bpf_program__prev() local
4323 int bpf_program__set_priv(struct bpf_program *prog, void *priv, in bpf_program__set_priv()
4334 void *bpf_program__priv(const struct bpf_program *prog) in bpf_program__priv()
4339 void bpf_program__set_ifindex(struct bpf_program *prog, __u32 ifindex) in bpf_program__set_ifindex()
4344 const char *bpf_program__title(const struct bpf_program *prog, bool needs_copy) in bpf_program__title()
4360 int bpf_program__fd(const struct bpf_program *prog) in bpf_program__fd()
4365 int bpf_program__set_prep(struct bpf_program *prog, int nr_instances, in bpf_program__set_prep()
4393 int bpf_program__nth_fd(const struct bpf_program *prog, int n) in bpf_program__nth_fd()
4416 void bpf_program__set_type(struct bpf_program *prog, enum bpf_prog_type type) in bpf_program__set_type()
4421 static bool bpf_program__is_type(const struct bpf_program *prog, in bpf_program__is_type()
4450 void bpf_program__set_expected_attach_type(struct bpf_program *prog, in bpf_program__set_expected_attach_type()
4634 bpf_program__identify_section(struct bpf_program *prog, in bpf_program__identify_section()
4808 struct bpf_program *prog, *first_prog = NULL; in bpf_prog_load_xattr() local
4911 struct bpf_link *bpf_program__attach_perf_event(struct bpf_program *prog, in bpf_program__attach_perf_event()
5061 struct bpf_link *bpf_program__attach_kprobe(struct bpf_program *prog, in bpf_program__attach_kprobe()
5091 struct bpf_link *bpf_program__attach_uprobe(struct bpf_program *prog, in bpf_program__attach_uprobe()
5174 struct bpf_link *bpf_program__attach_tracepoint(struct bpf_program *prog, in bpf_program__attach_tracepoint()
5210 struct bpf_link *bpf_program__attach_raw_tracepoint(struct bpf_program *prog, in bpf_program__attach_raw_tracepoint()