Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Converts an allocation size in bytes to size in zbud chunks

Proto:static int size_to_chunks(size_t size)

Type:int

Parameter:

TypeParameterName
size_tsize
232  Return size + CHUNK_SIZE - 1 >> CHUNK_SHIFT
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