Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kexec_file.c Create Date:2022-07-28 11:04:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:locate_mem_hole_callback

Proto:static int locate_mem_hole_callback(struct resource *res, void *arg)

Type:int

Parameter:

TypeParameterName
struct resource *res
void *arg
534  kbuf = arg
535  start = start , end = end
536  sz = end - start + 1
539  If sz < memsz Then Return 0
542  If end < buf_min || start > buf_max Then Return 0
549  If top_down Then Return locate_mem_hole_top_down(start, end, kbuf)
551  Return locate_mem_hole_bottom_up(start, end, kbuf)