函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:reserve_region_with_split

函数原型:void __init reserve_region_with_split(struct resource *root, resource_size_t start, resource_size_t end, const char *name)

返回类型:void

参数:

类型参数名称
struct resource *root
resource_size_tstart
resource_size_tend
const char *name
1059  abort等于0
1061  write_lock( & resource_lock)
1062  如果start大于startend小于end
1063  打印错误信息("requested range [0x%llx-0x%llx] not in root %pr\n", (unsignedlonglong)start, (unsignedlonglong)end, root)
1066  如果start大于endend小于startabort等于1
1068  否则
1069  如果end大于endend等于end
1071  如果start小于startstart等于start
1073  打印错误信息("fixing request to [0x%llx-0x%llx]\n", (unsignedlonglong)start, (unsignedlonglong)end)
1077  dump_stack()
1079  如果非abort__reserve_region_with_split(root, start, end, name)
1081  write_unlock( & resource_lock)
调用者
名称描述
e820__reserve_resources_late