Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__x2apic_send_IPI_mask

Proto:static void __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest)

Type:void

Parameter:

TypeParameterName
const struct cpumask *mask
intvector
intapic_dest
44  x2apic_wrmsr_fence()
45  local_irq_save(flags)
47  tmpmsk = this_cpu_cpumask_var_ptr(ipi_mask)
48  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
50  If apic_dest != APIC_DEST_ALLINC Then __cpumask_clear_cpu(smp_processor_id(), tmpmsk)
55  cmsk = per_cpu(cluster_masks, cpu)
57  dest = 0
58  for_each_cpu_and(clustercpu, tmpmsk, & mask)
59  dest |= per_cpu(x86_cpu_to_logical_apicid, clustercpu)
61  If Not dest Then Continue
64  __x2apic_send_IPI_dest(dest, vector, dest_logical is used by the IPI functions )
66  pumask_andnot - *dstp = *src1p & ~*src2p*@dstp: the cpumask result*@src1p: the first input*@src2p: the second input* If *@dstp is empty, returns 0, else returns 1
69  local_irq_restore(flags)
Caller
NameDescribe
x2apic_send_IPI_mask
x2apic_send_IPI_mask_allbutself