函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pd_setup_cpumasks

函数原型:static int pd_setup_cpumasks(struct parallel_data *pd, const struct cpumask *pcpumask, const struct cpumask *cbcpumask)

返回类型:int

参数:

类型参数名称
struct parallel_data *pd
const struct cpumask *pcpumask
const struct cpumask *cbcpumask
374  err等于负ENOMEM
376  如果非分配CPU掩码则转到:out
378  如果非分配CPU掩码则转到:free_pcpu_mask
381  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
382  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
384  返回:0
386  free_pcpu_mask :
387  释放CPU掩码
388  out :
389  返回:err
调用者
名称描述
padata_alloc_pdAllocate and initialize the internal cpumask dependend resources.