函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\helpers.c Create Date:2022-07-27 14:23:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:copy_map_value_locked

函数原型:void copy_map_value_locked(struct bpf_map *map, void *dst, void *src, bool lock_src)

返回类型:void

参数:

类型参数名称
struct bpf_map *map
void *dst
void *src
boollock_src
304  如果lock_srclock等于src >=0 valid offset, <0 error
306  否则lock等于dst >=0 valid offset, <0 error
308  禁止抢占()
309  ____bpf_spin_lock(lock)
310  py everything but bpf_spin_lock
311  ____bpf_spin_unlock(lock)
312  禁用抢占和中断()
调用者
名称描述
htab_map_update_elemCalled from syscall or from eBPF program
array_map_update_elemCalled from syscall or from eBPF program
cgroup_storage_update_elem
map_lookup_elem