Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__cpu_map_entry_free

Proto:static void __cpu_map_entry_free(struct callback_head *rcu)

Type:void

Parameter:

TypeParameterName
struct callback_head *rcu
409  rcpu = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(rcu, structbpf_cpu_map_entry, rcu)
412  for_each_online_cpu(cpu)
413  bq = per_cpu_ptr( XDP can run multiple RX-ring queues, need __percpu enqueue store , cpu)
416  bq_flush_to_queue(bq, false)
418  free previously allocated percpu memory
420  put_cpu_map_entry(rcpu)