函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:释放内存分配

函数原型:void lc_destroy(struct lru_cache *lc)

返回类型:void

参数:

类型参数名称
struct lru_cache *lc
177  如果非lc则返回
179 i小于 number of elements (indices) 循环lc_free_by_index(lc, i)
181  kfree(lc_element)
182  kfree( nr_elements there )
183  kfree(lc)