Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dverifier.c208 struct bpf_reg_state *reg);
209 static bool is_trusted_reg(const struct bpf_reg_state *reg);
212 static void scalar32_min_max_add(struct bpf_reg_state *dst_reg, struct bpf_reg_state *src_reg);
213 static void scalar_min_max_add(struct bpf_reg_state *dst_reg, struct bpf_reg_state *src_reg);
286 struct bpf_reg_state *reg, in verbose_invalid_scalar()
306 static bool reg_not_null(const struct bpf_reg_state *reg) in reg_not_null()
325 static struct btf_record *reg_btf_record(const struct bpf_reg_state *reg) in reg_btf_record()
395 static bool reg_may_point_to_spin_lock(const struct bpf_reg_state *reg) in reg_may_point_to_spin_lock()
530 static int stack_slot_obj_get_spi(struct bpf_verifier_env *env, struct bpf_reg_state *reg, in stack_slot_obj_get_spi()
557 static int dynptr_get_spi(struct bpf_verifier_env *env, struct bpf_reg_state *reg) in dynptr_get_spi()
[all …]
H A Dbtf.c7355 const struct bpf_reg_state *reg, in btf_struct_access()
9575 const struct bpf_reg_state *reg, in btf_nested_type_is_trusted()
/linux/include/linux/
H A Dbpf_verifier.h37 struct bpf_reg_state { struct
288 struct bpf_reg_state spilled_ptr;
328 struct bpf_reg_state regs[MAX_BPF_REG];
516 struct bpf_reg_state *___regs; \
910 struct bpf_reg_state fake_reg[1];
912 struct bpf_reg_state true_reg1, true_reg2, false_reg1, false_reg2;
1032 static inline struct bpf_reg_state *cur_regs(struct bpf_verifier_env *env) in cur_regs()
1093 struct bpf_reg_state *reg);
1094 void bpf_mark_reg_unknown_imprecise(struct bpf_reg_state *reg);
1108 const struct bpf_reg_state *reg) in bpf_func()
[all …]
H A Dbpf.h1097 struct bpf_reg_state;
1121 const struct bpf_reg_state *reg,
3012 const struct bpf_reg_state *reg,
3026 struct bpf_reg_state;
3055 const struct bpf_reg_state *reg,
3307 const struct bpf_reg_state *reg, in btf_struct_access()
H A Dfilter.h691 const struct bpf_reg_state *reg,
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.h250 struct bpf_reg_state reg;
305 struct bpf_reg_state ptr;
326 struct bpf_reg_state arg1;
/linux/net/sched/
H A Dbpf_qdisc.c55 const struct bpf_reg_state *reg, in bpf_qdisc_qdisc_access()
76 const struct bpf_reg_state *reg, in bpf_qdisc_sk_buff_access()
97 const struct bpf_reg_state *reg, in bpf_qdisc_btf_struct_access()
/linux/drivers/hid/bpf/
H A Dhid_bpf_struct_ops.c66 const struct bpf_reg_state *reg, in hid_bpf_ops_btf_struct_access()
/linux/net/bpf/
H A Dbpf_dummy_struct_ops.c237 const struct bpf_reg_state *reg, in bpf_dummy_ops_btf_struct_access()
/linux/net/ipv4/
H A Dbpf_tcp_ca.c62 const struct bpf_reg_state *reg, in bpf_tcp_ca_btf_struct_access()
/linux/tools/testing/selftests/bpf/test_kmods/
H A Dbpf_testmod.c1693 const struct bpf_reg_state *reg,
/linux/net/core/
H A Dfilter.c9236 const struct bpf_reg_state *reg,
9241 const struct bpf_reg_state *reg, in tc_cls_act_btf_struct_access()
9323 const struct bpf_reg_state *reg, in xdp_btf_struct_access()