Function report |
Source Code:kernel\padata.c |
Create Date:2022-07-28 13:47:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pd_setup_cpumasks
Proto:static int pd_setup_cpumasks(struct parallel_data *pd, const struct cpumask *pcpumask, const struct cpumask *cbcpumask)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct parallel_data * | pd | |
const struct cpumask * | pcpumask | |
const struct cpumask * | cbcpumask |
376 | If Not alloc_cpumask_var( & pcpu, GFP_KERNEL) Then Go to out |
378 | If Not alloc_cpumask_var( & cbcpu, GFP_KERNEL) Then Go to free_pcpu_mask |
384 | Return 0 |
386 | free_pcpu_mask : |
387 | free_cpumask_var(pcpu) |
388 | out : |
389 | Return err |
Name | Describe |
---|---|
padata_alloc_pd | Allocate and initialize the internal cpumask dependend resources. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |