Searched refs:bpf_reg_state (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/kernel/bpf/ |
H A 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() 685 const struct bpf_reg_state *reg) in func() 706 static int stack_slot_obj_get_spi(struct bpf_verifier_env *env, struct bpf_reg_state *reg, in stack_slot_obj_get_spi() 733 static int dynptr_get_spi(struct bpf_verifier_env *env, struct bpf_reg_state *reg) in dynptr_get_spi() 738 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 | btf.c | 6392 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 = ®s[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 = ®s[i + 1]; in btf_prepare_func_args() 8502 const struct bpf_reg_state *reg, in btf_nested_type_is_trusted()
|
/openbmc/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;
|
/openbmc/linux/include/linux/ |
H A 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]; 433 struct bpf_reg_state *___regs; \ 695 static inline struct bpf_reg_state *cur_regs(struct bpf_verifier_env *env) in cur_regs() 711 const struct bpf_reg_state *reg, int regno); 713 const struct bpf_reg_state *reg, int regno, 715 int check_mem_reg(struct bpf_verifier_env *env, struct bpf_reg_state *reg,
|
H A D | bpf.h | 944 struct bpf_reg_state; 966 const struct bpf_reg_state *reg, 2433 const struct bpf_reg_state *reg, 2447 struct bpf_reg_state; 2449 struct bpf_reg_state *regs); 2451 struct bpf_reg_state *regs); 2453 struct bpf_reg_state *reg); 2476 const struct bpf_reg_state *reg, 2690 const struct bpf_reg_state *reg, in btf_struct_access()
|
H A D | filter.h | 585 const struct bpf_reg_state *reg,
|
/openbmc/linux/net/bpf/ |
H A D | bpf_dummy_struct_ops.c | 175 const struct bpf_reg_state *reg, in bpf_dummy_ops_btf_struct_access()
|
/openbmc/linux/net/ipv4/ |
H A D | bpf_tcp_ca.c | 72 const struct bpf_reg_state *reg, in bpf_tcp_ca_btf_struct_access()
|
/openbmc/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, ...):
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_bpf.c | 195 const struct bpf_reg_state *reg, in BTF_ID()
|
/openbmc/linux/net/core/ |
H A D | filter.c | 8951 const struct bpf_reg_state *reg, 8956 const struct bpf_reg_state *reg, in tc_cls_act_btf_struct_access() 9029 const struct bpf_reg_state *reg, in xdp_btf_struct_access()
|