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:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:apic_update_vector

Proto:static void apic_update_vector(struct irq_data *irqd, unsigned int newvec, unsigned int newcpu)

Type:void

Parameter:

TypeParameterName
struct irq_data *irqd
unsigned intnewvec
unsigned intnewcpu
134  apicd = apic_chip_data(irqd)
135  desc = irq_data_to_desc(irqd)
136  managed = irqd_affinity_is_managed(irqd)
138  lockdep_assert_held( & vector_lock)
140  trace_vector_update(irq, newvec, newcpu, vector, cpu)
149  prev_vector = 0
150  If Not vector || vector == MANAGED_IRQ_SHUTDOWN_VECTOR Then Go to setnew
160  If cpu_online(cpu) Then
161  move_in_progress = true
162  prev_vector = vector
163  prev_cpu = cpu
164  Else
165  irq_matrix_free(vector_matrix, cpu, vector, managed)
169  setnew :
170  vector = newvec
171  cpu = newcpu
172  BUG_ON(!IS_ERR_OR_NULL(per_cpu(vector_irq, newcpu)[newvec]))
173  per_cpu(vector_irq, newcpu)[newvec] = desc
Caller
NameDescribe
assign_vector_locked
assign_managed_vector