函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:扫描中断线图

函数原型:unsigned int probe_irq_mask(unsigned long val)

返回类型:unsigned int

参数:

类型参数名称
unsigned longval
119  mask等于0
123  for_each_irq_desc(i, desc)
124  关闭本地中断,获取所要保护的运行队列(runqueue)的自旋锁(spinlock),为查找可运行进程做准备。( & 自旋锁)
125  如果istate按位与IRQS_AUTODETECT
126  如果i小于16且非istate按位与IRQS_WAITING的值则mask或等于1左移i
129  istate与等于IRQS_AUTODETECT的反
132  raw_spin_unlock_irq( & 自旋锁)
134  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
136  返回:mask按位与val