函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__kmem_cache_alias

函数原型:struct kmem_cache *__kmem_cache_alias(const char *name, unsigned int size, unsigned int align, slab_flags_t flags, void (*ctor)(void *))

返回类型:struct kmem_cache

参数:

类型参数名称
const char *name
unsigned intsize
unsigned intalign
slab_flags_tflags
void (*ctor
1843  cachep等于find_mergeable(size, align, flags, name, ctor)
1844  如果cachep
1845  Refcount for slab cache destroy 自加
1851  The size of an object without metadata 等于max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(int, The size of an object without metadata , size)
1853  返回:cachep