函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:execute_on_irq_stack

函数原型:static inline int execute_on_irq_stack(int overflow, struct irq_desc *desc)

返回类型:int

参数:

类型参数名称
intoverflow
struct irq_desc *desc
78  curstk等于current_stack()
79  irqstk等于Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(hardirq_stack_ptr)
87  如果此条件成立可能性小(为编译器优化)(curstk == irqstk)则返回:0
90  isp等于irqstkirqstk的长度
93  prev_esp等于irqstk
94  prev_esp等于asm(_ASM_SP);wss
96  如果此条件成立可能性小(为编译器优化)(overflow)则call_on_stack(print_stack_overflow, isp)
99  asm volatile
106  返回:1
调用者
名称描述
handle_irq