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:23
Last Modify:2020-03-17 19:44:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:tracing_map_free_elts

Proto:static void tracing_map_free_elts(struct tracing_map *map)

Type:void

Parameter:

TypeParameterName
struct tracing_map *map
468  If Not elts Then Return
471  When i < max_elts cycle
472  tracing_map_elt_free( * (TRACING_MAP_ELT(elts, i)))
473  * (TRACING_MAP_ELT(elts, i)) = NULL
476  tracing_map_array_free(elts)
477  elts = NULL
Caller
NameDescribe
tracing_map_alloc_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