Rechercher une page de manuel
devm_kzalloc
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
devm_kzalloc - Resource-managed kzallocSYNOPSIS
- 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
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre