Searched refs:bpf_reg_state (Results 1 – 12 of 12) sorted by relevance
| /Linux-v6.6/drivers/net/ethernet/netronome/nfp/bpf/ |
| 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 …]
|
| D | main.h | 250 struct bpf_reg_state reg; 305 struct bpf_reg_state ptr; 326 struct bpf_reg_state arg1;
|
| /Linux-v6.6/include/linux/ |
| D | bpf_verifier.h | 73 struct bpf_reg_state { struct 212 struct bpf_reg_state *parent; argument 252 struct bpf_reg_state spilled_ptr; 282 struct bpf_reg_state regs[MAX_BPF_REG]; 405 struct bpf_reg_state *___regs; \ 663 static inline struct bpf_reg_state *cur_regs(struct bpf_verifier_env *env) in cur_regs() 679 const struct bpf_reg_state *reg, int regno); 681 const struct bpf_reg_state *reg, int regno, 683 int check_mem_reg(struct bpf_verifier_env *env, struct bpf_reg_state *reg,
|
| D | bpf.h | 917 struct bpf_reg_state; 939 const struct bpf_reg_state *reg, 2390 const struct bpf_reg_state *reg, 2404 struct bpf_reg_state; 2406 struct bpf_reg_state *regs); 2408 struct bpf_reg_state *regs); 2410 struct bpf_reg_state *reg); 2433 const struct bpf_reg_state *reg, 2647 const struct bpf_reg_state *reg, in btf_struct_access()
|
| D | filter.h | 582 const struct bpf_reg_state *reg,
|
| /Linux-v6.6/kernel/bpf/ |
| D | verifier.c | 199 struct bpf_reg_state *reg); 202 static bool is_trusted_reg(const struct bpf_reg_state *reg); 411 struct bpf_reg_state *reg, in verbose_invalid_scalar() 448 static bool reg_not_null(const struct bpf_reg_state *reg) in reg_not_null() 476 static struct btf_record *reg_btf_record(const struct bpf_reg_state *reg) in reg_btf_record() 498 static bool reg_may_point_to_spin_lock(const struct bpf_reg_state *reg) in reg_may_point_to_spin_lock() 674 const struct bpf_reg_state *reg) in func() 695 static int stack_slot_obj_get_spi(struct bpf_verifier_env *env, struct bpf_reg_state *reg, in stack_slot_obj_get_spi() 722 static int dynptr_get_spi(struct bpf_verifier_env *env, struct bpf_reg_state *reg) in dynptr_get_spi() 727 static int iter_get_spi(struct bpf_verifier_env *env, struct bpf_reg_state *reg, int nr_slots) in iter_get_spi() [all …]
|
| D | btf.c | 6386 const struct bpf_reg_state *reg, in btf_struct_access() 6763 struct bpf_reg_state *regs, in btf_check_func_arg_match() 6805 struct bpf_reg_state *reg = ®s[regno]; in btf_check_func_arg_match() 6871 struct bpf_reg_state *regs) in btf_check_subprog_arg_match() 6914 struct bpf_reg_state *regs) in btf_check_subprog_call() 6952 struct bpf_reg_state *regs) in btf_prepare_func_args() 7023 struct bpf_reg_state *reg = ®s[i + 1]; in btf_prepare_func_args() 8486 const struct bpf_reg_state *reg, in btf_nested_type_is_trusted()
|
| /Linux-v6.6/net/bpf/ |
| D | bpf_dummy_struct_ops.c | 175 const struct bpf_reg_state *reg, in bpf_dummy_ops_btf_struct_access()
|
| /Linux-v6.6/net/ipv4/ |
| D | bpf_tcp_ca.c | 72 const struct bpf_reg_state *reg, in bpf_tcp_ca_btf_struct_access()
|
| /Linux-v6.6/Documentation/bpf/ |
| 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-v6.6/net/netfilter/ |
| D | nf_conntrack_bpf.c | 195 const struct bpf_reg_state *reg, in BTF_ID()
|
| /Linux-v6.6/net/core/ |
| D | filter.c | 8831 const struct bpf_reg_state *reg, 8836 const struct bpf_reg_state *reg, in tc_cls_act_btf_struct_access() 8909 const struct bpf_reg_state *reg, in xdp_btf_struct_access()
|