Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:irq_set_percpu_devid_partition

Proto:int irq_set_percpu_devid_partition(unsigned int irq, const struct cpumask *affinity)

Type:int

Parameter:

TypeParameterName
unsigned intirq
const struct cpumask *affinity
903  desc = Interrupt to descriptor
905  If Not desc Then Return -EINVAL
908  If percpu_enabled Then Return -EINVAL
911  percpu_enabled = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
913  If Not percpu_enabled Then Return -ENOMEM
916  If affinity Then percpu_affinity = affinity
918  Else percpu_affinity = cpu_possible_mask
921  irq_set_percpu_devid_flags(irq)
922  Return 0
Caller
NameDescribe
irq_set_percpu_devid