Searched refs:bpf_reg_state (Results 1 – 16 of 16) sorted by relevance
/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | verifier.c | 50 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() 175 const struct bpf_reg_state *reg2 = cur_regs(env) + BPF_REG_2; in nfp_bpf_check_helper_call() 176 const struct bpf_reg_state *reg3 = cur_regs(env) + BPF_REG_3; in nfp_bpf_check_helper_call() 314 const struct bpf_reg_state *reg0 = cur_regs(env) + BPF_REG_0; in nfp_bpf_check_exit() 345 const struct bpf_reg_state *reg, in nfp_bpf_check_stack_access() [all …]
|
H A D | main.h | 250 struct bpf_reg_state reg; 305 struct bpf_reg_state ptr; 326 struct bpf_reg_state arg1;
|
/linux/kernel/bpf/ |
H A D | verifier.c | 205 struct bpf_reg_state *reg); 208 static bool is_trusted_reg(const struct bpf_reg_state *reg); 372 struct bpf_reg_state *reg, in verbose_invalid_scalar() 392 static bool reg_not_null(const struct bpf_reg_state *reg) in reg_not_null() 410 static struct btf_record *reg_btf_record(const struct bpf_reg_state *reg) in reg_btf_record() 457 static bool reg_may_point_to_spin_lock(const struct bpf_reg_state *reg) in reg_may_point_to_spin_lock() 588 const struct bpf_reg_state *reg) in func() 609 static int stack_slot_obj_get_spi(struct bpf_verifier_env *env, struct bpf_reg_state *reg, in stack_slot_obj_get_spi() 636 static int dynptr_get_spi(struct bpf_verifier_env *env, struct bpf_reg_state *reg) in dynptr_get_spi() 641 static int iter_get_spi(struct bpf_verifier_env *env, struct bpf_reg_state *reg, int nr_slots) in iter_get_spi() [all …]
|
H A D | log.c | 600 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 D | btf.c | 7050 const struct bpf_reg_state *reg, in btf_struct_access() 9177 const struct bpf_reg_state *reg, in btf_nested_type_is_trusted()
|
/linux/include/linux/ |
H A D | bpf_verifier.h | 59 struct bpf_reg_state { struct 208 struct bpf_reg_state *parent; argument 249 struct bpf_reg_state spilled_ptr; 285 struct bpf_reg_state regs[MAX_BPF_REG]; 479 struct bpf_reg_state *___regs; \ 780 struct bpf_reg_state fake_reg[2]; 821 static inline struct bpf_reg_state *cur_regs(struct bpf_verifier_env *env) in cur_regs()
|
H A D | bpf.h | 998 struct bpf_reg_state; 1022 const struct bpf_reg_state *reg, 2676 const struct bpf_reg_state *reg, 2690 struct bpf_reg_state; 2719 const struct bpf_reg_state *reg, 2963 const struct bpf_reg_state *reg, in btf_struct_access()
|
H A D | filter.h | 672 const struct bpf_reg_state *reg,
|
/linux/drivers/hid/bpf/ |
H A D | hid_bpf_struct_ops.c | 66 const struct bpf_reg_state *reg, in hid_bpf_ops_btf_struct_access()
|
/linux/Documentation/bpf/ |
H A D | verifier.rst | 115 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/net/bpf/ |
H A D | bpf_dummy_struct_ops.c | 236 const struct bpf_reg_state *reg, in bpf_dummy_ops_btf_struct_access()
|
/linux/net/ipv4/ |
H A D | bpf_tcp_ca.c | 62 const struct bpf_reg_state *reg, in bpf_tcp_ca_btf_struct_access()
|
/linux/net/netfilter/ |
H A D | nf_conntrack_bpf.c | 237 const struct bpf_reg_state *reg, in BTF_ID()
|
/linux/tools/testing/selftests/bpf/test_kmods/ |
H A D | bpf_testmod.c | 1350 const struct bpf_reg_state *reg, in st_ops_btf_struct_access()
|
/linux/net/core/ |
H A D | filter.c | 9006 const struct bpf_reg_state *reg, 9011 const struct bpf_reg_state *reg, in tc_cls_act_btf_struct_access() 9093 const struct bpf_reg_state *reg, in xdp_btf_struct_access()
|
/linux/kernel/sched/ |
H A D | ext.c | 5894 const struct bpf_reg_state *reg, int off, in bpf_scx_btf_struct_access()
|