Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:alloc_descs

Proto:static inline int alloc_descs(unsigned int start, unsigned int cnt, int node, const struct irq_affinity_desc *affinity, struct module *owner)

Type:int

Parameter:

TypeParameterName
unsigned intstart
unsigned intcnt
intnode
const struct irq_affinity_desc *affinity
struct module *owner
603  When i < cnt cycle
604  desc = Interrupt to descriptor
606  owner = owner
608  bitmap_set(allocated_irqs, start, cnt)
609  Return start
Caller
NameDescribe
__irq_alloc_descs__irq_alloc_descs - allocate and initialize a range of irq descriptors*@irq: Allocate for specific irq number if irq >= 0*@from: Start the search from this irq number*@cnt: Number of consecutive irqs to allocate