Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:reserve_region_with_split

Proto:void __init reserve_region_with_split(struct resource *root, resource_size_t start, resource_size_t end, const char *name)

Type:void

Parameter:

TypeParameterName
struct resource *root
resource_size_tstart
resource_size_tend
const char *name
1059  abort = 0
1061  write_lock( & resource_lock)
1062  If start > start || end < end Then
1063  pr_err("requested range [0x%llx-0x%llx] not in root %pr\n", (unsignedlonglong)start, (unsignedlonglong)end, root)
1066  If start > end || end < start Then abort = 1
1068  Else
1069  If end > end Then end = end
1071  If start < start Then start = start
1073  pr_err("fixing request to [0x%llx-0x%llx]\n", (unsignedlonglong)start, (unsignedlonglong)end)
1077  dump_stack()
1079  If Not abort Then __reserve_region_with_split(root, start, end, name)
1081  write_unlock( & resource_lock)