函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:int apply_workqueue_attrs(struct workqueue_struct *wq, const struct workqueue_attrs *attrs)

返回类型:int

参数:

类型参数名称
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  返回:ret
调用者
名称描述
alloc_and_link_pwqs
padata_setup_cpumasks