函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:post_alloc_hook

函数原型:inline void post_alloc_hook(struct page *page, unsigned int order, gfp_t gfp_flags)

返回类型:void

参数:

类型参数名称
struct page *page
unsigned intorder
gfp_tgfp_flags
2143  set_page_private(page, 0)
2144  Turn a non-refcounted page (->_refcount == 0) into refcounted with* a count of one.
2146  arch_alloc_page(page, order)
2147  如果For use in fast paths after init_debug_pagealloc() has run, or when a* false negative result is not harmful when called too early.kernel_map_pages(page, 1 << order, 1)
2149  kasan_alloc_pages(page, order)
2150  kernel_poison_pages(page, 1 << order, 1)
2151  set_page_owner(page, order, gfp_flags)
调用者
名称描述
prep_new_page
unset_migratetype_isolate
split_map_pages