函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\arraymap.c Create Date:2022-07-27 14:26:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bpf_array_free_percpu

函数原型:static void bpf_array_free_percpu(struct bpf_array *array)

返回类型:void

参数:

类型参数名称
struct bpf_array *array
23 i小于max_entries循环
24  释放内存
25  cond_resched()
调用者
名称描述
bpf_array_alloc_percpu
array_map_freeCalled when map->refcnt goes to zero, either from workqueue or from syscall