函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:q_domain_remove() - Remove an irq domain.*@domain: domain to remove* This routine is used to remove an irq domain. The caller must ensure* that all mappings within the domain have been disposed of prior to* use, depending on the revmap type.

函数原型:void irq_domain_remove(struct irq_domain *domain)

返回类型:void

参数:

类型参数名称
struct irq_domain *domain
245  mutex_lock( & irq_domain_mutex)
246  debugfs_remove_domain_dir(domain)
248  WARN_ON(!radix_tree_empty( & revmap_tree))
250  删除链表项
255  如果此条件成立可能性小(为编译器优化)(irq_default_domain == domain)则q_set_default_host() - Set a "default" irq domain*@domain: default domain pointer* For convenience, it's possible to set a "default" domain that will be used* whenever NULL is passed to irq_create_mapping()
258  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.
260  pr_debug("Removed domain %s\n", 硬件中断对象名)
262  of_node_put(irq_domain_get_of_node(domain))
263  如果flags按位与IRQ_DOMAIN_NAME_ALLOCATED释放内存
265  释放内存
调用者
名称描述
ioapic_destroy_irqdomain