函数逻辑报告

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

函数名称:Walks through iomem resources and calls func() with matching resource* ranges. This walks through whole tree and not just first level children.* All the memory ranges which overlap start,end and also match flags and* desc are valid candidates.

函数原型:int walk_iomem_res_desc(unsigned long desc, unsigned long flags, u64 start, u64 end, void *arg, int (*func)(struct resource *, void *))

返回类型:int

参数:

类型参数名称
unsigned longdesc
unsigned longflags
u64start
u64end
void *arg
int (*func
434  返回:__walk_iomem_res_desc(start, end, flags, desc, TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., arg, func)
调用者
名称描述
crash_setup_memmap_entriesPrepare memory map for crash dump kernel
register_e820_pmem
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