Function report |
Source Code:kernel\padata.c |
Create Date:2022-07-28 13:47:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:padata_set_cpumask: Sets specified by @cpumask_type cpumask to the value* equivalent to @cpumask
Proto:int padata_set_cpumask(struct padata_instance *pinst, int cpumask_type, cpumask_var_t cpumask)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct padata_instance * | pinst | |
| int | cpumask_type | |
| cpumask_var_t | cpumask |
| 646 | mutex_lock( & lock) |
| 647 | get_online_cpus() |
| 650 | Case cpumask_type == PADATA_CPU_PARALLEL |
| 654 | Case cpumask_type == PADATA_CPU_SERIAL |
| 658 | Default |
| 659 | Go to out |
| 664 | out : |
| 665 | put_online_cpus() |
| 668 | Return err |
| Name | Describe |
|---|---|
| store_cpumask |
| 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 |