函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ioapic_setup_resources

函数原型:static struct resource *__init ioapic_setup_resources(void)

返回类型:struct resource

参数:

2636  如果nr_ioapics恒等于0则返回:NULL
2639  n等于This function updates target affinity of IOAPIC interrupts to include* the CPUs which came online during SMP bringup.sizeof(structresource)
2640  n乘等于nr_ioapics
2642  mem等于memblock_alloc(n, SMP_CACHE_BYTES)
2643  如果非mempanic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
2645  res等于mem
2647  mem加等于sizeof(structresource)乘nr_ioapics
2650  name等于mem
2651  flags等于IORESOURCE_MEM按位或Driver has marked this resource busy
2652  snprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
2653  mem加等于This function updates target affinity of IOAPIC interrupts to include* the CPUs which came online during SMP bringup.
2654  iomem_res等于res[i]
2657  ioapic_resources等于res
2659  返回:res
调用者
名称描述
io_apic_init_mappings