函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_zspage

函数原型:static struct zspage *get_zspage(struct page *page)

返回类型:struct zspage

参数:

类型参数名称
struct page *page
826  zspage等于私有数据指针
828  BUG_ON(magic != ZSPAGE_MAGIC)
829  返回:zspage
调用者
名称描述
zs_map_objectzs_map_object - get address of allocated object from handle.*@pool: pool from which the object was allocated*@handle: handle returned from zs_malloc*@mm: maping mode to use* Before using an object allocated from zs_malloc, it must be mapped using
zs_unmap_object
obj_free
zs_free
migrate_zspage