函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Used 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.

函数原型:static struct kmem_cache *__init bootstrap(struct kmem_cache *static_cache)

返回类型:struct kmem_cache

参数:

类型参数名称
struct kmem_cache *static_cache
4196  s等于Shortcuts
4199  内存复制(s, static_cache, The size of an object without metadata )
4206  Flush cpu slab.* Called from IPI handler with interrupts disabled.
4210  list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(p, & partial, slab_list)
4211  用于SLUB分配器,指向slab的指针等于s
4218  slab_init_memcg_params(s)
4219  添加链表项
4220  memcg_link_cache(s, NULL)
4221  返回:s
调用者
名称描述
kmem_cache_init设置高速缓存