suse man page for kfifo_alloc

Query: kfifo_alloc

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

KFIFO_ALLOC(9)							    FIFO Buffer 						    KFIFO_ALLOC(9)

NAME
kfifo_alloc - allocates a new FIFO internal buffer
SYNOPSIS
int kfifo_alloc(struct kfifo * fifo, unsigned int size, gfp_t gfp_mask);
ARGUMENTS
fifo the fifo to assign then new buffer size the size of the buffer to be allocated, this have to be a power of 2. gfp_mask get_free_pages mask, passed to kmalloc
DESCRIPTION
This function dynamically allocates a new fifo internal buffer The size will be rounded-up to a power of 2. The buffer will be release with kfifo_free. Return 0 if no error, otherwise the an error code
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 KFIFO_ALLOC(9)
Related Man Pages
fifo(n) - mojave
fifo(3tcl) - x11r4
fifo(3tcl) - v7
fifo(3tcl) - xfree86
fifo(3tcl) - plan9
Similar Topics in the Unix Linux Community
Cut command on RHEL 6.8 compatibility issues
Tar Command
The Future of the PM (Private Message) System at UNIX.com
Shopt -s histappend
32 bit process addressing more than 4GB