Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\slab.h Create Date:2022-07-28 06:00:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kmalloc_array_node

Proto:static inline void *kmalloc_array_node(size_t n, size_t size, gfp_t flags, int node)

Type:void

Parameter:

TypeParameterName
size_tn
size_tsize
gfp_tflags
intnode
629  If Value for the false possibility is greater at compile time(check_mul_overflow(n, size, & bytes)) Then Return NULL
631  If __builtin_constant_p(n) && __builtin_constant_p(size) Then Return kmalloc_node(bytes, flags, node)
633  Return __kmalloc_node(bytes, flags, node)
Caller
NameDescribe
mempool_init_node
blk_mq_alloc_hctx
kyber_init_hctx