Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\tracing_map.c Create Date:2022-07-28 12:07:12
Last Modify:2020-03-17 19:44:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:tracing_map_array_free

Proto:void tracing_map_array_free(struct tracing_map_array *a)

Type:void

Parameter:

TypeParameterName
struct tracing_map_array *a
301  If Not a Then Return
304  If Not pages Then Go to free
307  When i < n_pages cycle
308  If Not pages[i] Then Break
310  free_page((unsignedlong)pages[i])
313  kfree(pages)
315  free :
316  kfree(a)
Caller
NameDescribe
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