Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab.c Create Date:2022-07-28 15:43:18
Last Modify:2022-05-23 17:02:55 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:alloc_arraycache

Proto:static struct array_cache *alloc_arraycache(int node, int entries, int batchcount, gfp_t gfp)

Type:struct array_cache

Parameter:

TypeParameterName
intnode
intentries
intbatchcount
gfp_tgfp
583  memsize = size of * * entries + sizeof(structarray_cache)
584  struct array_cache * ac = NULL
586  ac = kmalloc_node(memsize, gfp, node)
594  kmemleak_no_scan(ac)
595  init_arraycache(ac, entries, batchcount)
596  Return ac
Caller
NameDescribe
setup_kmem_cache_node