| H A D | cgroup.c | 67 const struct bpf_prog *prog; bpf_prog_run_array_cg() local 239 bpf_cgroup_storages_alloc(struct bpf_cgroup_storage * storages[],struct bpf_cgroup_storage * new_storages[],enum bpf_attach_type type,struct bpf_prog * prog,struct cgroup * cgrp) bpf_cgroup_storages_alloc() argument 624 find_attach_entry(struct hlist_head * progs,struct bpf_prog * prog,struct bpf_cgroup_link * link,struct bpf_prog * replace_prog,bool allow_multi) find_attach_entry() argument 674 struct bpf_prog *prog = ERR_PTR(-EINVAL); bpf_get_anchor_prog() local 683 get_prog_list(struct hlist_head * progs,struct bpf_prog * prog,struct bpf_cgroup_link * link,u32 flags,u32 id_or_fd) get_prog_list() argument 752 insert_pl_to_hlist(struct bpf_prog_list * pl,struct hlist_head * progs,struct bpf_prog * prog,struct bpf_cgroup_link * link,u32 flags,u32 id_or_fd) insert_pl_to_hlist() argument 787 __cgroup_bpf_attach(struct cgroup * cgrp,struct bpf_prog * prog,struct bpf_prog * replace_prog,struct bpf_cgroup_link * link,enum bpf_attach_type type,u32 flags,u32 id_or_fd,u64 revision) __cgroup_bpf_attach() argument 908 cgroup_bpf_attach(struct cgroup * cgrp,struct bpf_prog * prog,struct bpf_prog * replace_prog,struct bpf_cgroup_link * link,enum bpf_attach_type type,u32 flags,u32 id_or_fd,u64 revision) cgroup_bpf_attach() argument 1037 find_detach_entry(struct hlist_head * progs,struct bpf_prog * prog,struct bpf_cgroup_link * link,bool allow_multi) find_detach_entry() argument 1078 purge_effective_progs(struct cgroup * cgrp,struct bpf_prog * prog,struct bpf_cgroup_link * link,enum cgroup_bpf_attach_type atype) purge_effective_progs() argument 1136 __cgroup_bpf_detach(struct cgroup * cgrp,struct bpf_prog * prog,struct bpf_cgroup_link * link,enum bpf_attach_type type,u64 revision) __cgroup_bpf_detach() argument 1199 cgroup_bpf_detach(struct cgroup * cgrp,struct bpf_prog * prog,enum bpf_attach_type type,u64 revision) cgroup_bpf_detach() argument 1283 struct bpf_prog *prog; __cgroup_bpf_query() local 1327 cgroup_bpf_prog_attach(const union bpf_attr * attr,enum bpf_prog_type ptype,struct bpf_prog * prog) cgroup_bpf_prog_attach() argument 1358 struct bpf_prog *prog; cgroup_bpf_prog_detach() local 1478 cgroup_bpf_link_attach(const union bpf_attr * attr,struct bpf_prog * prog) cgroup_bpf_link_attach() argument 1819 cgroup_dev_func_proto(enum bpf_func_id func_id,const struct bpf_prog * prog) cgroup_dev_func_proto() argument 1837 cgroup_dev_is_valid_access(int off,int size,enum bpf_access_type type,const struct bpf_prog * prog,struct bpf_insn_access_aux * info) cgroup_dev_is_valid_access() argument 2366 sysctl_func_proto(enum bpf_func_id func_id,const struct bpf_prog * prog) sysctl_func_proto() argument 2393 sysctl_is_valid_access(int off,int size,enum bpf_access_type type,const struct bpf_prog * prog,struct bpf_insn_access_aux * info) sysctl_is_valid_access() argument 2422 sysctl_convert_ctx_access(enum bpf_access_type type,const struct bpf_insn * si,struct bpf_insn * insn_buf,struct bpf_prog * prog,u32 * target_size) sysctl_convert_ctx_access() argument 2509 cg_sockopt_func_proto(enum bpf_func_id func_id,const struct bpf_prog * prog) cg_sockopt_func_proto() argument 2547 cg_sockopt_is_valid_access(int off,int size,enum bpf_access_type type,const struct bpf_prog * prog,struct bpf_insn_access_aux * info) cg_sockopt_is_valid_access() argument 2622 cg_sockopt_convert_ctx_access(enum bpf_access_type type,const struct bpf_insn * si,struct bpf_insn * insn_buf,struct bpf_prog * prog,u32 * target_size) cg_sockopt_convert_ctx_access() argument 2699 cg_sockopt_get_prologue(struct bpf_insn * insn_buf,bool direct_write,const struct bpf_prog * prog) cg_sockopt_get_prologue() argument 2718 cgroup_common_func_proto(enum bpf_func_id func_id,const struct bpf_prog * prog) cgroup_common_func_proto() argument [all...] |
| H A D | libbpf.c | 759 bpf_program__unload(struct bpf_program * prog) bpf_program__unload() argument 770 bpf_program__exit(struct bpf_program * prog) bpf_program__exit() argument 807 bpf_object__init_prog(struct bpf_object * obj,struct bpf_program * prog,const char * name,size_t sec_idx,const char * sec_name,size_t sec_off,void * insn_data,size_t insn_data_sz) bpf_object__init_prog() argument 872 struct bpf_program *prog, *progs; bpf_object__add_programs() local 956 struct bpf_program *prog = obj->programs; bpf_object_bswap_progs() local 1077 is_valid_st_ops_program(struct bpf_object * obj,const struct bpf_program * prog) is_valid_st_ops_program() argument 1096 struct bpf_program *prog, *slot_prog; bpf_object_adjust_struct_ops_autoload() local 1181 struct bpf_program *prog; bpf_map__init_kern_struct_ops() local 3443 prog_needs_vmlinux_btf(struct bpf_program * prog) prog_needs_vmlinux_btf() argument 3465 struct bpf_program *prog; obj_needs_vmlinux_btf() local 3547 struct bpf_program *prog = &obj->programs[i]; bpf_object__sanitize_and_load_btf() local 4431 prog_is_subprog(const struct bpf_object * obj,const struct bpf_program * prog) prog_is_subprog() argument 4440 struct bpf_program *prog; bpf_object__find_program_by_name() local 4488 bpf_program__record_reloc(struct bpf_program * prog,struct reloc_desc * reloc_desc,__u32 insn_idx,const char * sym_name,const Elf64_Sym * sym,const Elf64_Rel * rel) bpf_program__record_reloc() argument 4660 prog_contains_insn(const struct bpf_program * prog,size_t insn_idx) prog_contains_insn() argument 4670 struct bpf_program *prog; find_prog_by_sec_insn() local 4699 struct bpf_program *prog; bpf_object__collect_prog_relos() local 5844 record_relo_core(struct bpf_program * prog,const struct bpf_core_relo * core_relo,int insn_idx) record_relo_core() argument 5862 find_relo_core(struct bpf_program * prog,int insn_idx) find_relo_core() argument 5878 bpf_core_resolve_relo(struct bpf_program * prog,const struct bpf_core_relo * relo,int relo_idx,const struct btf * local_btf,struct hashmap * cand_cache,struct bpf_core_relo_res * targ_res) bpf_core_resolve_relo() argument 5930 struct bpf_program *prog; bpf_object__relocate_core() local 6044 poison_map_ldimm64(struct bpf_program * prog,int relo_idx,int insn_idx,struct bpf_insn * insn,int map_idx,const struct bpf_map * map) poison_map_ldimm64() argument 6074 poison_kfunc_call(struct bpf_program * prog,int relo_idx,int insn_idx,struct bpf_insn * insn,int ext_idx,const struct extern_desc * ext) poison_kfunc_call() argument 6100 bpf_object__relocate_data(struct bpf_object * obj,struct bpf_program * prog) bpf_object__relocate_data() argument 6196 adjust_prog_btf_ext_info(const struct bpf_object * obj,const struct bpf_program * prog,const struct btf_ext_info * ext_info,void ** prog_info,__u32 * prog_rec_cnt,__u32 * prog_rec_sz) adjust_prog_btf_ext_info() argument 6266 reloc_prog_func_and_line_info(const struct bpf_object * obj,struct bpf_program * main_prog,const struct bpf_program * prog) reloc_prog_func_and_line_info() argument 6345 find_prog_insn_relo(const struct bpf_program * prog,size_t insn_idx) find_prog_insn_relo() argument 6416 bpf_object__reloc_code(struct bpf_object * obj,struct bpf_program * main_prog,struct bpf_program * prog) bpf_object__reloc_code() argument 6605 bpf_object__relocate_calls(struct bpf_object * obj,struct bpf_program * prog) bpf_object__relocate_calls() argument 6631 struct bpf_program *prog; bpf_object__free_relocs() local 6671 bpf_prog_assign_exc_cb(struct bpf_object * obj,struct bpf_program * prog) bpf_prog_assign_exc_cb() argument 6793 need_func_arg_type_fixup(const struct btf * btf,const struct bpf_program * prog,const char * subprog_name,int arg_idx,int arg_type_id,const char * ctx_name) need_func_arg_type_fixup() argument 6864 clone_func_btf_info(struct btf * btf,int orig_fn_id,struct bpf_program * prog) clone_func_btf_info() argument 6933 bpf_program_fixup_func_info(struct bpf_object * obj,struct bpf_program * prog) bpf_program_fixup_func_info() argument 7074 struct bpf_program *prog; bpf_object__relocate() local 7369 bpf_object__sanitize_prog(struct bpf_object * obj,struct bpf_program * prog) bpf_object__sanitize_prog() argument 7408 libbpf_prepare_prog_load(struct bpf_program * prog,struct bpf_prog_load_opts * opts,long cookie) libbpf_prepare_prog_load() argument 7475 bpf_object_load_prog(struct bpf_object * obj,struct bpf_program * prog,struct bpf_insn * insns,int insns_cnt,const char * license,__u32 kern_version,int * prog_fd) bpf_object_load_prog() argument 7705 fixup_log_failed_core_relo(struct bpf_program * prog,char * buf,size_t buf_sz,size_t log_sz,char * line1,char * line2,char * line3) fixup_log_failed_core_relo() argument 7744 fixup_log_missing_map_load(struct bpf_program * prog,char * buf,size_t buf_sz,size_t log_sz,char * line1,char * line2,char * line3) fixup_log_missing_map_load() argument 7777 fixup_log_missing_kfunc_call(struct bpf_program * prog,char * buf,size_t buf_sz,size_t log_sz,char * line1,char * line2,char * line3) fixup_log_missing_kfunc_call() argument 7810 fixup_verifier_log(struct bpf_program * prog,char * buf,size_t buf_sz) fixup_verifier_log() argument 7860 bpf_program_record_relos(struct bpf_program * prog) bpf_program_record_relos() argument 7906 struct bpf_program *prog; bpf_object__load_progs() local 7937 struct bpf_program *prog; bpf_object_prepare_progs() local 7954 struct bpf_program *prog; bpf_object_init_progs() local 8533 struct bpf_program *prog = st_ops->progs[i]; bpf_map_prepare_vdata() local 8739 bpf_program__pin(struct bpf_program * prog,const char * path) bpf_program__pin() argument 8766 bpf_program__unpin(struct bpf_program * prog,const char * path) bpf_program__unpin() argument 9005 struct bpf_program *prog; bpf_object__pin_programs() local 9042 struct bpf_program *prog; bpf_object__unpin_programs() local 9262 struct bpf_program *prog = prev; bpf_object__next_program() local 9274 struct bpf_program *prog = next; bpf_object__prev_program() local 9283 bpf_program__set_ifindex(struct bpf_program * prog,__u32 ifindex) bpf_program__set_ifindex() argument 9288 bpf_program__name(const struct bpf_program * prog) bpf_program__name() argument 9293 bpf_program__section_name(const struct bpf_program * prog) bpf_program__section_name() argument 9298 bpf_program__autoload(const struct bpf_program * prog) bpf_program__autoload() argument 9303 bpf_program__set_autoload(struct bpf_program * prog,bool autoload) bpf_program__set_autoload() argument 9312 bpf_program__autoattach(const struct bpf_program * prog) bpf_program__autoattach() argument 9317 bpf_program__set_autoattach(struct bpf_program * prog,bool autoattach) bpf_program__set_autoattach() argument 9322 bpf_program__insns(const struct bpf_program * prog) bpf_program__insns() argument 9327 bpf_program__insn_cnt(const struct bpf_program * prog) bpf_program__insn_cnt() argument 9332 bpf_program__set_insns(struct bpf_program * prog,struct bpf_insn * new_insns,size_t new_insn_cnt) bpf_program__set_insns() argument 9353 bpf_program__fd(const struct bpf_program * prog) bpf_program__fd() argument 9367 bpf_program__type(const struct bpf_program * prog) bpf_program__type() argument 9378 bpf_program__set_type(struct bpf_program * prog,enum bpf_prog_type type) bpf_program__set_type() argument 9403 bpf_program__expected_attach_type(const struct bpf_program * prog) bpf_program__expected_attach_type() argument 9408 bpf_program__set_expected_attach_type(struct bpf_program * prog,enum bpf_attach_type type) bpf_program__set_expected_attach_type() argument 9418 bpf_program__flags(const struct bpf_program * prog) bpf_program__flags() argument 9423 bpf_program__set_flags(struct bpf_program * prog,__u32 flags) bpf_program__set_flags() argument 9432 bpf_program__log_level(const struct bpf_program * prog) bpf_program__log_level() argument 9437 bpf_program__set_log_level(struct bpf_program * prog,__u32 log_level) bpf_program__set_log_level() argument 9446 bpf_program__log_buf(const struct bpf_program * prog,size_t * log_size) bpf_program__log_buf() argument 9452 bpf_program__set_log_buf(struct bpf_program * prog,char * log_buf,size_t log_size) bpf_program__set_log_buf() argument 9466 bpf_program__func_info(const struct bpf_program * prog) bpf_program__func_info() argument 9473 bpf_program__func_info_cnt(const struct bpf_program * prog) bpf_program__func_info_cnt() argument 9478 bpf_program__line_info(const struct bpf_program * prog) bpf_program__line_info() argument 9485 bpf_program__line_info_cnt(const struct bpf_program * prog) bpf_program__line_info_cnt() argument 9882 struct bpf_program *prog; bpf_object__collect_st_ops_relos() local 10149 libbpf_find_attach_btf_id(struct bpf_program * prog,const char * attach_name,int * btf_obj_fd,int * btf_type_id) libbpf_find_attach_btf_id() argument 10721 bpf_link__update_program(struct bpf_link * link,struct bpf_program * prog) bpf_link__update_program() argument 10908 bpf_program__attach_perf_event_opts(const struct bpf_program * prog,int pfd,const struct bpf_perf_event_opts * opts) bpf_program__attach_perf_event_opts() argument 10986 bpf_program__attach_perf_event(const struct bpf_program * prog,int pfd) bpf_program__attach_perf_event() argument 11305 bpf_program__attach_kprobe_opts(const struct bpf_program * prog,const char * func_name,const struct bpf_kprobe_opts * opts) bpf_program__attach_kprobe_opts() argument 11399 bpf_program__attach_kprobe(const struct bpf_program * prog,bool retprobe,const char * func_name) bpf_program__attach_kprobe() argument 11410 bpf_program__attach_ksyscall(const struct bpf_program * prog,const char * syscall_name,const struct bpf_ksyscall_opts * opts) bpf_program__attach_ksyscall() argument 11649 bpf_program__attach_kprobe_multi_opts(const struct bpf_program * prog,const char * pattern,const struct bpf_kprobe_multi_opts * opts) bpf_program__attach_kprobe_multi_opts() argument 11750 attach_kprobe(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_kprobe() argument 11787 attach_ksyscall(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_ksyscall() argument 11808 attach_kprobe_multi(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_kprobe_multi() argument 11839 attach_kprobe_session(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_kprobe_session() argument 11865 attach_uprobe_multi(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_uprobe_multi() argument 12109 bpf_program__attach_uprobe_multi(const struct bpf_program * prog,pid_t pid,const char * path,const char * func_pattern,const struct bpf_uprobe_multi_opts * opts) bpf_program__attach_uprobe_multi() argument 12237 bpf_program__attach_uprobe_opts(const struct bpf_program * prog,pid_t pid,const char * binary_path,size_t func_offset,const struct bpf_uprobe_opts * opts) bpf_program__attach_uprobe_opts() argument 12383 attach_uprobe(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_uprobe() argument 12438 bpf_program__attach_uprobe(const struct bpf_program * prog,bool retprobe,pid_t pid,const char * binary_path,size_t func_offset) bpf_program__attach_uprobe() argument 12448 bpf_program__attach_usdt(const struct bpf_program * prog,pid_t pid,const char * binary_path,const char * usdt_provider,const char * usdt_name,const struct bpf_usdt_opts * opts) bpf_program__attach_usdt() argument 12501 attach_usdt(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_usdt() argument 12580 bpf_program__attach_tracepoint_opts(const struct bpf_program * prog,const char * tp_category,const char * tp_name,const struct bpf_tracepoint_opts * opts) bpf_program__attach_tracepoint_opts() argument 12613 bpf_program__attach_tracepoint(const struct bpf_program * prog,const char * tp_category,const char * tp_name) bpf_program__attach_tracepoint() argument 12620 attach_tp(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_tp() argument 12653 bpf_program__attach_raw_tracepoint_opts(const struct bpf_program * prog,const char * tp_name,struct bpf_raw_tracepoint_opts * opts) bpf_program__attach_raw_tracepoint_opts() argument 12689 bpf_program__attach_raw_tracepoint(const struct bpf_program * prog,const char * tp_name) bpf_program__attach_raw_tracepoint() argument 12695 attach_raw_tp(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_raw_tp() argument 12737 bpf_program__attach_btf_id(const struct bpf_program * prog,const struct bpf_trace_opts * opts) bpf_program__attach_btf_id() argument 12772 bpf_program__attach_trace(const struct bpf_program * prog) bpf_program__attach_trace() argument 12777 bpf_program__attach_trace_opts(const struct bpf_program * prog,const struct bpf_trace_opts * opts) bpf_program__attach_trace_opts() argument 12783 bpf_program__attach_lsm(const struct bpf_program * prog) bpf_program__attach_lsm() argument 12788 attach_trace(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_trace() argument 12794 attach_lsm(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_lsm() argument 12801 bpf_program_attach_fd(const struct bpf_program * prog,int target_fd,const char * target_name,const struct bpf_link_create_opts * opts) bpf_program_attach_fd() argument 12835 bpf_program__attach_cgroup(const struct bpf_program * prog,int cgroup_fd) bpf_program__attach_cgroup() argument 12841 bpf_program__attach_netns(const struct bpf_program * prog,int netns_fd) bpf_program__attach_netns() argument 12847 bpf_program__attach_sockmap(const struct bpf_program * prog,int map_fd) bpf_program__attach_sockmap() argument 12852 bpf_program__attach_xdp(const struct bpf_program * prog,int ifindex) bpf_program__attach_xdp() argument 12859 bpf_program__attach_cgroup_opts(const struct bpf_program * prog,int cgroup_fd,const struct bpf_cgroup_opts * opts) bpf_program__attach_cgroup_opts() argument 12887 bpf_program__attach_tcx(const struct bpf_program * prog,int ifindex,const struct bpf_tcx_opts * opts) bpf_program__attach_tcx() argument 12922 bpf_program__attach_netkit(const struct bpf_program * prog,int ifindex,const struct bpf_netkit_opts * opts) bpf_program__attach_netkit() argument 12955 bpf_program__attach_freplace(const struct bpf_program * prog,int target_fd,const char * attach_func_name) bpf_program__attach_freplace() argument 12993 bpf_program__attach_iter(const struct bpf_program * prog,const struct bpf_iter_attach_opts * opts) bpf_program__attach_iter() argument 13031 attach_iter(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_iter() argument 13037 bpf_program__attach_netfilter(const struct bpf_program * prog,const struct bpf_netfilter_opts * opts) bpf_program__attach_netfilter() argument 13077 bpf_program__attach(const struct bpf_program * prog) bpf_program__attach() argument 13774 bpf_program__set_attach_target(struct bpf_program * prog,int attach_prog_fd,const char * attach_func_name) bpf_program__set_attach_target() argument 13956 struct bpf_program **prog = prog_skel->prog; populate_skeleton_progs() local 14097 struct bpf_program *prog = *prog_skel->prog; bpf_object__attach_skeleton() local [all...] |