Home
last modified time | relevance | path

Searched refs:cur_regs (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/bpf/
Dverifier.c85 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()
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()
261 reg1 = cur_regs(env) + BPF_REG_4; in nfp_bpf_check_helper_call()
314 const struct bpf_reg_state *reg0 = cur_regs(env) + BPF_REG_0; in nfp_bpf_check_exit()
454 const struct bpf_reg_state *reg = cur_regs(env) + reg_no; in nfp_bpf_check_ptr()
505 const struct bpf_reg_state *reg = cur_regs(env) + meta->insn.dst_reg; in nfp_bpf_check_store()
529 const struct bpf_reg_state *sreg = cur_regs(env) + meta->insn.src_reg; in nfp_bpf_check_xadd()
[all …]
/Linux-v5.4/include/linux/
Dbpf_verifier.h408 static inline struct bpf_reg_state *cur_regs(struct bpf_verifier_env *env) in cur_regs() function
/Linux-v5.4/kernel/bpf/
Dverifier.c2131 struct bpf_reg_state *regs = cur_regs(env); in check_map_access_type()
2154 struct bpf_reg_state *regs = cur_regs(env); in __check_map_access()
2281 struct bpf_reg_state *regs = cur_regs(env); in __check_packet_access()
2296 struct bpf_reg_state *regs = cur_regs(env); in check_packet_access()
2378 struct bpf_reg_state *regs = cur_regs(env); in check_sock_access()
2430 return cur_regs(env) + regno; in reg_state()
2752 struct bpf_reg_state *regs = cur_regs(env); in check_mem_access()
3091 struct bpf_reg_state *regs = cur_regs(env), *reg = &regs[regno]; in check_helper_mem_access()
3133 struct bpf_reg_state *regs = cur_regs(env), *reg = &regs[regno]; in process_spin_lock()
3229 struct bpf_reg_state *regs = cur_regs(env), *reg = &regs[regno]; in check_func_arg()
[all …]