suse man page for devm_kzalloc

Query: devm_kzalloc

OS: suse

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 2.6. July 2010 DEVM_KZALLOC(9)
Related Man Pages
kmem_cache_create(9) - suse
blk_make_request(9) - centos
contigfree(9) - debian
blk_make_request(9) - suse
contigmalloc(9) - osx
Similar Topics in the Unix Linux Community
Change directory error
SOCKS proxy & PAM configuration exposure
The Future of the PM (Private Message) System at UNIX.com
Shopt -s histappend
32 bit process addressing more than 4GB