Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\resource.c Create Date:2022-07-28 09:05:03
Last Modify:2022-05-22 11:14:39 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:int walk_iomem_res_desc(unsigned long desc, unsigned long flags, u64 start, u64 end, void *arg, int (*func)(struct resource *, void *))

Type:int

Parameter:

TypeParameterName
unsigned longdesc
unsigned longflags
u64start
u64end
void *arg
int (*func
434  Return __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)
Caller
NameDescribe
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