函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Interrupts which are not explicitly requested as threaded* interrupts rely on the implicit bh/preempt disable of the hard irq* context. So we need to disable bh here to avoid deadlocks and other* side effects.

函数原型:static irqreturn_t irq_forced_thread_fn(struct irq_desc *desc, struct irqaction *action)

返回类型:irqreturn_t

参数:

类型参数名称
struct irq_desc *desc
struct irqaction *action
984  local_bh_disable()
985  ret等于线程中断处理器(中断号, 设备标识)
986  如果ret恒等于中断被处理atomic_inc( & 线程延迟检查)
989  Oneshot interrupts keep the irq line masked until the threaded* handler finished. unmask if the interrupt has not been disabled and* is marked MASKED.
990  local_bh_enable()
991  返回:ret