Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:q_free_descs - free irq descriptors*@from: Start of descriptor range*@cnt: Number of consecutive irqs to free

Proto:void irq_free_descs(unsigned int from, unsigned int cnt)

Type:void

Parameter:

TypeParameterName
unsigned intfrom
unsigned intcnt
740  If from >= nr_irqs || from + cnt > nr_irqs Then Return
743  mutex_lock( & sparse_irq_lock)
744  When i < cnt cycle free_desc(from + i)
747  bitmap_clear(allocated_irqs, from, cnt)
748  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.
Caller
NameDescribe
devm_irq_desc_release
irq_sim_initq_sim_init - Initialize the interrupt simulator: allocate a range of* dummy interrupts.*@sim: The interrupt simulator object to initialize.*@num_irqs: Number of interrupts to allocate* On success: return the base of the allocated interrupt range.
irq_sim_finiq_sim_fini - Deinitialize the interrupt simulator: free the interrupt* descriptors and allocated memory.*@sim: The interrupt simulator to tear down.
irq_reserve_ipiq_reserve_ipi() - Setup an IPI to destination cpumask*@domain: IPI domain*@dest: cpumask of cpus which can receive the IPI* Allocate a virq that can be used to send IPI to any CPU in dest mask