Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\hashtab.c Create Date:2022-07-28 13:09:10
Last Modify:2022-05-23 09:15:29 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:prealloc_destroy

Proto:static void prealloc_destroy(struct bpf_htab *htab)

Type:void

Parameter:

TypeParameterName
struct bpf_htab *htab
194  htab_free_elems(htab)
196  If htab_is_lru(htab) Then bpf_lru_destroy( & lru)
198  Else pcpu_freelist_destroy( & freelist)
Caller
NameDescribe
htab_map_alloc
htab_map_freeCalled when map->refcnt goes to zero, either from workqueue or from syscall