函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static void cgroup_bpf_release_fn(struct percpu_ref *ref)

返回类型:void

参数:

类型参数名称
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