函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__set_page_owner_handle

函数原型:static inline void __set_page_owner_handle(struct page *page, struct page_ext *page_ext, depot_stack_handle_t handle, unsigned int order, gfp_t gfp_mask)

返回类型:void

参数:

类型参数名称
struct page *page
struct page_ext *page_ext
depot_stack_handle_thandle
unsigned intorder
gfp_tgfp_mask
169 i小于1左移order循环
170  page_owner等于get_page_owner(page_ext)
171  handle等于handle
172  order等于order
173  gfp_mask等于gfp_mask
174  last_migrate_reason等于负1
175  __set_bit - Set a bit in memory*@nr: the bit to set*@addr: the address to start counting from* Unlike set_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* succeeds.
176  __set_bit - Set a bit in memory*@nr: the bit to set*@addr: the address to start counting from* Unlike set_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* succeeds.
178  page_ext等于page_ext_next(page_ext)
调用者
名称描述
__set_page_owner
init_pages_in_zone