函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:racing_map_clear - Clear a tracing_map*@map: The tracing_map to clear* Resets the tracing map to a cleared or initial state

函数原型:void tracing_map_clear(struct tracing_map *map)

返回类型:void

参数:

类型参数名称
struct tracing_map *map
694  atomic_set( & next_elt, - 1)
695  atomic64_set( & hits, 0)
696  atomic64_set( & drops, 0)
698  tracing_map_array_clear(map)
700 i小于max_elts循环tracing_map_elt_clear( * (TRACING_MAP_ELT(elts, i)))
调用者
名称描述
tracing_map_initracing_map_init - Allocate and clear a map's tracing_map_elts*@map: The tracing_map to initialize* Allocates a clears a pool of tracing_map_elts equal to the* user-specified size of 2 ** map_bits (internally maintained as
hist_clear