函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\tracing_map.c Create Date:2022-07-27 13:13:49
Last Modify:2020-03-17 19:44:05 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:tracing_map_array_free

函数原型:void tracing_map_array_free(struct tracing_map_array *a)

返回类型:void

参数:

类型参数名称
struct tracing_map_array *a
301  如果非a则返回
304  如果非pages则转到:free
307 i小于n_pages循环
308  如果非pages[i]则退出
310  free_page((unsignedlong)pages[i])
313  kfree(pages)
315  free :
316  kfree(a)
调用者
名称描述
tracing_map_array_alloc
tracing_map_free_elts
tracing_map_destroyracing_map_destroy - Destroy a tracing_map*@map: The tracing_map to destroy* Frees a tracing_map along with its associated array of* tracing_map_elts.* Callers should make sure there are no readers or writers actively