函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-27 16:33:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:free_tail_pages_check

函数原型:static int free_tail_pages_check(struct page *head_page, struct page *page)

返回类型:int

参数:

类型参数名称
struct page *head_page
struct page *page
1065  ret等于1
1071  BUILD_BUG_ON - break compile if a condition is true((unsignedlong)These are non-NULL pointers that will result in page faults* under normal circumstances, used to verify that nobody uses* non-initialized list entries. & 1)
1073  如果非IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_DEBUG_VM)则
1074  ret等于0
1075  转到:out
1078  : - == 1
1081  bad_page(page, "nonzero compound_mapcount", 0)
1082  转到:out
1084  退出
1085  : - == 2
1090  退出
1091  默认
1093  bad_page(page, "corrupted mapping in tail page", 0)
1094  转到:out
1096  退出
1099  bad_page(page, "PageTail not set", 0)
1100  转到:out
1103  bad_page(page, "compound_head not consistent", 0)
1104  转到:out
1106  ret等于0
1107  out :
1108  See page-flags.h for PAGE_MAPPING_FLAGS = NULL
1109  clear_compound_head(page)
1110  返回:ret
调用者
名称描述
free_pages_prepare