函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\syscall.c Create Date:2022-07-27 14:04:51
Last Modify:2022-05-19 18:06:12 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:map_idr_lock should have been held

函数原型:static struct bpf_map *__bpf_map_inc_not_zero(struct bpf_map *map, bool uref)

返回类型:struct bpf_map

参数:

类型参数名称
struct bpf_map *map
booluref
774  refold等于atomic64_fetch_add_unless - add unless the number is already a given value*@v: pointer of type atomic64_t*@a: the amount to add to v
775  如果非refold则返回:错误号
777  如果urefatomic64_inc( & usercnt)
780  返回:map
调用者
名称描述
bpf_map_inc_not_zero
bpf_map_get_fd_by_id