Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:apply_workqueue_attrs - apply new workqueue_attrs to an unbound workqueue*@wq: the target workqueue*@attrs: the workqueue_attrs to apply, allocated with alloc_workqueue_attrs()* Apply @attrs to an unbound workqueue @wq

Proto:int apply_workqueue_attrs(struct workqueue_struct *wq, const struct workqueue_attrs *attrs)

Type:int

Parameter:

TypeParameterName
struct workqueue_struct *wq
const struct workqueue_attrs *attrs
4043  lockdep_assert_cpus_held()
4045  mutex_lock( & wq_pool_mutex)
4046  ret = apply_workqueue_attrs_locked(wq, attrs)
4047  mutex_unlock( & wq_pool_mutex)
4049  Return ret
Caller
NameDescribe
alloc_and_link_pwqs
padata_setup_cpumasks