Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ly for LAST bud, returns zero otherwise

Proto:static unsigned short handle_to_chunks(unsigned long handle)

Type:unsigned short

Parameter:

TypeParameterName
unsigned longhandle
489  slots = handle_to_slots(handle)
492  read_lock( & lock)
493  addr = handle
494  read_unlock( & lock)
495  Return (addr & ~PAGE_MASK) >> BUDDY_SHIFT
Caller
NameDescribe
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