函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\z3fold.c Create Date:2022-07-27 18:03:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:handle_to_slots

函数原型:static inline struct z3fold_buddy_slots *handle_to_slots(unsigned long handle)

返回类型:struct z3fold_buddy_slots

参数:

类型参数名称
unsigned longhandle
234  返回:handle按位与SLOTS_ALIGN减1的差的反
调用者
名称描述
__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.