函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\hashtab.c Create Date:2022-07-27 14:24:47
Last Modify:2022-05-23 09:15:29 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:htab_is_prealloc

函数原型:static bool htab_is_prealloc(const struct bpf_htab *htab)

返回类型:bool

参数:

类型参数名称
const struct bpf_htab *htab
76  返回:非map_flags按位与lags for BPF_MAP_CREATE command 的值
调用者
名称描述
free_htab_elem
alloc_htab_elem
htab_map_update_elemCalled from syscall or from eBPF program
htab_map_freeCalled when map->refcnt goes to zero, either from workqueue or from syscall