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:check_and_init_map_lock

Proto:static inline void check_and_init_map_lock(struct bpf_map *map, void *dst)

Type:void

Parameter:

TypeParameterName
struct bpf_map *map
void *dst
130  If Value is more likely to compile time(!map_value_has_spin_lock(map)) Then Return
132  * (struct bpf_spin_lock * )(dst + >=0 valid offset, <0 error ) = (struct bpf_spin_lock){}
Caller
NameDescribe
map_lookup_elem
alloc_htab_elem
cgroup_storage_update_elem
bpf_cgroup_storage_alloc