函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slub.c Create Date:2022-07-27 17:22:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:init_kmem_cache_node

函数原型:static void init_kmem_cache_node(struct kmem_cache_node *n)

返回类型:void

参数:

类型参数名称
struct kmem_cache_node *n
3326  nr_partial等于0
3327  spin_lock_init( & list_lock)
3328  初始化链表头
调用者
名称描述
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
init_kmem_cache_nodes
slab_mem_going_online_callback