Home
last modified time | relevance | path

Searched refs:bpf_reg_state (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/include/linux/
A Dbpf_verifier.h62 struct bpf_reg_state { struct
187 struct bpf_reg_state *parent; argument
221 struct bpf_reg_state spilled_ptr; argument
251 struct bpf_reg_state regs[MAX_BPF_REG];
379 struct bpf_reg_state *___regs; \
597 static inline struct bpf_reg_state *cur_regs(struct bpf_verifier_env *env) in cur_regs()
613 const struct bpf_reg_state *reg, int regno);
615 const struct bpf_reg_state *reg, int regno,
617 int check_mem_reg(struct bpf_verifier_env *env, struct bpf_reg_state *reg,
A Dbpf.h859 struct bpf_reg_state;
881 const struct bpf_reg_state *reg,
2203 const struct bpf_reg_state *reg,
2217 struct bpf_reg_state;
2219 struct bpf_reg_state *regs);
2221 struct bpf_reg_state *regs);
2223 struct bpf_reg_state *reg);
2243 const struct bpf_reg_state *reg,
2452 const struct bpf_reg_state *reg, in btf_struct_access()
A Dfilter.h573 const struct bpf_reg_state *reg,
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/bpf/
A Dverifier.c50 const struct bpf_reg_state *reg2) in nfp_record_adjust_head()
85 const struct bpf_reg_state *reg1 = cur_regs(env) + BPF_REG_1; in nfp_bpf_map_update_value_ok()
86 const struct bpf_reg_state *reg3 = cur_regs(env) + BPF_REG_3; in nfp_bpf_map_update_value_ok()
125 const struct bpf_reg_state *reg, in nfp_bpf_stack_arg_ok()
159 u32 helper_tgt, const struct bpf_reg_state *reg1) in nfp_bpf_map_call_ok()
174 const struct bpf_reg_state *reg1 = cur_regs(env) + BPF_REG_1; in nfp_bpf_check_helper_call()
345 const struct bpf_reg_state *reg, in nfp_bpf_check_stack_access()
418 const struct bpf_reg_state *reg, in nfp_bpf_map_mark_used()
454 const struct bpf_reg_state *reg = cur_regs(env) + reg_no; in nfp_bpf_check_ptr()
559 const struct bpf_reg_state *sreg = in nfp_bpf_check_alu()
[all …]
A Dmain.h250 struct bpf_reg_state reg;
305 struct bpf_reg_state ptr;
326 struct bpf_reg_state arg1;
/linux-6.3-rc2/kernel/bpf/
A Dverifier.c902 struct bpf_reg_state *dreg; in destroy_if_dynptr_stack_slot()
3042 struct bpf_reg_state *reg; in mark_all_scalars_precise()
3075 struct bpf_reg_state *reg; in mark_all_scalars_imprecise()
3191 struct bpf_reg_state *reg; in __mark_chain_precision()
3791 struct bpf_reg_state *reg; in check_stack_read_fixed_off()
4049 struct bpf_reg_state *reg; in __check_mem_access()
7362 struct bpf_reg_state *reg; in clear_all_pkt_pointers()
7403 struct bpf_reg_state *reg; in release_reference()
7425 struct bpf_reg_state *reg; in invalidate_non_owning_refs()
7847 struct bpf_reg_state *r0; in prepare_func_exit()
[all …]
A Dbtf.c6393 const struct bpf_reg_state *reg, in btf_struct_access()
6769 struct bpf_reg_state *regs, in btf_check_func_arg_match()
6811 struct bpf_reg_state *reg = &regs[regno]; in btf_check_func_arg_match()
6877 struct bpf_reg_state *regs) in btf_check_subprog_arg_match()
6920 struct bpf_reg_state *regs) in btf_check_subprog_call()
6958 struct bpf_reg_state *regs) in btf_prepare_func_args()
7029 struct bpf_reg_state *reg = &regs[i + 1]; in btf_prepare_func_args()
8338 const struct bpf_reg_state *reg, in btf_nested_type_is_trusted()
/linux-6.3-rc2/net/bpf/
A Dbpf_dummy_struct_ops.c175 const struct bpf_reg_state *reg, in bpf_dummy_ops_btf_struct_access()
/linux-6.3-rc2/net/ipv4/
A Dbpf_tcp_ca.c74 const struct bpf_reg_state *reg, in bpf_tcp_ca_btf_struct_access()
/linux-6.3-rc2/Documentation/bpf/
A Dverifier.rst115 This is done with ``struct bpf_reg_state``, defined in include/linux/
364 struct bpf_reg_state {
366 struct bpf_reg_state *parent;
373 struct bpf_reg_state spilled_ptr;
378 struct bpf_reg_state regs[MAX_BPF_REG];
491 mark_reg_read(struct bpf_reg_state *state, ...):
/linux-6.3-rc2/net/netfilter/
A Dnf_conntrack_bpf.c194 const struct bpf_reg_state *reg, in BTF_ID()
/linux-6.3-rc2/net/core/
A Dfilter.c8729 const struct bpf_reg_state *reg,
8735 const struct bpf_reg_state *reg, in tc_cls_act_btf_struct_access()
8812 const struct bpf_reg_state *reg, in xdp_btf_struct_access()

Completed in 87 milliseconds