函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ly for LAST bud, returns zero otherwise

函数原型:static unsigned short handle_to_chunks(unsigned long handle)

返回类型:unsigned short

参数:

类型参数名称
unsigned longhandle
489  slots等于handle_to_slots(handle)
492  read_lock( & lock)
493  addr等于handle
494  read_unlock( & lock)
495  返回:addr按位与PAGE_MASK的反的值右移BUDDY_SHIFT
调用者
名称描述
z3fold_mapz3fold_map() - maps the allocation associated with the given handle*@pool: pool in which the allocation resides*@handle: handle associated with the allocation to be mapped* Extracts the buddy number from handle and constructs the pointer to the