Home
last modified time | relevance | path

Searched refs:map_ptr (Results 1 – 2 of 2) sorted by relevance

/kernel/bpf/
Dverifier.c244 struct bpf_map *map_ptr; member
445 map_value_has_spin_lock(reg->map_ptr); in reg_may_point_to_spin_lock()
667 reg->map_ptr->key_size, in print_verifier_state()
668 reg->map_ptr->value_size); in print_verifier_state()
1154 const struct bpf_map *map = reg->map_ptr; in mark_ptr_not_null_reg()
1158 reg->map_ptr = map->inner_map_meta; in mark_ptr_not_null_reg()
3348 struct bpf_map *map = regs[regno].map_ptr; in check_map_access_type()
3468 struct bpf_map *map = reg->map_ptr; in check_map_access()
4207 struct bpf_map *map = reg->map_ptr; in check_ptr_to_map_access()
4369 reg->map_ptr->key_size, false); in check_mem_access()
[all …]
Darraymap.c207 const int map_ptr = BPF_REG_1; in array_map_gen_lookup() local
213 *insn++ = BPF_ALU64_IMM(BPF_ADD, map_ptr, offsetof(struct bpf_array, value)); in array_map_gen_lookup()
227 *insn++ = BPF_ALU64_REG(BPF_ADD, ret, map_ptr); in array_map_gen_lookup()
1282 const int map_ptr = BPF_REG_1; in array_of_map_gen_lookup() local
1285 *insn++ = BPF_ALU64_IMM(BPF_ADD, map_ptr, offsetof(struct bpf_array, value)); in array_of_map_gen_lookup()
1297 *insn++ = BPF_ALU64_REG(BPF_ADD, ret, map_ptr); in array_of_map_gen_lookup()