函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:zs_zpool_map

函数原型:static void *zs_zpool_map(void *pool, unsigned long handle, enum zpool_mapmode mm)

返回类型:void

参数:

类型参数名称
void *pool
unsigned longhandle
enum zpool_mapmodemm
421  :mm恒等于ad-only (no copy-out at unmap time)
422  zs_mm等于ad-only (no copy-out at unmap time)
423  退出
424  :mm恒等于write-only (no copy-in at map time)
425  zs_mm等于ZS_MM_WO
426  退出
427  :mm恒等于rmal read-write mapping
428  默认
429  zs_mm等于rmal read-write mapping
430  退出
433  返回:zs_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