函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:prealloc_destroy

函数原型:static void prealloc_destroy(struct bpf_htab *htab)

返回类型:void

参数:

类型参数名称
struct bpf_htab *htab
194  htab_free_elems(htab)
196  如果htab_is_lru(htab)则bpf_lru_destroy( & lru)
198  否则pcpu_freelist_destroy( & freelist)
调用者
名称描述
htab_map_alloc
htab_map_freeCalled when map->refcnt goes to zero, either from workqueue or from syscall