函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\x2apic_cluster.c Create Date:2022-07-27 09:34:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__x2apic_send_IPI_mask

函数原型:static void __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest)

返回类型:void

参数:

类型参数名称
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  如果apic_dest不等于APIC_DEST_ALLINC__cpumask_clear_cpu(当前cpu ID(), tmpmsk)
55  cmsk等于per_cpu(cluster_masks, cpu)
57  dest等于0
58  遍历CPU(clustercpu, tmpmsk, & mask)
59  dest或等于per_cpu(x86_cpu_to_logical_apicid, clustercpu)
61  如果非dest则继续下一循环
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)
调用者
名称描述
x2apic_send_IPI_mask
x2apic_send_IPI_mask_allbutself