devm_kzalloc(9) suse man page | unix.com

Man Page: devm_kzalloc

Operating Environment: suse

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 2.6. July 2010 DEVM_KZALLOC(9)
Related Man Pages
usb_sg_init(9) - suse
contigfree(9) - debian
contigmalloc(9) - debian
gnome2::fontpicker(3pm) - debian
contigmalloc(9) - opensolaris
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Is UNIX an open source OS ?
SOCKS proxy & PAM configuration exposure
Tar Command
Shopt -s histappend