Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:03:25 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:A bad page could be due to a number of fields. Instead of multiple branches,* try and check multiple fields with one check. The caller must do a detailed* check if necessary.
Proto:static inline bool page_expected_state(struct page *page, unsigned long check_flags)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page | |
| unsigned long | check_flags |
| 1017 | If Value for the false possibility is greater at compile time((unsignedlong) See page-flags.h for PAGE_MAPPING_FLAGS | page_ref_count(page) | (unsignedlong)mem_cgroup | ( Atomic flags, some possibly * updated asynchronously & check_flags)) Then Return false |
| 1025 | Return true |
| Name | Describe |
|---|---|
| free_pages_check | |
| check_new_page | This page is about to be returned from the page allocator |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |