Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:slab_get_obj

Proto:static void *slab_get_obj(struct kmem_cache *cachep, struct page *page)

Type:void

Parameter:

TypeParameterName
struct kmem_cache *cachep
struct page *page
2571  objp = index_to_obj(cachep, page, get_free_obj(page, SLAB ))
2572  SLAB ++
2574  Return objp
Caller
NameDescribe
cache_alloc_pfmemalloc
alloc_blockSlab list should be fixed up by fixup_slab_list() for existing slab* or cache_grow_end() for new slab
____cache_alloc_nodeA interface to enable slab creation on nodeid