函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:z3fold_unmap() - unmaps the allocation associated with the given handle*@pool: pool in which the allocation resides*@handle: handle associated with the allocation to be unmapped

函数原型:static void z3fold_unmap(struct z3fold_pool *pool, unsigned long handle)

返回类型:void

参数:

类型参数名称
struct z3fold_pool *pool
unsigned longhandle
1542  zhdr等于rn locked z3fold page if it's not headless
1543  page等于virt_to_page(kaddr) returns a valid pointer if and only if* virt_addr_valid(kaddr) returns true.(zhdr)
1545  如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则返回
1548  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.
1549  如果buddy恒等于MIDDLElear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).
1551  mapped_count自减
1552  put_z3fold_header(zhdr)
调用者
名称描述
z3fold_zpool_unmap