Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\gfp.h Create Date:2022-07-28 05:37:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:gfpflags_to_migratetype

Proto:static inline int gfpflags_to_migratetype(const gfp_t gfp_flags)

Type:int

Parameter:

TypeParameterName
const gfp_tgfp_flags
310  VM_WARN_ON((gfp_flags & Convert GFP flags to their corresponding migrate type ) == Convert GFP flags to their corresponding migrate type )
311  BUILD_BUG_ON - break compile if a condition is true((1UL << GFP_MOVABLE_SHIFT) != ___GFP_MOVABLE)
312  BUILD_BUG_ON - break compile if a condition is true((___GFP_MOVABLE >> GFP_MOVABLE_SHIFT) != MIGRATE_MOVABLE)
314  If Value for the false possibility is greater at compile time(page_group_by_mobility_disabled) Then Return MIGRATE_UNMOVABLE
318  Return (gfp_flags & Convert GFP flags to their corresponding migrate type ) >> GFP_MOVABLE_SHIFT
Caller
NameDescribe
gfp_to_alloc_flags
prepare_alloc_pages
pagetypeinfo_showmixedcount_print
print_page_owner
__dump_page_owner