函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab.c Create Date:2022-07-27 17:18:53
Last Modify:2022-05-23 17:02:55 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:fixup_slab_list

函数原型:static inline void fixup_slab_list(struct kmem_cache *cachep, struct kmem_cache_node *n, struct page *page, void **list)

返回类型:void

参数:

类型参数名称
struct kmem_cache *cachep
struct kmem_cache_node *n
struct page *page
void **list
2819  删除链表项
2820  如果 SLAB 恒等于num
2821  添加链表项
2822  如果OBJFREELIST_SLAB(cachep)则
2832  first free object = NULL
2834  否则添加链表项
调用者
名称描述
cache_grow_end
cache_alloc_pfmemalloc
cache_alloc_refill
____cache_alloc_nodeA interface to enable slab creation on nodeid