函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__irq_get_desc_lock

函数原型:struct irq_desc *__irq_get_desc_lock(unsigned int irq, unsigned long *flags, bool bus, unsigned int check)

返回类型:struct irq_desc

参数:

类型参数名称
unsigned intirq
unsigned long *flags
boolbus
unsigned intcheck
873  desc等于中断转换为描述
875  如果desc
876  如果check按位与_IRQ_DESC_CHECK
877  如果check按位与_IRQ_DESC_PERCPU且非irq_settings_is_per_cpu_devid(desc)则返回:NULL
881  如果非check按位与_IRQ_DESC_PERCPU的值且irq_settings_is_per_cpu_devid(desc)则返回:NULL
886  如果bus总线上锁
888  raw_spin_lock_irqsave( & 自旋锁, * flags)
890  返回:desc
调用者
名称描述
irq_get_desc_buslock
irq_get_desc_lock