Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:void irq_domain_remove(struct irq_domain *domain)

Type:void

Parameter:

TypeParameterName
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  deletes entry from list
255  If Value for the false possibility is greater at compile time(irq_default_domain == domain) Then 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", name)
262  of_node_put(irq_domain_get_of_node(domain))
263  If host per irq_domain flags & IRQ_DOMAIN_NAME_ALLOCATED Then kfree - free previously allocated memory*@objp: pointer returned by kmalloc.* If @objp is NULL, no operation is performed.* Don't free memory not originally allocated by kmalloc()* or you will run into trouble.
265  kfree - free previously allocated memory*@objp: pointer returned by kmalloc.* If @objp is NULL, no operation is performed.* Don't free memory not originally allocated by kmalloc()* or you will run into trouble.
Caller
NameDescribe
ioapic_destroy_irqdomain