函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ss kill confirmation processing requires process context, bounce

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

返回类型:void

参数:

类型参数名称
struct percpu_ref *ref
5372  css等于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_subsys_state, refcnt)
5375  如果atomic_dec_and_test( & Incremented by online self and children. Used to guarantee that* parents are not offlined before their children.)则
5376  INIT_WORK( & percpu_ref killing and RCU release , This is called when the refcnt of a css is confirmed to be killed.* css_tryget_online() is now guaranteed to fail. Tell the subsystem to* initate destruction and put the css ref from kill_css().)
5377  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