函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\device.h Create Date:2022-07-27 06:45:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:devm_kzalloc

函数原型:static inline void *devm_kzalloc(struct device *dev, size_t size, gfp_t gfp)

返回类型:void

参数:

类型参数名称
struct device *dev
size_tsize
gfp_tgfp
935  返回:managed devm_k.alloc/kfree for device drivers
调用者
名称描述
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