Rechercher une page de manuel
kfifo_alloc
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
kfifo_alloc - allocates a new FIFO and its internal bufferSYNOPSIS
- struct kfifo * kfifo_alloc(unsigned int size, gfp_t gfp_mask, spinlock_t * lock);
ARGUMENTS
size
- the size of the internal buffer to be allocated.
gfp_mask
- get_free_pages mask, passed to kmalloc
lock
- the lock to be used to protect the fifo buffer
DESCRIPTION
The size will be rounded-up to a power of 2.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre