Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:zs_zpool_map

Proto:static void *zs_zpool_map(void *pool, unsigned long handle, enum zpool_mapmode mm)

Type:void

Parameter:

TypeParameterName
void *pool
unsigned longhandle
enum zpool_mapmodemm
421  Case mm == ad-only (no copy-out at unmap time)
422  zs_mm = ad-only (no copy-out at unmap time)
423  Break
424  Case mm == write-only (no copy-in at map time)
425  zs_mm = ZS_MM_WO
426  Break
427  Case mm == rmal read-write mapping
428  Default
429  zs_mm = rmal read-write mapping
430  Break
433  Return 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