函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:q_percpu_is_enabled - Check whether the per cpu irq is enabled*@irq: Linux irq number to check for* Must be called from a non migratable context. Returns the enable* state of a per cpu interrupt on the current cpu.

函数原型:bool irq_percpu_is_enabled(unsigned int irq)

返回类型:bool

参数:

类型参数名称
unsigned intirq
2230  cpu等于当前cpu ID()
2235  desc等于irq_get_desc_lock(irq, & flags, IRQ_GET_DESC_CHECK_PERCPU)
2236  如果非desc则返回:false
2239  is_enabled等于测试CPU信息
2240  irq_put_desc_unlock(desc, flags)
2242  返回:is_enabled