函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab.h Create Date:2022-07-27 15:27:18
Last Modify:2022-05-23 16:25:42 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:memcg_link_cache

函数原型:static inline void memcg_link_cache(struct kmem_cache *s, struct mem_cgroup *memcg)

返回类型:void

参数:

类型参数名称
struct kmem_cache *s
struct mem_cgroup *memcg

NULL

调用者
名称描述
create_cache
kmem_cache_init设置高速缓存
bootstrapUsed for early kmem_cache structures that were allocated using* the page allocator. Allocate them properly then fix up the pointers* that may be pointing to the wrong kmem_cache structure.