Home
last modified time | relevance | path

Searched defs:prog (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/linux/net/sched/
H A Dcls_bpf.c87 struct cls_bpf_prog *prog; in cls_bpf_classify() local
138 static bool cls_bpf_is_ebpf(const struct cls_bpf_prog *prog) in cls_bpf_is_ebpf()
143 static int cls_bpf_offload_cmd(struct tcf_proto *tp, struct cls_bpf_prog *prog, in cls_bpf_offload_cmd()
195 static int cls_bpf_offload(struct tcf_proto *tp, struct cls_bpf_prog *prog, in cls_bpf_offload()
215 struct cls_bpf_prog *prog, in cls_bpf_stop_offload()
226 struct cls_bpf_prog *prog) in cls_bpf_offload_update_stats()
256 static void cls_bpf_free_parms(struct cls_bpf_prog *prog) in cls_bpf_free_parms()
267 static void __cls_bpf_delete_prog(struct cls_bpf_prog *prog) in __cls_bpf_delete_prog()
278 struct cls_bpf_prog *prog = container_of(to_rcu_work(work), in cls_bpf_delete_prog_work() local
286 static void __cls_bpf_delete(struct tcf_proto *tp, struct cls_bpf_prog *prog, in __cls_bpf_delete()
[all …]
H A Dact_bpf.c40 struct tcf_bpf *prog = to_bpf(act); in tcf_bpf_act() local
92 static bool tcf_bpf_is_ebpf(const struct tcf_bpf *prog) in tcf_bpf_is_ebpf()
97 static int tcf_bpf_dump_bpf_info(const struct tcf_bpf *prog, in tcf_bpf_dump_bpf_info()
115 static int tcf_bpf_dump_ebpf_info(const struct tcf_bpf *prog, in tcf_bpf_dump_ebpf_info()
140 struct tcf_bpf *prog = to_bpf(act); in tcf_bpf_dump() local
264 static void tcf_bpf_prog_fill_cfg(const struct tcf_bpf *prog, in tcf_bpf_prog_fill_cfg()
288 struct tcf_bpf *prog; in tcf_bpf_init() local
/linux/arch/x86/net/
H A Dbpf_jit_comp.c333 u8 *prog = *pprog; in push_r9() local
341 u8 *prog = *pprog; in pop_r9() local
349 u8 *prog = *pprog; in push_r12() local
357 u8 *prog = *pprog; in push_callee_regs() local
372 u8 *prog = *pprog; in pop_r12() local
380 u8 *prog = *pprog; in pop_callee_regs() local
395 u8 *prog = *pprog; in emit_nops() local
420 u8 *prog = *pprog; in emit_fineibt() local
437 u8 *prog = *pprog; in emit_kcfi() local
451 u8 *prog = *pprog; in emit_cfi() local
[all …]
/linux/drivers/clk/at91/
H A Dclk-programmable.c35 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_recalc_rate() local
53 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_determine_rate() local
105 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_set_parent() local
130 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_get_parent() local
151 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_set_rate() local
183 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_save_context() local
195 struct clk_programmable *prog = to_clk_programmable(hw); in clk_programmable_restore_context() local
222 struct clk_programmable *prog; in at91_clk_register_programmable() local
/linux/kernel/bpf/
H A Dtrampoline.c137 bool bpf_prog_has_trampoline(const struct bpf_prog *prog) in bpf_prog_has_trampoline()
725 static enum bpf_tramp_prog_type bpf_attach_type_to_tramp(struct bpf_prog *prog) in bpf_attach_type_to_tramp()
923 static struct bpf_shim_tramp_link *cgroup_shim_alloc(const struct bpf_prog *prog, in cgroup_shim_alloc()
977 int bpf_trampoline_link_cgroup_shim(struct bpf_prog *prog, in bpf_trampoline_link_cgroup_shim()
1042 void bpf_trampoline_unlink_cgroup_shim(struct bpf_prog *prog) in bpf_trampoline_unlink_cgroup_shim()
1143 static u64 notrace __bpf_prog_enter_recur(struct bpf_prog *prog, struct bpf_tramp_run_ctx *run_ctx) in __bpf_prog_enter_recur()
1159 static void notrace __update_prog_stats(struct bpf_prog *prog, u64 start) in __update_prog_stats()
1180 static __always_inline void notrace update_prog_stats(struct bpf_prog *prog, in update_prog_stats()
1187 static void notrace __bpf_prog_exit_recur(struct bpf_prog *prog, u64 start, in __bpf_prog_exit_recur()
1198 static u64 notrace __bpf_prog_enter_lsm_cgroup(struct bpf_prog *prog, in __bpf_prog_enter_lsm_cgroup()
[all …]
H A Dcgroup.c68 const struct bpf_prog *prog; in bpf_prog_run_array_cg() local
238 struct bpf_prog *prog, in bpf_cgroup_storages_alloc()
623 struct bpf_prog *prog, in find_attach_entry()
673 struct bpf_prog *prog = ERR_PTR(-EINVAL); in bpf_get_anchor_prog() local
682 static struct bpf_prog_list *get_prog_list(struct hlist_head *progs, struct bpf_prog *prog, in get_prog_list()
751 struct bpf_prog *prog, struct bpf_cgroup_link *link, in insert_pl_to_hlist()
786 struct bpf_prog *prog, struct bpf_prog *replace_prog, in __cgroup_bpf_attach()
907 struct bpf_prog *prog, struct bpf_prog *replace_prog, in cgroup_bpf_attach()
1036 struct bpf_prog *prog, in find_detach_entry()
1077 static void purge_effective_progs(struct cgroup *cgrp, struct bpf_prog *prog, in purge_effective_progs()
[all …]
H A Dsyscall.c2272 static int find_prog_type(enum bpf_prog_type type, struct bpf_prog *prog) in find_prog_type()
2302 static void bpf_audit_prog(const struct bpf_prog *prog, unsigned int op) in bpf_audit_prog()
2321 static int bpf_prog_alloc_id(struct bpf_prog *prog) in bpf_prog_alloc_id()
2340 void bpf_prog_free_id(struct bpf_prog *prog) in bpf_prog_free_id()
2369 static void __bpf_prog_put_noref(struct bpf_prog *prog, bool deferred) in __bpf_prog_put_noref()
2394 struct bpf_prog *prog; in bpf_prog_put_deferred() local
2404 static void __bpf_prog_put(struct bpf_prog *prog) in __bpf_prog_put()
2418 void bpf_prog_put(struct bpf_prog *prog) in bpf_prog_put()
2426 struct bpf_prog *prog = filp->private_data; in bpf_prog_release() local
2438 void notrace bpf_prog_inc_misses_counter(struct bpf_prog *prog) in bpf_prog_inc_misses_counter()
[all …]
H A Dcore.c152 struct bpf_prog *prog; in bpf_prog_alloc() local
177 int bpf_prog_alloc_jited_linfo(struct bpf_prog *prog) in bpf_prog_alloc_jited_linfo()
191 void bpf_prog_jit_attempt_done(struct bpf_prog *prog) in bpf_prog_jit_attempt_done()
227 void bpf_prog_fill_jited_linfo(struct bpf_prog *prog, in bpf_prog_fill_jited_linfo()
387 static int bpf_adj_branches(struct bpf_prog *prog, u32 pos, s32 end_old, in bpf_adj_branches()
434 static void bpf_adj_linfo(struct bpf_prog *prog, u32 off, u32 delta) in bpf_adj_linfo()
454 struct bpf_prog *bpf_patch_insn_single(struct bpf_prog *prog, u32 off, in bpf_patch_insn_single()
515 int bpf_remove_insns(struct bpf_prog *prog, u32 off, u32 cnt) in bpf_remove_insns()
554 bpf_prog_ksym_set_addr(struct bpf_prog *prog) in bpf_prog_ksym_set_addr()
563 bpf_prog_ksym_set_name(struct bpf_prog *prog) in bpf_prog_ksym_set_name()
[all …]
H A Dprog_iter.c16 struct bpf_prog *prog; in bpf_prog_seq_start() local
42 DEFINE_BPF_ITER_FUNC(bpf_prog, struct bpf_iter_meta *meta, struct bpf_prog *prog) in DEFINE_BPF_ITER_FUNC()
48 struct bpf_prog *prog; in DEFINE_BPF_ITER_FUNC() local
H A Dbpf_iter.c25 struct bpf_prog *prog; member
332 struct bpf_prog *prog) in cache_btf_id()
337 int bpf_iter_prog_supported(struct bpf_prog *prog) in bpf_iter_prog_supported()
370 bpf_iter_get_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in bpf_iter_get_func_proto()
505 struct bpf_prog *prog) in bpf_iter_link_attach()
579 struct bpf_prog *prog) in init_seq_meta()
594 struct bpf_prog *prog; in prepare_seq_file() local
680 int bpf_iter_run_prog(struct bpf_prog *prog, void *ctx) in bpf_iter_run_prog()
H A Dtcx.c10 int tcx_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog) in tcx_prog_attach()
59 int tcx_prog_detach(const union bpf_attr *attr, struct bpf_prog *prog) in tcx_prog_detach()
302 struct bpf_prog *prog) in tcx_link_init()
310 int tcx_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in tcx_link_attach()
/linux/drivers/media/rc/
H A Dbpf-lirc.c83 lirc_mode2_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in lirc_mode2_func_proto()
123 const struct bpf_prog *prog, in lirc_mode2_is_valid_access()
137 static int lirc_bpf_attach(struct rc_dev *rcdev, struct bpf_prog *prog) in lirc_bpf_attach()
175 static int lirc_bpf_detach(struct rc_dev *rcdev, struct bpf_prog *prog) in lirc_bpf_detach()
248 int lirc_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog) in lirc_prog_attach()
269 struct bpf_prog *prog; in lirc_prog_detach() local
/linux/tools/lib/bpf/
H A Dlibbpf.c767 struct bpf_program *prog; member
790 void bpf_program__unload(struct bpf_program *prog) in bpf_program__unload() argument
802 static void bpf_program__exit(struct bpf_program *prog) in bpf_program__exit() argument
839 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
904 struct bpf_program *prog, *progs; bpf_object__add_programs() local
988 struct bpf_program *prog = obj->programs; bpf_object_bswap_progs() local
1107 is_valid_st_ops_program(struct bpf_object * obj,const struct bpf_program * prog) is_valid_st_ops_program() argument
1126 struct bpf_program *prog, *slot_prog; bpf_object_adjust_struct_ops_autoload() local
1211 struct bpf_program *prog; bpf_map__init_kern_struct_ops() local
3474 prog_needs_vmlinux_btf(struct bpf_program * prog) prog_needs_vmlinux_btf() argument
3496 struct bpf_program *prog; obj_needs_vmlinux_btf() local
3578 struct bpf_program *prog = &obj->programs[i]; bpf_object__sanitize_and_load_btf() local
4469 prog_is_subprog(const struct bpf_object * obj,const struct bpf_program * prog) prog_is_subprog() argument
4478 struct bpf_program *prog; bpf_object__find_program_by_name() local
4526 bpf_prog_compute_hash(struct bpf_program * prog) bpf_prog_compute_hash() argument
4564 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
4746 prog_contains_insn(const struct bpf_program * prog,size_t insn_idx) prog_contains_insn() argument
4756 struct bpf_program *prog; find_prog_by_sec_insn() local
4785 struct bpf_program *prog; bpf_object__collect_prog_relos() local
5949 record_relo_core(struct bpf_program * prog,const struct bpf_core_relo * core_relo,int insn_idx) record_relo_core() argument
5967 find_relo_core(struct bpf_program * prog,int insn_idx) find_relo_core() argument
5983 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
6035 struct bpf_program *prog; bpf_object__relocate_core() local
6149 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
6179 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
6199 find_jt_map(struct bpf_object * obj,struct bpf_program * prog,unsigned int sym_off) find_jt_map() argument
6217 add_jt_map(struct bpf_object * obj,struct bpf_program * prog,unsigned int sym_off,int map_fd) add_jt_map() argument
6236 find_subprog_idx(struct bpf_program * prog,int insn_idx) find_subprog_idx() argument
6248 create_jt_map(struct bpf_object * obj,struct bpf_program * prog,struct reloc_desc * relo) create_jt_map() argument
6356 bpf_object__relocate_data(struct bpf_object * obj,struct bpf_program * prog) bpf_object__relocate_data() argument
6470 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
6540 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
6619 find_prog_insn_relo(const struct bpf_program * prog,size_t insn_idx) find_prog_insn_relo() argument
6716 bpf_object__reloc_code(struct bpf_object * obj,struct bpf_program * main_prog,struct bpf_program * prog) bpf_object__reloc_code() argument
6905 bpf_object__relocate_calls(struct bpf_object * obj,struct bpf_program * prog) bpf_object__relocate_calls() argument
6931 struct bpf_program *prog; bpf_object__free_relocs() local
6971 bpf_prog_assign_exc_cb(struct bpf_object * obj,struct bpf_program * prog) bpf_prog_assign_exc_cb() argument
7093 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
7164 clone_func_btf_info(struct btf * btf,int orig_fn_id,struct bpf_program * prog) clone_func_btf_info() argument
7233 bpf_program_fixup_func_info(struct bpf_object * obj,struct bpf_program * prog) bpf_program_fixup_func_info() argument
7374 struct bpf_program *prog; bpf_object__relocate() local
7677 bpf_object__sanitize_prog(struct bpf_object * obj,struct bpf_program * prog) bpf_object__sanitize_prog() argument
7716 libbpf_prepare_prog_load(struct bpf_program * prog,struct bpf_prog_load_opts * opts,long cookie) libbpf_prepare_prog_load() argument
7783 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
8013 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
8052 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
8085 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
8118 fixup_verifier_log(struct bpf_program * prog,char * buf,size_t buf_sz) fixup_verifier_log() argument
8168 bpf_program_record_relos(struct bpf_program * prog) bpf_program_record_relos() argument
8214 struct bpf_program *prog; bpf_object__load_progs() local
8245 struct bpf_program *prog; bpf_object_prepare_progs() local
8262 struct bpf_program *prog; bpf_object_init_progs() local
8841 struct bpf_program *prog = st_ops->progs[i]; bpf_map_prepare_vdata() local
9047 bpf_program__pin(struct bpf_program * prog,const char * path) bpf_program__pin() argument
9074 bpf_program__unpin(struct bpf_program * prog,const char * path) bpf_program__unpin() argument
9313 struct bpf_program *prog; bpf_object__pin_programs() local
9350 struct bpf_program *prog; bpf_object__unpin_programs() local
9577 struct bpf_program *prog = prev; bpf_object__next_program() local
9589 struct bpf_program *prog = next; bpf_object__prev_program() local
9598 bpf_program__set_ifindex(struct bpf_program * prog,__u32 ifindex) bpf_program__set_ifindex() argument
9603 bpf_program__name(const struct bpf_program * prog) bpf_program__name() argument
9608 bpf_program__section_name(const struct bpf_program * prog) bpf_program__section_name() argument
9613 bpf_program__autoload(const struct bpf_program * prog) bpf_program__autoload() argument
9618 bpf_program__set_autoload(struct bpf_program * prog,bool autoload) bpf_program__set_autoload() argument
9627 bpf_program__autoattach(const struct bpf_program * prog) bpf_program__autoattach() argument
9632 bpf_program__set_autoattach(struct bpf_program * prog,bool autoattach) bpf_program__set_autoattach() argument
9637 bpf_program__insns(const struct bpf_program * prog) bpf_program__insns() argument
9642 bpf_program__insn_cnt(const struct bpf_program * prog) bpf_program__insn_cnt() argument
9647 bpf_program__set_insns(struct bpf_program * prog,struct bpf_insn * new_insns,size_t new_insn_cnt) bpf_program__set_insns() argument
9668 bpf_program__fd(const struct bpf_program * prog) bpf_program__fd() argument
9682 bpf_program__type(const struct bpf_program * prog) bpf_program__type() argument
9693 bpf_program__set_type(struct bpf_program * prog,enum bpf_prog_type type) bpf_program__set_type() argument
9718 bpf_program__expected_attach_type(const struct bpf_program * prog) bpf_program__expected_attach_type() argument
9723 bpf_program__set_expected_attach_type(struct bpf_program * prog,enum bpf_attach_type type) bpf_program__set_expected_attach_type() argument
9733 bpf_program__flags(const struct bpf_program * prog) bpf_program__flags() argument
9738 bpf_program__set_flags(struct bpf_program * prog,__u32 flags) bpf_program__set_flags() argument
9747 bpf_program__log_level(const struct bpf_program * prog) bpf_program__log_level() argument
9752 bpf_program__set_log_level(struct bpf_program * prog,__u32 log_level) bpf_program__set_log_level() argument
9761 bpf_program__log_buf(const struct bpf_program * prog,size_t * log_size) bpf_program__log_buf() argument
9767 bpf_program__set_log_buf(struct bpf_program * prog,char * log_buf,size_t log_size) bpf_program__set_log_buf() argument
9781 bpf_program__func_info(const struct bpf_program * prog) bpf_program__func_info() argument
9788 bpf_program__func_info_cnt(const struct bpf_program * prog) bpf_program__func_info_cnt() argument
9793 bpf_program__line_info(const struct bpf_program * prog) bpf_program__line_info() argument
9800 bpf_program__line_info_cnt(const struct bpf_program * prog) bpf_program__line_info_cnt() argument
10199 struct bpf_program *prog; bpf_object__collect_st_ops_relos() local
10466 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
10834 bpf_map__set_exclusive_program(struct bpf_map * map,struct bpf_program * prog) bpf_map__set_exclusive_program() argument
11073 bpf_link__update_program(struct bpf_link * link,struct bpf_program * prog) bpf_link__update_program() argument
11260 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
11338 bpf_program__attach_perf_event(const struct bpf_program * prog,int pfd) bpf_program__attach_perf_event() argument
11655 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
11749 bpf_program__attach_kprobe(const struct bpf_program * prog,bool retprobe,const char * func_name) bpf_program__attach_kprobe() argument
11760 bpf_program__attach_ksyscall(const struct bpf_program * prog,const char * syscall_name,const struct bpf_ksyscall_opts * opts) bpf_program__attach_ksyscall() argument
12000 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
12101 attach_kprobe(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_kprobe() argument
12138 attach_ksyscall(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_ksyscall() argument
12159 attach_kprobe_multi(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_kprobe_multi() argument
12190 attach_kprobe_session(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_kprobe_session() argument
12216 attach_uprobe_multi(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_uprobe_multi() argument
12458 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
12586 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
12732 attach_uprobe(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_uprobe() argument
12787 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
12797 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
12850 attach_usdt(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_usdt() argument
12929 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
12962 bpf_program__attach_tracepoint(const struct bpf_program * prog,const char * tp_category,const char * tp_name) bpf_program__attach_tracepoint() argument
12969 attach_tp(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_tp() argument
13002 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
13038 bpf_program__attach_raw_tracepoint(const struct bpf_program * prog,const char * tp_name) bpf_program__attach_raw_tracepoint() argument
13044 attach_raw_tp(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_raw_tp() argument
13086 bpf_program__attach_btf_id(const struct bpf_program * prog,const struct bpf_trace_opts * opts) bpf_program__attach_btf_id() argument
13121 bpf_program__attach_trace(const struct bpf_program * prog) bpf_program__attach_trace() argument
13126 bpf_program__attach_trace_opts(const struct bpf_program * prog,const struct bpf_trace_opts * opts) bpf_program__attach_trace_opts() argument
13132 bpf_program__attach_lsm(const struct bpf_program * prog) bpf_program__attach_lsm() argument
13137 attach_trace(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_trace() argument
13143 attach_lsm(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_lsm() argument
13150 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
13184 bpf_program__attach_cgroup(const struct bpf_program * prog,int cgroup_fd) bpf_program__attach_cgroup() argument
13190 bpf_program__attach_netns(const struct bpf_program * prog,int netns_fd) bpf_program__attach_netns() argument
13196 bpf_program__attach_sockmap(const struct bpf_program * prog,int map_fd) bpf_program__attach_sockmap() argument
13201 bpf_program__attach_xdp(const struct bpf_program * prog,int ifindex) bpf_program__attach_xdp() argument
13208 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
13236 bpf_program__attach_tcx(const struct bpf_program * prog,int ifindex,const struct bpf_tcx_opts * opts) bpf_program__attach_tcx() argument
13271 bpf_program__attach_netkit(const struct bpf_program * prog,int ifindex,const struct bpf_netkit_opts * opts) bpf_program__attach_netkit() argument
13304 bpf_program__attach_freplace(const struct bpf_program * prog,int target_fd,const char * attach_func_name) bpf_program__attach_freplace() argument
13342 bpf_program__attach_iter(const struct bpf_program * prog,const struct bpf_iter_attach_opts * opts) bpf_program__attach_iter() argument
13380 attach_iter(const struct bpf_program * prog,long cookie,struct bpf_link ** link) attach_iter() argument
13386 bpf_program__attach_netfilter(const struct bpf_program * prog,const struct bpf_netfilter_opts * opts) bpf_program__attach_netfilter() argument
13426 bpf_program__attach(const struct bpf_program * prog) bpf_program__attach() argument
14123 bpf_program__set_attach_target(struct bpf_program * prog,int attach_prog_fd,const char * attach_func_name) bpf_program__set_attach_target() argument
14169 bpf_program__assoc_struct_ops(struct bpf_program * prog,struct bpf_map * map,struct bpf_prog_assoc_struct_ops_opts * opts) bpf_program__assoc_struct_ops() argument
14336 struct bpf_program **prog = prog_skel->prog; populate_skeleton_progs() local
14480 struct bpf_program *prog = *prog_skel->prog; bpf_object__attach_skeleton() local
[all...]
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Doffload.c112 struct bpf_prog *prog) in nfp_map_ptrs_record()
149 nfp_prog_prepare(struct nfp_prog *nfp_prog, const struct bpf_insn *prog, in nfp_prog_prepare()
189 static int nfp_bpf_verifier_prep(struct bpf_prog *prog) in nfp_bpf_verifier_prep()
217 static int nfp_bpf_translate(struct bpf_prog *prog) in nfp_bpf_translate()
245 static void nfp_bpf_destroy(struct bpf_prog *prog) in nfp_bpf_destroy()
483 bool nfp_bpf_offload_check_mtu(struct nfp_net *nn, struct bpf_prog *prog, in nfp_bpf_offload_check_mtu()
495 nfp_net_bpf_load(struct nfp_net *nn, struct bpf_prog *prog, in nfp_net_bpf_load()
574 int nfp_net_bpf_offload(struct nfp_net *nn, struct bpf_prog *prog, in nfp_net_bpf_offload()
/linux/include/net/
H A Dnetkit.h16 struct bpf_prog *prog) in netkit_prog_attach()
22 struct bpf_prog *prog) in netkit_link_attach()
28 struct bpf_prog *prog) in netkit_prog_detach()
/linux/drivers/net/netdevsim/
H A Dbpf.c31 struct bpf_prog *prog; member
92 static void nsim_prog_set_loaded(struct bpf_prog *prog, bool loaded) in nsim_prog_set_loaded()
104 nsim_bpf_offload(struct netdevsim *ns, struct bpf_prog *prog, bool oldprog) in nsim_bpf_offload()
122 struct bpf_prog *prog = cls_bpf->prog; in nsim_bpf_setup_tc_block_cb() local
219 struct bpf_prog *prog) in nsim_bpf_create_prog()
256 static int nsim_bpf_verifier_prep(struct bpf_prog *prog) in nsim_bpf_verifier_prep()
267 static int nsim_bpf_translate(struct bpf_prog *prog) in nsim_bpf_translate()
275 static void nsim_bpf_destroy_prog(struct bpf_prog *prog) in nsim_bpf_destroy_prog()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtailcalls.c20 struct bpf_program *prog; test_tailcall_1() local
156 struct bpf_program *prog; test_tailcall_2() local
235 struct bpf_program *prog; test_tailcall_count() local
416 struct bpf_program *prog; test_tailcall_4() local
506 struct bpf_program *prog; test_tailcall_5() local
596 struct bpf_program *prog; test_tailcall_bpf2bpf_1() local
680 struct bpf_program *prog; test_tailcall_bpf2bpf_2() local
760 struct bpf_program *prog; test_tailcall_bpf2bpf_3() local
855 struct bpf_program *prog; test_tailcall_bpf2bpf_4() local
1019 struct bpf_program *prog; test_tailcall_bpf2bpf_fentry_entry() local
1201 struct bpf_program *prog, *fentry_prog; test_tailcall_hierarchy_count() local
[all...]
H A Dcustom_sec_handlers.c13 static int custom_setup_prog(struct bpf_program *prog, long cookie) in custom_setup_prog()
21 static int custom_prepare_load_prog(struct bpf_program *prog, in custom_prepare_load_prog()
32 static int custom_attach_prog(const struct bpf_program *prog, long cookie, in custom_attach_prog()
H A Drecursive_attach.c40 struct bpf_program *prog; in test_recursive_fentry_chain() local
117 struct bpf_program *prog; in test_fentry_attach_btf_presence() local
174 struct bpf_program *prog; in test_fentry_attach_stress() local
H A Dcheck_mtu.c44 struct bpf_program *prog; in test_check_mtu_xdp_attach() local
79 struct bpf_program *prog, in test_check_mtu_run_xdp() argument
132 struct bpf_program *prog, in test_check_mtu_run_tc() argument
[all...]
/linux/net/netfilter/
H A Dnf_bpf_link.c14 const struct bpf_prog *prog = bpf_prog; in nf_hook_run_bpf() local
210 int bpf_nf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_nf_link_attach()
293 const struct bpf_prog *prog, in nf_is_valid_access()
324 bpf_nf_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in bpf_nf_func_proto()
/linux/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c416 struct sock_fprog prog = { TEST() local
450 struct sock_fprog prog = { }; TEST() local
487 struct sock_fprog prog = { }; TEST() local
524 struct sock_fprog prog = { TEST() local
547 struct sock_fprog prog = { TEST() local
572 struct sock_fprog prog = { TEST() local
589 struct sock_fprog prog = { TEST() local
608 struct sock_fprog prog = { TEST() local
630 struct sock_fprog prog = { TEST_SIGNAL() local
652 struct sock_fprog prog = { TEST_SIGNAL() local
673 struct sock_fprog prog = { TEST_SIGNAL() local
695 struct sock_fprog prog = { TEST_SIGNAL() local
728 struct sock_fprog prog = { TEST_SIGNAL() local
767 struct sock_fprog prog = { TEST_SIGNAL() local
952 struct sock_fprog prog = { TEST() local
1069 struct sock_fprog prog; FIXTURE() local
1674 struct sock_fprog prog; FIXTURE() local
2051 struct sock_fprog prog; FIXTURE() local
2158 struct sock_fprog prog = { FIXTURE_SETUP() local
2259 struct sock_fprog prog = { TEST_F_SIGNAL() local
2282 struct sock_fprog prog = { TEST_F() local
2307 struct sock_fprog prog = { TEST_F_SIGNAL() local
2326 struct sock_fprog prog = { TEST() local
2378 struct sock_fprog prog = { TEST() local
2505 struct sock_fprog prog = { TEST() local
2535 struct sock_fprog *prog; global() member
2686 struct sock_fprog prog = { TEST_F() local
3051 struct sock_fprog prog = { TEST() local
3313 struct sock_fprog prog = { TEST() local
3370 struct sock_fprog prog = { user_notif_syscall() local
3391 struct sock_fprog prog = { TEST() local
5197 run_probed_with_filter(struct sock_fprog * prog) run_probed_with_filter() argument
5219 struct sock_fprog prog = { TEST_F() local
5236 struct sock_fprog prog = { TEST_F() local
5258 struct sock_fprog prog = { TEST_F() local
5281 struct sock_fprog prog = { TEST_F() local
[all...]
/linux/net/core/
H A Dsock_reuseport.c466 struct bpf_prog *prog; in reuseport_stop_listen_sock() local
498 struct bpf_prog *prog, struct sk_buff *skb, in run_bpf_filter()
574 struct bpf_prog *prog; in reuseport_select_sock() local
627 struct bpf_prog *prog; in reuseport_migrate_sock() local
683 int reuseport_attach_prog(struct sock *sk, struct bpf_prog *prog) in reuseport_attach_prog()
/linux/include/linux/
H A Dbpf-netns.h44 struct bpf_prog *prog) in netns_bpf_prog_attach()
56 struct bpf_prog *prog) in netns_bpf_link_create()
/linux/drivers/net/hyperv/
H A Dnetvsc_bpf.c31 struct bpf_prog *prog; in netvsc_run_xdp() local
124 int netvsc_xdp_set(struct net_device *dev, struct bpf_prog *prog, in netvsc_xdp_set()
165 int netvsc_vf_setxdp(struct net_device *vf_netdev, struct bpf_prog *prog) in netvsc_vf_setxdp()

12345678910>>...14