函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:put_cpu_map_entry

函数原型:static void put_cpu_map_entry(struct bpf_cpu_map_entry *rcpu)

返回类型:void

参数:

类型参数名称
struct bpf_cpu_map_entry *rcpu
238  如果atomic_dec_and_test( & Control when this struct can be free'ed )则
240  __cpu_map_ring_cleanup( Queue with potential multi-producers, and single-consumer kthread )
241  ptr_ring_cleanup( Queue with potential multi-producers, and single-consumer kthread , NULL)
242  kfree( Queue with potential multi-producers, and single-consumer kthread )
243  kfree(rcpu)
调用者
名称描述
cpu_map_kthread_run
__cpu_map_entry_free