Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_owner.c Create Date:2022-07-28 16:23:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__set_page_owner_handle

Proto: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)

Type:void

Parameter:

TypeParameterName
struct page *page
struct page_ext *page_ext
depot_stack_handle_thandle
unsigned intorder
gfp_tgfp_mask
169  When i < 1 << order cycle
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)
Caller
NameDescribe
__set_page_owner
init_pages_in_zone