函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pgtable_pte_page_ctor

函数原型:static inline bool pgtable_pte_page_ctor(struct page *page)

返回类型:bool

参数:

类型参数名称
struct page *page
1942  如果非ptlock_init(page)则返回:false
1944  Marks pages in use as page tables.
1945  We only use atomic operations to update counters. So there is no need to* disable interrupts.(page, used for pagetables )
1946  返回:true
调用者
名称描述
__pte_alloc_one__pte_alloc_one - allocate a page for PTE-level user page table*@mm: the mm_struct of the current context*@gfp: GFP flags to use for the allocation* Allocates a page and runs the pgtable_pte_page_ctor()