函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kmem_cache_open

函数原型:static int kmem_cache_open(struct kmem_cache *s, slab_flags_t flags)

返回类型:int

参数:

类型参数名称
struct kmem_cache *s
slab_flags_tflags
3616  Used for retrieving partial slabs, etc. 等于kmem_cache_flags(The size of an object including metadata , flags, Name (only for display!) , ctor)
3621  如果非alculate_sizes() determines the order and the distribution of data within* a slab object.则转到:error
3623  如果disable_higher_order_debug
3630  Free pointer offset 等于0
3647  set_min_partial(s, log2 - log base 2 of 32-bit or a 64-bit unsigned value*@n: parameter* constant-capable log of base 2 calculation* - this can be used to initialise global variables from constant data, hence* the massive ternary operator construction* selects the (The size of an object including metadata ) / 2)
3649  set_cpu_partial(s)
3652  Defragmentation by allocating from a remote node.等于1000
3656  如果(slab_state >= Slab caches usable but not all extras yet )则
3657  如果init_cache_random_seq(s)则转到:error
3661  如果非init_kmem_cache_nodes(s)则转到:error
3664  如果alloc_kmem_cache_cpus(s)则返回:0
3667  free_kmem_cache_nodes(s)
3668  error :
3669  返回:负EINVAL
调用者
名称描述
__kmem_cache_create