Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\workqueue.h Create Date:2022-07-28 05:35:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:to_rcu_work

Proto:static inline struct rcu_work *to_rcu_work(struct work_struct *work)

Type:struct rcu_work

Parameter:

TypeParameterName
struct work_struct *work
165  Return 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.(work, structrcu_work, work)
Caller
NameDescribe
css_free_rwork_fnss destruction is four-stage process
delete_partition_work_fn
free_ioctx_ioctx() should be RCU delayed to synchronize against the RCU* protected lookup_ioctx() and also needs process context to call* aio_free_ring(). Use rcu_work.