Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:inc_slabs_node

Proto:static inline void inc_slabs_node(struct kmem_cache *s, int node, int objects)

Type:void

Parameter:

TypeParameterName
struct kmem_cache *s
intnode
intobjects

NULL

Caller
NameDescribe
allocate_slab
early_kmem_cache_node_allocNo kmalloc_node yet so do it by hand. We know that this is the first* slab on the node for this slabcache. There are no concurrent accesses* possible.* Note that this function only works on the kmem_cache_node* when allocating for the kmem_cache_node