函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:synchronize_irq - wait for pending IRQ handlers (on other CPUs)*@irq: interrupt number to wait for* This function waits for any pending IRQ handlers for this interrupt* to complete before returning. If you use this function while

函数原型:void synchronize_irq(unsigned int irq)

返回类型:void

参数:

类型参数名称
unsigned intirq
128  desc等于中断转换为描述
130  如果desc
131  __synchronize_hardirq(desc, true)
137  wait_event - sleep until a condition gets true*@wq_head: the waitqueue to wait on*@condition: a C expression for the event to wait for* The process is put to sleep (TASK_UNINTERRUPTIBLE) until the*@condition evaluates to true(等待所有线程完成, !atomic_read( & threads_active))
调用者
名称描述
disable_irq禁止中断等待直到完成
irq_domain_disassociate
suspend_device_irqssuspend_device_irqs - disable all currently enabled interrupt lines* During system-wide suspend or hibernation device drivers need to be* prevented from receiving interrupts and this function is provided* for this purpose