Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__alloc_alien_cache

Proto:static struct alien_cache *__alloc_alien_cache(int node, int entries, int batch, gfp_t gfp)

Type:struct alien_cache

Parameter:

TypeParameterName
intnode
intentries
intbatch
gfp_tgfp
684  memsize = size of * * entries + sizeof(structalien_cache)
685  struct alien_cache * alc = NULL
687  alc = kmalloc_node(memsize, gfp, node)
688  If alc Then
689  kmemleak_no_scan(alc)
690  init_arraycache( & ac, entries, batch)
691  Process spin lock initialization( & lock)
693  Return alc
Caller
NameDescribe
alloc_alien_cache