Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Helper function to build the index

Proto:static inline int __idx(struct z3fold_header *zhdr, enum buddy bud)

Type:int

Parameter:

TypeParameterName
struct z3fold_header *zhdr
enum buddybud
448  Return bud + first_num & BUDDY_MASK
Caller
NameDescribe
__encode_handleEncodes the handle of a particular buddy within a z3fold page* Pool lock should be held as this function accesses first_num
compact_single_buddy