Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kasan_poison_element

Proto:static __always_inline void kasan_poison_element(mempool_t *pool, void *element)

Type:void

Parameter:

TypeParameterName
mempool_t *pool
void *element
108  If alloc == A commonly used alloc and free fn. || alloc == A commonly used alloc and free fn that kmalloc/kfrees the amount of memory* specified by pool_data Then kasan_poison_kfree(element, _RET_IP_)
110  If alloc == A simple mempool-backed page allocator that allocates pages* of the order specified by pool_data. Then kasan_free_pages(element, (unsignedlong)pool_data)
Caller
NameDescribe
add_element