Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:03:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_pfnblock_flags_mask - Return the requested group of flags for the pageblock_nr_pages block of pages*@page: The page within the block of interest*@pfn: The target page frame number*@end_bitidx: The last bit of interest to retrieve*@mask: mask of bits
Proto:static __always_inline unsigned long __get_pfnblock_flags_mask(struct page *page, unsigned long pfn, unsigned long end_bitidx, unsigned long mask)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
unsigned long | pfn | |
unsigned long | end_bitidx | |
unsigned long | mask |
489 | bitidx = pfn_to_bitidx(page, pfn) |
490 | word_bitidx = bitidx / BITS_PER_LONG |
491 | bitidx &= BITS_PER_LONG - 1 |
493 | word = bitmap[word_bitidx] |
494 | bitidx += end_bitidx |
495 | Return word >> BITS_PER_LONG - bitidx - 1 & mask |
Name | Describe |
---|---|
get_pfnblock_flags_mask | |
get_pfnblock_migratetype |
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 |