Home
last modified time | relevance | path

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

/kernel/bpf/
Dverifier.c249 struct bpf_map *map_ptr; member
457 map_value_has_spin_lock(reg->map_ptr); in reg_may_point_to_spin_lock()
897 reg->map_ptr->key_size, in print_verifier_state()
898 reg->map_ptr->value_size); in print_verifier_state()
1409 const struct bpf_map *map = reg->map_ptr; in mark_ptr_not_null_reg()
1413 reg->map_ptr = map->inner_map_meta; in mark_ptr_not_null_reg()
3777 struct bpf_map *map = regs[regno].map_ptr; in check_map_access_type()
4060 struct bpf_map *map = reg->map_ptr; in check_map_access()
4838 struct bpf_map *map = reg->map_ptr; in check_ptr_to_map_access()
5001 reg->map_ptr->key_size, false); in check_mem_access()
[all …]
Darraymap.c211 const int map_ptr = BPF_REG_1; in array_map_gen_lookup() local
217 *insn++ = BPF_ALU64_IMM(BPF_ADD, map_ptr, offsetof(struct bpf_array, value)); in array_map_gen_lookup()
231 *insn++ = BPF_ALU64_REG(BPF_ADD, ret, map_ptr); in array_map_gen_lookup()
1315 const int map_ptr = BPF_REG_1; in array_of_map_gen_lookup() local
1318 *insn++ = BPF_ALU64_IMM(BPF_ADD, map_ptr, offsetof(struct bpf_array, value)); in array_of_map_gen_lookup()
1330 *insn++ = BPF_ALU64_REG(BPF_ADD, ret, map_ptr); in array_of_map_gen_lookup()
Dbtf.c6407 off_desc = bpf_map_kptr_off_contains(reg->map_ptr, reg->off + reg->var_off.value); in btf_check_func_arg_match()