Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:handle_to_slots

Proto:static inline struct z3fold_buddy_slots *handle_to_slots(unsigned long handle)

Type:struct z3fold_buddy_slots

Parameter:

TypeParameterName
unsigned longhandle
234  Return handle & ~(SLOTS_ALIGN - 1)
Caller
NameDescribe
__get_z3fold_header
free_handle
handle_to_chunksly for LAST bud, returns zero otherwise
handle_to_buddy(handle & BUDDY_MASK) < zhdr->first_num is possible in encode_handle* but that doesn't matter. because the masking will result in the* correct buddy number.