Home
last modified time | relevance | path

Searched defs:subprog (Results 1 – 19 of 19) sorted by relevance

/linux/kernel/bpf/
H A Dcfg.c54 struct bpf_subprog_info *subprog; in mark_subprog_changes_pkt_data() local
62 struct bpf_subprog_info *subprog; in mark_subprog_might_sleep() local
70 struct bpf_subprog_info *subprog; in mark_subprog_might_throw() local
345 struct bpf_subprog_info *subprog; in create_jt() local
431 struct bpf_subprog_info *subprog; in visit_abnormal_return_insn() local
H A Dliveness.c28 u32 subprog; /* subprog index */ member
76 u32 callsite, int subprog) in call_instance()
310 struct bpf_subprog_info *subprog; in update_instance() local
407 static char *fmt_subprog(struct bpf_verifier_env *env, int subprog) in fmt_subprog()
1518 int subprog, in print_subprog_arg_access()
1613 int subprog = instance->subprog; in compute_subprog_args() local
1846 int subprog = instance->subprog; in analyze_subprog() local
H A Dfixups.c208 int start = idx + insn->imm + 1, subprog; in get_callee_stack_depth() local
1094 int i, j, subprog_start, subprog_end = 0, len, subprog; in jit_subprogs() local
1440 struct bpf_subprog_info *subprog = &env->subprog_info[i]; in bpf_fixup_call_args() local
2661 struct bpf_subprog_info *subprog = env->subprog_info; in bpf_remove_fastcall_spills_fills() local
H A Dconst_fold.c149 int subprog = bpf_find_subprog(env, idx + insn->imm + 1); in const_reg_xfer() local
H A Dverifier.c390 bool bpf_subprog_is_global(const struct bpf_verifier_env *env, int subprog) in bpf_subprog_is_global() argument
397 static bool subprog_returns_void(struct bpf_verifier_env *env, int subprog) in subprog_returns_void() argument
420 const char *bpf_subprog_name(const struct bpf_verifier_env *env, int subprog) in bpf_subprog_name() argument
431 void bpf_mark_subprog_exc_cb(struct bpf_verifier_env *env, int subprog) in bpf_mark_subprog_exc_cb() argument
440 static bool subprog_is_exc_cb(struct bpf_verifier_env *env, int subprog) in subprog_is_exc_cb() argument
2314 push_async_cb(struct bpf_verifier_env * env,int insn_idx,int prev_insn_idx,int subprog,bool is_sleepable) push_async_cb() argument
2923 struct bpf_subprog_info *subprog = env->subprog_info; add_subprogs() local
3020 struct bpf_subprog_info *subprog = env->subprog_info; check_subprogs() local
3485 struct bpf_subprog_info *subprog = &env->subprog_info[state->subprogno]; check_fastcall_stack_contract() local
4176 struct bpf_subprog_info *subprog = &env->subprog_info[state->subprogno]; check_stack_arg_write() local
4218 struct bpf_subprog_info *subprog = &env->subprog_info[state->subprogno]; check_stack_arg_read() local
5326 struct bpf_subprog_info *subprog = env->subprog_info; check_max_stack_depth_subprog() local
9634 setup_func_entry(struct bpf_verifier_env * env,int subprog,int callsite,set_callee_state_fn set_callee_state_cb,struct bpf_verifier_state * state) setup_func_entry() argument
9682 btf_check_func_arg_match(struct bpf_verifier_env * env,int subprog,const struct btf * btf,struct bpf_reg_state * regs) btf_check_func_arg_match() argument
9826 btf_check_subprog_call(struct bpf_verifier_env * env,int subprog,struct bpf_reg_state * regs) btf_check_subprog_call() argument
9855 push_callback_call(struct bpf_verifier_env * env,struct bpf_insn * insn,int insn_idx,int subprog,set_callee_state_fn set_callee_state_cb) push_callback_call() argument
9933 int err, subprog, target_insn; check_func_call() local
17840 mark_fastcall_pattern_for_call(struct bpf_verifier_env * env,struct bpf_subprog_info * subprog,int insn_idx,s16 lowest_off) mark_fastcall_pattern_for_call() argument
17932 struct bpf_subprog_info *subprog = env->subprog_info; mark_fastcall_patterns() local
19483 do_check_common(struct bpf_verifier_env * env,int subprog,bool is_sleepable) do_check_common() argument
20114 int ret = 0, subprog = -1, i; bpf_check_attach_target() local
[all...]
H A Dbacktrack.c410 int subprog_insn_idx, subprog; in backtrack_insn() local
H A Ddiagnostics.c806 const struct bpf_subprog_info *subprog; in bpf_diag_source() local
H A Dbtf.c8020 const struct btf_type *t, int subprog) in btf_validate_return_type()
8054 int btf_prepare_func_args(struct bpf_verifier_env *env, int subprog) in btf_prepare_func_args()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_static_linked2.c15 static __noinline int subprog(int x) in subprog() function
H A Dtest_static_linked1.c15 static __noinline int subprog(int x) in subprog() function
H A Depilogue_tailcall.c12 static __noinline __used int subprog(struct st_ops_args *args) in subprog() function
H A Dpro_epilogue.c17 static __noinline __used int subprog(struct st_ops_args *args) in subprog() function
H A Dstream.c334 static __noinline void subprog(void) in subprog() function
H A Dexceptions.c172 __noinline static int subprog(struct __sk_buff *ctx) in subprog() function
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcore_reloc_raw.c110 struct bpf_insn subprog[] = { in test_early_core_relo() local
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.h541 struct nfp_bpf_subprog_info *subprog; member
/linux/tools/lib/bpf/
H A Dlibbpf.c6738 static int append_subprog_relos(struct bpf_program *main_prog, struct bpf_program *subprog) in append_subprog_relos()
6767 static int save_subprog_offsets(struct bpf_program *main_prog, struct bpf_program *subprog) in save_subprog_offsets()
6787 struct bpf_program *subprog) in bpf_object__append_subprog_code()
6830 struct bpf_program *subprog; in bpf_object__reloc_code() local
7018 struct bpf_program *subprog; in bpf_object__relocate_calls() local
7129 struct bpf_program *subprog = &obj->programs[j]; in bpf_prog_assign_exc_cb() local
7555 struct bpf_program *subprog = &obj->programs[prog->exception_cb_idx]; in bpf_object__relocate() local
/linux/include/linux/
H A Dbpf_verifier.h1052 static inline struct bpf_func_info_aux *subprog_aux(struct bpf_verifier_env *env, int subprog) in subprog_aux()
1057 static inline struct bpf_subprog_info *subprog_info(struct bpf_verifier_env *env, int subprog) in subprog_info()
/linux/kernel/events/
H A Dcore.c10370 struct bpf_prog *subprog = prog->aux->func[i]; perf_event_bpf_emit_ksymbols() local