Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:devm_kzalloc

Proto:static inline void *devm_kzalloc(struct device *dev, size_t size, gfp_t gfp)

Type:void

Parameter:

TypeParameterName
struct device *dev
size_tsize
gfp_tgfp
935  Return managed devm_k.alloc/kfree for device drivers
Caller
NameDescribe
test_devm_kzallocAllocator uses a trailing node argument --------+ (e.g. kmalloc_node())* Allocator uses the gfp_t argument -----------+ | (e.g. kmalloc())* Allocator uses a special leading argument + | | (e.g. devm_kmalloc())* | | |
__badblocks_init