函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:htab_free_elems

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

返回类型:void

参数:

类型参数名称
struct bpf_htab *htab
104  如果非htab_is_percpu(htab)则转到:free_elems
107 i小于max_entries循环
108  __percpupptr
110  pptr等于htab_elem_get_ptr(get_htab_elem(htab, i), key_size)
112  释放内存
113  cond_resched()
115  free_elems :
116  bpf_map_area_free(elems)
调用者
名称描述
prealloc_init
prealloc_destroy