Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/
H A Dverifier.c199 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 Dbtf.c6392 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()
8502 const struct bpf_reg_state *reg, in btf_nested_type_is_trusted()
/openbmc/linux/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()
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 Dmain.h250 struct bpf_reg_state reg;
305 struct bpf_reg_state ptr;
326 struct bpf_reg_state arg1;
/openbmc/linux/include/linux/
H A Dbpf_verifier.h73 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 Dbpf.h944 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 Dfilter.h585 const struct bpf_reg_state *reg,
/openbmc/linux/net/bpf/
H A Dbpf_dummy_struct_ops.c175 const struct bpf_reg_state *reg, in bpf_dummy_ops_btf_struct_access()
/openbmc/linux/net/ipv4/
H A Dbpf_tcp_ca.c72 const struct bpf_reg_state *reg, in bpf_tcp_ca_btf_struct_access()
/openbmc/linux/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, ...):
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_bpf.c195 const struct bpf_reg_state *reg, in BTF_ID()
/openbmc/linux/net/core/
H A Dfilter.c8951 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()