Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\irqdomain.c Create Date:2022-07-28 10:13:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:q_domain_check_msi_remap - Check whether all MSI irq domains implement* IRQ remapping* Return: false if any MSI irq domain does not support IRQ remapping,* true otherwise (including if there is no MSI irq domain)

Proto:bool irq_domain_check_msi_remap(void)

Type:bool

Parameter:Nothing

431  bool ret = true
433  mutex_lock( & irq_domain_mutex)
435  If irq_domain_is_msi(h) && Not irq_domain_hierarchical_is_msi_remap(h) Then
437  ret = false
438  Break
441  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.
442  Return ret