函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\debugfs.c Create Date:2022-07-27 11:16:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:irq_debug_show

函数原型:static int irq_debug_show(struct seq_file *m, void *p)

返回类型:int

参数:

类型参数名称
struct seq_file *m
void *p
151  desc等于private
154  关闭本地中断,获取所要保护的运行队列(runqueue)的自旋锁(spinlock),为查找可运行进程做准备。( & 自旋锁)
155  data等于irq_desc_get_irq_data(desc)
156  seq_printf(m, "handler: %ps\n", 高层次的中断事件处理函数)
157  seq_printf(m, "device: %s\n", dev_name)
158  seq_printf(m, "status: 0x%08x\n", cpu访问掩码)
159  irq_debug_show_bits(m, 0, cpu访问掩码, irqdesc_states, ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(irqdesc_states))
161  seq_printf(m, "istate: 0x%08x\n", istate)
162  irq_debug_show_bits(m, 0, istate, irqdesc_istates, ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(irqdesc_istates))
164  seq_printf(m, "ddepth: %u\n", 嵌套级数)
165  seq_printf(m, "wdepth: %u\n", 唤醒嵌套级数)
166  seq_printf(m, "dstate: 0x%08x\n", irqd_get(data))
167  irq_debug_show_bits(m, 0, irqd_get(data), irqdata_states, ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(irqdata_states))
169  seq_printf(m, "node: %d\n", irq_data_get_node(data))
170  irq_debug_show_masks(m, desc)
171  irq_debug_show_data(m, data, 0)
172  raw_spin_unlock_irq( & 自旋锁)
173  返回:0