Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/netronome/nfp/bpf/
H 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 …]
H A Dmain.h250 struct bpf_reg_state reg;
305 struct bpf_reg_state ptr;
326 struct bpf_reg_state arg1;
/linux-6.15/kernel/bpf/
H A Dverifier.c882 struct bpf_reg_state *dreg; in destroy_if_dynptr_stack_slot()
1163 struct bpf_reg_state *st; in mark_stack_slot_irq_flag()
1195 struct bpf_reg_state *st; in unmark_stack_slot_irq_flag()
1271 struct bpf_reg_state *st; in is_irq_flag_reg_valid_init()
3695 struct bpf_reg_state *reg; in __check_reg_arg()
4500 struct bpf_reg_state *reg; in mark_all_scalars_precise()
4546 struct bpf_reg_state *reg; in mark_all_scalars_imprecise()
4663 struct bpf_reg_state *reg; in __mark_chain_precision()
8753 struct bpf_reg_state *rold, struct bpf_reg_state *rcur, in maybe_widen_reg()
10836 struct bpf_reg_state *r0; in prepare_func_exit()
[all …]
H A Dlog.c600 const struct bpf_reg_state *reg, in print_scalar_ranges()
683 const struct bpf_reg_state *reg) in print_reg_state()
761 const struct bpf_reg_state *reg; in print_verifier_state()
H A Dbtf.c7171 const struct bpf_reg_state *reg, in btf_struct_access()
9299 const struct bpf_reg_state *reg, in btf_nested_type_is_trusted()
/linux-6.15/include/linux/
H A Dbpf_verifier.h59 struct bpf_reg_state { struct
216 struct bpf_reg_state *parent; argument
257 struct bpf_reg_state spilled_ptr;
296 struct bpf_reg_state regs[MAX_BPF_REG];
492 struct bpf_reg_state *___regs; \
807 struct bpf_reg_state fake_reg[2];
848 static inline struct bpf_reg_state *cur_regs(struct bpf_verifier_env *env) in cur_regs()
H A Dbpf.h1024 struct bpf_reg_state;
1048 const struct bpf_reg_state *reg,
2713 const struct bpf_reg_state *reg,
2727 struct bpf_reg_state;
2756 const struct bpf_reg_state *reg,
3000 const struct bpf_reg_state *reg, in btf_struct_access()
H A Dfilter.h689 const struct bpf_reg_state *reg,
/linux-6.15/drivers/hid/bpf/
H A Dhid_bpf_struct_ops.c66 const struct bpf_reg_state *reg, in hid_bpf_ops_btf_struct_access()
/linux-6.15/net/bpf/
H A Dbpf_dummy_struct_ops.c236 const struct bpf_reg_state *reg, in bpf_dummy_ops_btf_struct_access()
/linux-6.15/net/ipv4/
H A Dbpf_tcp_ca.c62 const struct bpf_reg_state *reg, in bpf_tcp_ca_btf_struct_access()
/linux-6.15/Documentation/bpf/
H 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.15/net/netfilter/
H A Dnf_conntrack_bpf.c237 const struct bpf_reg_state *reg, in BTF_ID()
/linux-6.15/tools/testing/selftests/bpf/test_kmods/
H A Dbpf_testmod.c1451 const struct bpf_reg_state *reg, in st_ops_btf_struct_access()
/linux-6.15/net/core/
H A Dfilter.c9079 const struct bpf_reg_state *reg,
9084 const struct bpf_reg_state *reg, in tc_cls_act_btf_struct_access()
9166 const struct bpf_reg_state *reg, in xdp_btf_struct_access()
/linux-6.15/kernel/sched/
H A Dext.c5604 const struct bpf_reg_state *reg, int off, in bpf_scx_btf_struct_access()