Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\kasan\common.c Create Date:2022-07-28 15:51:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kasan_kmalloc

Proto:void *__must_check kasan_kmalloc(struct kmem_cache *cache, const void *object, size_t size, gfp_t flags)

Type:void

Parameter:

TypeParameterName
struct kmem_cache *cache
const void *object
size_tsize
gfp_tflags
527  Return __kasan_kmalloc(cache, object, size, flags, true)
Caller
NameDescribe
__do_kmalloc__do_kmalloc - allocate memory*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).*@caller: function caller for debug tracking of the caller* Return: pointer to the allocated memory or %NULL in case of error
early_kmem_cache_node_allocNo kmalloc_node yet so do it by hand. We know that this is the first* slab on the node for this slabcache. There are no concurrent accesses* possible.* Note that this function only works on the kmem_cache_node* when allocating for the kmem_cache_node
__kmalloc
__kmalloc_node