Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:group_bpf_release_fn() - callback used to schedule releasing* of bpf cgroup data*@ref: percpu ref counter structure

Proto:static void cgroup_bpf_release_fn(struct percpu_ref *ref)

Type:void

Parameter:

TypeParameterName
struct percpu_ref *ref
82  cgrp = 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.(ref, structcgroup, refcnt)
84  INIT_WORK( & cgroup_bpf is released using a work queue , group_bpf_release() - put references of all bpf programs and* release all cgroup bpf data*@work: work structure embedded into the cgroup to modify)
85  queue_work - queue work on a workqueue*@wq: workqueue to use*@work: work to queue* Returns %false if @work was already on a queue, %true otherwise.* We queue the work to the CPU on which it was submitted, but if the CPU dies