Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/bpf/
Darraymap.c191 const int map_ptr = BPF_REG_1; in array_map_gen_lookup() local
194 *insn++ = BPF_ALU64_IMM(BPF_ADD, map_ptr, offsetof(struct bpf_array, value)); in array_map_gen_lookup()
208 *insn++ = BPF_ALU64_REG(BPF_ADD, ret, map_ptr); in array_map_gen_lookup()
810 const int map_ptr = BPF_REG_1; in array_of_map_gen_lookup() local
813 *insn++ = BPF_ALU64_IMM(BPF_ADD, map_ptr, offsetof(struct bpf_array, value)); in array_of_map_gen_lookup()
825 *insn++ = BPF_ALU64_REG(BPF_ADD, ret, map_ptr); in array_of_map_gen_lookup()
Dverifier.c199 struct bpf_map *map_ptr; member
344 map_value_has_spin_lock(reg->map_ptr); in reg_may_point_to_spin_lock()
468 reg->map_ptr->key_size, in print_verifier_state()
469 reg->map_ptr->value_size); in print_verifier_state()
2132 struct bpf_map *map = regs[regno].map_ptr; in check_map_access_type()
2155 struct bpf_map *map = regs[regno].map_ptr; in __check_map_access()
2219 if (map_value_has_spin_lock(reg->map_ptr)) { in check_map_access()
2220 u32 lock = reg->map_ptr->spin_lock_off; in check_map_access()
3136 struct bpf_map *map = reg->map_ptr; in process_spin_lock()
3339 meta->map_ptr = reg->map_ptr; in check_func_arg()
[all …]
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/bpf/
Dfw.h120 __be64 map_ptr; member
Dverifier.c99 offmap = map_to_offmap(reg1->map_ptr); in nfp_bpf_map_update_value_ok()
433 offmap = map_to_offmap(reg->map_ptr); in nfp_bpf_map_mark_used()
Doffload.c454 map_id_full = be64_to_cpu(cbe->map_ptr); in nfp_bpf_event_output()
/Linux-v5.4/include/linux/
Dbpf_verifier.h53 struct bpf_map *map_ptr; member
/Linux-v5.4/drivers/gpu/drm/
Ddrm_bufs.c379 enum drm_map_flags flags, struct drm_local_map **map_ptr) in drm_legacy_addmap() argument
386 *map_ptr = list->map; in drm_legacy_addmap()
/Linux-v5.4/Documentation/networking/
Dfilter.txt1435 R0=map_ptr R10=fp
1459 R0=map_ptr R10=fp