Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\dumpstack_32.c Create Date:2022-07-28 07:33:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:in_hardirq_stack

Proto:static bool in_hardirq_stack(unsigned long *stack, struct stack_info *info)

Type:bool

Parameter:

TypeParameterName
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 = begin + THREAD_SIZE / sizeof(long)
47  If stack < begin || stack > end Then Return false
50  type = STACK_TYPE_IRQ
51  begin = begin
52  end = end
58  next_sp = (unsigned long * ) * begin
60  Return true
Caller
NameDescribe
get_stack_info