函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\resource.c Create Date:2022-07-27 10:04:50
Last Modify:2022-05-22 11:14:39 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:This function calls the @func callback against all memory ranges of type* System RAM which are marked as IORESOURCE_SYSTEM_RAM and IORESOUCE_BUSY.* Now, this function is only for System RAM, it deals with full ranges and* not PFNs

函数原型:int walk_system_ram_res(u64 start, u64 end, void *arg, int (*func)(struct resource *, void *))

返回类型:int

参数:

类型参数名称
u64start
u64end
void *arg
int (*func
448  flags等于I/O resource extended types 按位或Driver has marked this resource busy
450  返回:__walk_iomem_res_desc(start, end, flags, IORES_DESC_NONE, true, arg, func)
调用者
名称描述
prepare_elf_headersPrepare elf headers. Return addr and size
kexec_walk_resourceskexec_walk_resources - call func(data) on free memory regions*@kbuf: Context info for the search. Also passed to @func.*@func: Function to call for each memory region.* Return: The memory walk will stop when func returns a non-zero value
fill_up_crash_elf_dataGather all the required information to prepare elf headers for ram regions