函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__reset_page_owner

函数原型:void __reset_page_owner(struct page *page, unsigned int order)

返回类型:void

参数:

类型参数名称
struct page *page
unsigned intorder
146  handle等于0
149  handle等于save_stack(GFP_NOWAIT | DOC: Action modifiers* Action modifiers* ~~~~~~~~~~~~~~~~* %__GFP_NOWARN suppresses allocation failure reports.* %__GFP_COMP address compound page metadata.* %__GFP_ZERO returns a zeroed page on success.)
151  page_ext等于lookup_page_ext(page)
152  如果此条件成立可能性小(为编译器优化)(!page_ext)则返回
154 i小于1左移order循环
155  __clear_bit - Clears a bit in memory*@nr: the bit to clear*@addr: the address to start counting from* Unlike clear_bit(), this function is non-atomic. If it is called on the same* region of memory concurrently, the effect may be that only one operation
156  page_owner等于get_page_owner(page_ext)
157  free_handle等于handle
158  page_ext等于page_ext_next(page_ext)