Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Initializes the zbud header of a newly allocated zbud page

Proto:static struct zbud_header *init_zbud_page(struct page *page)

Type:struct zbud_header

Parameter:

TypeParameterName
struct page *page
241  zhdr = page_address(page)
242  first_chunks = 0
243  last_chunks = 0
244  Initialization list head
245  Initialization list head
246  under_reclaim = 0
247  Return zhdr
Caller
NameDescribe
zbud_alloczbud_alloc() - allocates a region of a given size*@pool: zbud pool from which to allocate*@size: size in bytes of the desired allocation*@gfp: gfp flags used if the pool needs to grow*@handle: handle of the new allocation* This function will attempt to