函数逻辑报告 |
Source Code:arch\x86\kernel\irq_32.c |
Create Date:2022-07-27 08:32:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Allocate per-cpu stacks for hardirq and softirq processing
函数原型:int irq_init_percpu_irqstack(unsigned int cpu)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int | cpu |
114 | node等于cpu_to_node(cpu) |
117 | 如果per_cpu(hardirq_stack_ptr, cpu)则返回:0 |
120 | ph等于Allocate pages, preferring the node given as nid. When nid == NUMA_NO_NODE,* prefer the current CPU's closest node. Otherwise node must be valid and* online. |
123 | ps等于Allocate pages, preferring the node given as nid. When nid == NUMA_NO_NODE,* prefer the current CPU's closest node. Otherwise node must be valid and* online. |
124 | 如果非ps则 |
125 | __free_pages(ph, THREAD_SIZE_ORDER) |
126 | 返回:负ENOMEM |
129 | per_cpu(hardirq_stack_ptr, cpu)等于page_address(ph) |
130 | per_cpu(softirq_stack_ptr, cpu)等于page_address(ps) |
131 | 返回:0 |
名称 | 描述 |
---|---|
init_IRQ | 体系相关中断初始化 |
common_cpu_up |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |