• Home
  • Raw
  • Download

Lines Matching +defs:prog +defs:mode

313 int libbpf_set_strict_mode(enum libbpf_strict_mode mode)  in libbpf_set_strict_mode()
743 void bpf_program__unload(struct bpf_program *prog) in bpf_program__unload()
754 static void bpf_program__exit(struct bpf_program *prog) in bpf_program__exit()
791 bpf_object__init_prog(struct bpf_object *obj, struct bpf_program *prog, in bpf_object__init_prog()
856 struct bpf_program *prog, *progs; in bpf_object__add_programs() local
1116 struct bpf_program *prog; in bpf_map__init_kern_struct_ops() local
3153 static bool prog_needs_vmlinux_btf(struct bpf_program *prog)
3170 struct bpf_program *prog; local
3246 struct bpf_program *prog = &obj->programs[i]; local
3272 struct bpf_program *prog = &obj->programs[i]; local
4386 static bool prog_is_subprog(const struct bpf_object *obj, const struct bpf_program *prog)
4395 struct bpf_program *prog; local
4443 static int bpf_program__record_reloc(struct bpf_program *prog,
4603 static bool prog_contains_insn(const struct bpf_program *prog, size_t insn_idx)
4613 struct bpf_program *prog; local
4642 struct bpf_program *prog; local
5173 int ret, map, prog, insn_cnt = ARRAY_SIZE(insns); local
6148 static int record_relo_core(struct bpf_program *prog,
6166 static const struct bpf_core_relo *find_relo_core(struct bpf_program *prog, int insn_idx)
6182 static int bpf_core_resolve_relo(struct bpf_program *prog,
6234 struct bpf_program *prog; local
6348 static void poison_map_ldimm64(struct bpf_program *prog, int relo_idx,
6378 static void poison_kfunc_call(struct bpf_program *prog, int relo_idx,
6404 bpf_object__relocate_data(struct bpf_object *obj, struct bpf_program *prog)
6500 const struct bpf_program *prog,
6570 const struct bpf_program *prog)
6649 static struct reloc_desc *find_prog_insn_relo(const struct bpf_program *prog, size_t insn_idx)
6720 struct bpf_program *prog)
6909 bpf_object__relocate_calls(struct bpf_object *obj, struct bpf_program *prog)
6935 struct bpf_program *prog; local
6978 struct bpf_program *prog; local
7266 static int bpf_object__sanitize_prog(struct bpf_object *obj, struct bpf_program *prog)
7305 static int libbpf_prepare_prog_load(struct bpf_program *prog,
7366 static int bpf_object_load_prog(struct bpf_object *obj, struct bpf_program *prog,
7585 static void fixup_log_failed_core_relo(struct bpf_program *prog,
7624 static void fixup_log_missing_map_load(struct bpf_program *prog,
7657 static void fixup_log_missing_kfunc_call(struct bpf_program *prog,
7690 static void fixup_verifier_log(struct bpf_program *prog, char *buf, size_t buf_sz)
7740 static int bpf_program_record_relos(struct bpf_program *prog)
7786 struct bpf_program *prog; local
7826 struct bpf_program *prog; local
8379 struct bpf_program *prog = st_ops->progs[i]; local
8529 int bpf_program__pin(struct bpf_program *prog, const char *path)
8558 int bpf_program__unpin(struct bpf_program *prog, const char *path)
8794 struct bpf_program *prog; local
8831 struct bpf_program *prog; local
9033 struct bpf_program *prog = prev; local
9045 struct bpf_program *prog = next; local
9054 void bpf_program__set_ifindex(struct bpf_program *prog, __u32 ifindex)
9059 const char *bpf_program__name(const struct bpf_program *prog)
9064 const char *bpf_program__section_name(const struct bpf_program *prog)
9069 bool bpf_program__autoload(const struct bpf_program *prog)
9074 int bpf_program__set_autoload(struct bpf_program *prog, bool autoload)
9083 bool bpf_program__autoattach(const struct bpf_program *prog)
9088 void bpf_program__set_autoattach(struct bpf_program *prog, bool autoattach)
9093 const struct bpf_insn *bpf_program__insns(const struct bpf_program *prog)
9098 size_t bpf_program__insn_cnt(const struct bpf_program *prog)
9103 int bpf_program__set_insns(struct bpf_program *prog,
9124 int bpf_program__fd(const struct bpf_program *prog)
9138 enum bpf_prog_type bpf_program__type(const struct bpf_program *prog)
9149 int bpf_program__set_type(struct bpf_program *prog, enum bpf_prog_type type)
9174 enum bpf_attach_type bpf_program__expected_attach_type(const struct bpf_program *prog)
9179 int bpf_program__set_expected_attach_type(struct bpf_program *prog,
9189 __u32 bpf_program__flags(const struct bpf_program *prog)
9194 int bpf_program__set_flags(struct bpf_program *prog, __u32 flags)
9203 __u32 bpf_program__log_level(const struct bpf_program *prog)
9208 int bpf_program__set_log_level(struct bpf_program *prog, __u32 log_level)
9217 const char *bpf_program__log_buf(const struct bpf_program *prog, size_t *log_size)
9223 int bpf_program__set_log_buf(struct bpf_program *prog, char *log_buf, size_t log_size)
9625 struct bpf_program *prog; local
9887 static int libbpf_find_attach_btf_id(struct bpf_program *prog, const char *attach_name,
10423 int bpf_link__update_program(struct bpf_link *link, struct bpf_program *prog)
10603 struct bpf_link *bpf_program__attach_perf_event_opts(const struct bpf_program *prog, int pfd,
10680 struct bpf_link *bpf_program__attach_perf_event(const struct bpf_program *prog, int pfd)
11004 bpf_program__attach_kprobe_opts(const struct bpf_program *prog,
11099 struct bpf_link *bpf_program__attach_kprobe(const struct bpf_program *prog,
11110 struct bpf_link *bpf_program__attach_ksyscall(const struct bpf_program *prog,
11325 bpf_program__attach_kprobe_multi_opts(const struct bpf_program *prog,
11403 static int attach_kprobe(const struct bpf_program *prog, long cookie, struct bpf_link **link)
11440 static int attach_ksyscall(const struct bpf_program *prog, long cookie, struct bpf_link **link)
11461 static int attach_kprobe_multi(const struct bpf_program *prog, long cookie, struct bpf_link **link)
11492 static int attach_uprobe_multi(const struct bpf_program *prog, long cookie, struct bpf_link **link)
11764 bpf_program__attach_uprobe_multi(const struct bpf_program *prog,
11878 bpf_program__attach_uprobe_opts(const struct bpf_program *prog, pid_t pid,
12023 static int attach_uprobe(const struct bpf_program *prog, long cookie, struct bpf_link **link)
12078 struct bpf_link *bpf_program__attach_uprobe(const struct bpf_program *prog,
12089 struct bpf_link *bpf_program__attach_usdt(const struct bpf_program *prog,
12144 static int attach_usdt(const struct bpf_program *prog, long cookie, struct bpf_link **link)
12225 struct bpf_link *bpf_program__attach_tracepoint_opts(const struct bpf_program *prog,
12259 struct bpf_link *bpf_program__attach_tracepoint(const struct bpf_program *prog,
12266 static int attach_tp(const struct bpf_program *prog, long cookie, struct bpf_link **link)
12298 struct bpf_link *bpf_program__attach_raw_tracepoint(const struct bpf_program *prog,
12328 static int attach_raw_tp(const struct bpf_program *prog, long cookie, struct bpf_link **link)
12370 static struct bpf_link *bpf_program__attach_btf_id(const struct bpf_program *prog,
12406 struct bpf_link *bpf_program__attach_trace(const struct bpf_program *prog)
12411 struct bpf_link *bpf_program__attach_trace_opts(const struct bpf_program *prog,
12417 struct bpf_link *bpf_program__attach_lsm(const struct bpf_program *prog)
12422 static int attach_trace(const struct bpf_program *prog, long cookie, struct bpf_link **link)
12428 static int attach_lsm(const struct bpf_program *prog, long cookie, struct bpf_link **link)
12435 bpf_program_attach_fd(const struct bpf_program *prog,
12470 bpf_program__attach_cgroup(const struct bpf_program *prog, int cgroup_fd)
12476 bpf_program__attach_netns(const struct bpf_program *prog, int netns_fd)
12481 struct bpf_link *bpf_program__attach_xdp(const struct bpf_program *prog, int ifindex)
12488 bpf_program__attach_tcx(const struct bpf_program *prog, int ifindex,
12523 bpf_program__attach_netkit(const struct bpf_program *prog, int ifindex,
12556 struct bpf_link *bpf_program__attach_freplace(const struct bpf_program *prog,
12594 bpf_program__attach_iter(const struct bpf_program *prog,
12633 static int attach_iter(const struct bpf_program *prog, long cookie, struct bpf_link **link)
12639 struct bpf_link *bpf_program__attach_netfilter(const struct bpf_program *prog,
12681 struct bpf_link *bpf_program__attach(const struct bpf_program *prog)
13362 int bpf_program__set_attach_target(struct bpf_program *prog,
13544 struct bpf_program **prog = prog_skel->prog; local
13714 struct bpf_program *prog = *prog_skel->prog; local