函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:in_hardirq_stack

函数原型:static bool in_hardirq_stack(unsigned long *stack, struct stack_info *info)

返回类型:bool

参数:

类型参数名称
unsigned long *stack
struct stack_info *info
40  begin等于Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(hardirq_stack_ptr)
41  end等于beginTHREAD_SIZEsizeof(long)
47  如果stack小于beginstack大于end则返回:false
50  type等于STACK_TYPE_IRQ
51  begin等于begin
52  end等于end
58  next_sp = (unsigned long * ) * begin
60  返回:true
调用者
名称描述
get_stack_info