Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:int walk_system_ram_res(u64 start, u64 end, void *arg, int (*func)(struct resource *, void *))

Type:int

Parameter:

TypeParameterName
u64start
u64end
void *arg
int (*func
448  flags = I/O resource extended types | Driver has marked this resource busy
450  Return __walk_iomem_res_desc(start, end, flags, IORES_DESC_NONE, true, arg, func)
Caller
NameDescribe
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