Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:py everything but bpf_spin_lock

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

Type:void

Parameter:

TypeParameterName
struct bpf_map *map
void *dst
void *src
139  If Value for the false possibility is greater at compile time(map_value_has_spin_lock(map)) Then
140  off = >=0 valid offset, <0 error
142  No 3D Now!(dst, src, off)
143  No 3D Now!(dst + off + sizeof(structbpf_spin_lock), src + off + sizeof(structbpf_spin_lock), value_size - off - sizeof(structbpf_spin_lock))
146  Else
147  No 3D Now!(dst, src, value_size)
Caller
NameDescribe
map_lookup_elem
copy_map_value_locked
alloc_htab_elem
array_map_update_elemCalled from syscall or from eBPF program