Function report |
Source Code:kernel\sched\cpudeadline.c |
Create Date:2022-07-28 09:41:37 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pudl_init - initialize the cpudl structure*@cp: the cpudl max-heap context
Proto:int cpudl_init(struct cpudl *cp)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cpudl * | cp |
| 244 | raw_spin_lock_init( & lock) |
| 245 | size = 0 |
| 247 | elements = kcalloc - allocate memory for an array. The memory is set to zero.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
| 253 | If Not zalloc_cpumask_var( & free_cpus, GFP_KERNEL) Then |
| 255 | Return -ENOMEM |
| 258 | for_each_possible_cpu(i) |
| 261 | Return 0 |
| Name | Describe |
|---|---|
| init_rootdomain |
| 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 |