Home
last modified time | relevance | path

Searched refs:spin_lock_off (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/kernel/bpf/
Dmap_in_map.c52 inner_map_meta->spin_lock_off = inner_map->spin_lock_off; in bpf_map_meta_alloc()
Dhelpers.c321 lock = src + map->spin_lock_off; in copy_map_value_locked()
323 lock = dst + map->spin_lock_off; in copy_map_value_locked()
Dsyscall.c779 map->spin_lock_off = btf_find_spin_lock(btf, value_type); in map_check_btf()
790 if (map->spin_lock_off + sizeof(struct bpf_spin_lock) > in map_check_btf()
794 map->spin_lock_off, map->value_size); in map_check_btf()
850 map->spin_lock_off = -EINVAL; in map_create()
Dverifier.c2919 u32 lock = map->spin_lock_off; in check_map_access()
4266 if (map->spin_lock_off == -E2BIG) in process_spin_lock()
4270 else if (map->spin_lock_off == -ENOENT) in process_spin_lock()
4280 if (map->spin_lock_off != val + reg->off) { in process_spin_lock()
/kernel/linux/linux-5.10/include/linux/
Dbpf.h156 int spin_lock_off; /* >=0 valid offset, <0 error */ member
181 return map->spin_lock_off >= 0; in map_value_has_spin_lock()
188 *(struct bpf_spin_lock *)(dst + map->spin_lock_off) = in check_and_init_map_lock()
196 u32 off = map->spin_lock_off; in copy_map_value()