函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\bpf.h Create Date:2022-07-27 06:53:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:map_value_has_spin_lock

函数原型:static inline bool map_value_has_spin_lock(const struct bpf_map *map)

返回类型:bool

参数:

类型参数名称
const struct bpf_map *map
125  返回: >=0 valid offset, <0 error 大于等于0
调用者
名称描述
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
check_and_init_map_lock
copy_map_valuepy everything but bpf_spin_lock