Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\cpumap.c Create Date:2022-07-28 13:23:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:put_cpu_map_entry

Proto:static void put_cpu_map_entry(struct bpf_cpu_map_entry *rcpu)

Type:void

Parameter:

TypeParameterName
struct bpf_cpu_map_entry *rcpu
238  If atomic_dec_and_test( & Control when this struct can be free'ed ) Then
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)
Caller
NameDescribe
cpu_map_kthread_run
__cpu_map_entry_free