函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kstat_irqs - Get the statistics for an interrupt*@irq: The interrupt number* Returns the sum of interrupt counts on all cpus since boot for*@irq. The caller must ensure that the interrupt is not removed* concurrently.

函数原型:unsigned int kstat_irqs(unsigned int irq)

返回类型:unsigned int

参数:

类型参数名称
unsigned intirq
981  desc等于中断转换为描述
982  sum等于0
985  如果非desc或非cpu中断统计则返回:0
987  如果非irq_settings_is_per_cpu_devid(desc)且非irq_settings_is_per_cpu(desc)且非irq_is_nmi(desc)则返回:tot_count
992  遍历可用CPU(cpu)
993  sum加等于per_cpu_ptr(cpu中断统计, cpu)
994  返回:sum
调用者
名称描述
kstat_irqs_usrkstat_irqs_usr - Get the statistics for an interrupt*@irq: The interrupt number* Returns the sum of interrupt counts on all cpus since boot for @irq