Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:htab_free_elems

Proto:static void htab_free_elems(struct bpf_htab *htab)

Type:void

Parameter:

TypeParameterName
struct bpf_htab *htab
104  If Not htab_is_percpu(htab) Then Go to free_elems
107  When i < max_entries cycle
108  __percpu * pptr
110  pptr = htab_elem_get_ptr(get_htab_elem(htab, i), key_size)
112  free previously allocated percpu memory
113  cond_resched()
115  free_elems :
116  bpf_map_area_free(elems)
Caller
NameDescribe
prealloc_init
prealloc_destroy