函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:workqueue_apply_unbound_cpumask

函数原型:static int workqueue_apply_unbound_cpumask(void)

返回类型:int

参数:

5251  LIST_HEAD(ctxs)
5252  ret等于0
5256  lockdep_assert_held( & wq_pool_mutex)
5259  如果非hot fields used during command issue, aligned to cacheline 按位与WQ_UNBOUND的值则继续下一循环
5262  如果hot fields used during command issue, aligned to cacheline 按位与__WQ_ORDERED则继续下一循环
5265  ctx等于allocate the attrs and pwqs for later installation
5266  如果非ctx
5267  ret等于负ENOMEM
5268  退出
5271  添加链表项
5275  如果非retset attrs and install prepared pwqs, @ctx points to old pwqs on return
5277  the resources after success or abort
5280  返回:ret
调用者
名称描述
workqueue_set_unbound_cpumaskworkqueue_set_unbound_cpumask - Set the low-level unbound cpumask*@cpumask: the cpumask to set* The low-level workqueues cpumask is a global cpumask that limits* the affinity of all unbound workqueues. This function check the @cpumask