Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab.c Create Date:2022-07-28 15:44:18
Last Modify:2022-05-23 17:02:55 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__kmem_cache_alias

Proto:struct kmem_cache *__kmem_cache_alias(const char *name, unsigned int size, unsigned int align, slab_flags_t flags, void (*ctor)(void *))

Type:struct kmem_cache

Parameter:

TypeParameterName
const char *name
unsigned intsize
unsigned intalign
slab_flags_tflags
void (*ctor
1843  cachep = find_mergeable(size, align, flags, name, ctor)
1844  If cachep Then
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  Return cachep