Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\bpf.h Create Date:2022-07-28 05:54:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:map_value_has_spin_lock

Proto:static inline bool map_value_has_spin_lock(const struct bpf_map *map)

Type:bool

Parameter:

TypeParameterName
const struct bpf_map *map
125  Return >=0 valid offset, <0 error >= 0
Caller
NameDescribe
bpf_map_mmap
map_check_btf
map_lookup_elem
map_update_elem
reg_may_point_to_spin_lock
check_map_accessheck read/write into a map element with possible variable offset
process_spin_lockImplementation details:* bpf_map_lookup returns PTR_TO_MAP_VALUE_OR_NULL* Two bpf_map_lookups (even with the same key) will have different reg->id
check_helper_call
check_ld_immverify BPF_LD_IMM64 instruction
check_map_prog_compatibility
htab_map_update_elemCalled from syscall or from eBPF program
array_map_update_elemCalled from syscall or from eBPF program
bpf_map_meta_alloc
cgroup_storage_update_elem