centos man page for devm_kzalloc

Query: devm_kzalloc

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DEVM_KZALLOC(9) 						   Driver Basics						   DEVM_KZALLOC(9)

NAME
devm_kzalloc - Resource-managed kzalloc
SYNOPSIS
void * devm_kzalloc(struct device * dev, size_t size, gfp_t gfp);
ARGUMENTS
dev Device to allocate memory for size Allocation size gfp Allocation gfp flags
DESCRIPTION
Managed kzalloc. Memory allocated with this function is automatically freed on driver detach. Like all other devres resources, guaranteed alignment is unsigned long long.
RETURNS
Pointer to allocated memory on success, NULL on failure.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 DEVM_KZALLOC(9)
Related Man Pages
call_usermodehelper_setup(9) - centos
usb_sg_init(9) - suse
bio_alloc_bioset(9) - centos
kmem_zalloc(9f) - opensolaris
usb_sg_init(9) - centos
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
How to increment version inside a file?
Tar Command
Unsure why access time on a directory change isn't changing
Please Welcome Dave Munro to the Moderator Team!