函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:int workqueue_set_unbound_cpumask(cpumask_var_t cpumask)

返回类型:int

参数:

类型参数名称
cpumask_var_tcpumask
5297  ret等于负EINVAL
5300  如果非zalloc_cpumask_var( & saved_cpumask, GFP_KERNEL)则返回:负ENOMEM
5307  pumask_and - *dstp = *src1p & *src2p*@dstp: the cpumask result*@src1p: the first input*@src2p: the second input* If *@dstp is empty, returns 0, else returns 1
5308  如果非pumask_empty - *srcp == 0*@srcp: the cpumask to that all cpus < nr_cpu_ids are clear.
5309  apply_wqattrs_lock()
5312  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
5315  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
5316  ret等于workqueue_apply_unbound_cpumask()
5319  如果ret小于0则pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
5322  apply_wqattrs_unlock()
5325  释放CPU掩码
5326  返回:ret