devm_kzalloc(9) centos man page | unix.com

Man Page: devm_kzalloc

Operating Environment: centos

Section: 9

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
kmem_cache_create(9) - suse
usb_sg_init(9) - suse
kmem_free(9f) - opensolaris
kmem_cache_create(9) - linux
gnome2::fontpicker(3pm) - debian
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Set hard block limit for user using quota
DB2 convert digits to binary format
CentOS7 restoring file capabilities
Unsure why access time on a directory change isn't changing