Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:assign_managed_vector

Proto:static int assign_managed_vector(struct irq_data *irqd, const struct cpumask *dest)

Type:int

Parameter:

TypeParameterName
struct irq_data *irqd
const struct cpumask *dest
310  affmsk = irq_data_get_affinity_mask(irqd)
311  apicd = apic_chip_data(irqd)
314  pumask_and - *dstp = *src1p & *src2p*@dstp: the cpumask result*@src1p: the first input*@src2p: the second input* If *@dstp is empty, returns 0, else returns 1
317  If vector && pumask_test_cpu - test for a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@cpumask: the cpumask pointer* Returns 1 if @cpu is set in @cpumask, else returns 0 Then Return 0
319  vector = irq_matrix_alloc_managed(vector_matrix, vector_searchmask, & cpu)
321  trace_vector_alloc_managed(irq, vector, vector)
322  If vector < 0 Then Return vector
324  apic_update_vector(irqd, vector, cpu)
325  apic_update_irq_cfg(irqd, vector, cpu)
326  Return 0
Caller
NameDescribe
activate_managed