函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\io_apic.c Create Date:2022-07-27 09:29:46
Last Modify:2020-03-16 21:24:45 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ioapic_set_affinity

函数原型:static int ioapic_set_affinity(struct irq_data *irq_data, const struct cpumask *mask, bool force)

返回类型:int

参数:

类型参数名称
struct irq_data *irq_data
const struct cpumask *mask
boolforce
1887  parent等于parent_data
1891  ret等于设置SMP环境CPU关系(parent, mask, force)
1892  raw_spin_lock_irqsave( & ioapic_lock, flags)
1893  如果ret大于等于0且ret不等于IRQ_SET_MASK_OK_DONEioapic_configure_entry(irq_data)
1895  raw_spin_unlock_irqrestore( & ioapic_lock, flags)
1897  返回:ret