Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:zswap_dstmem_prepare

Proto:static int zswap_dstmem_prepare(unsigned int cpu)

Type:int

Parameter:

TypeParameterName
unsigned intcpu
379  dst = kmalloc_node(PAGE_SIZE * 2, GFP_KERNEL, cpu_to_node(cpu))
380  If Not dst Then Return -ENOMEM
383  per_cpu(per-cpu code, cpu) = dst
384  Return 0