kfifo_alloc(9) suse man page | unix.com

Man Page: kfifo_alloc

Operating Environment: suse

Section: 9

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
journal_try_to_free_buffers(9) - centos
fifo(3tcl) - debian
fifo(n) - osx
fifo(3tcl) - sunos
fifo(7) - osx
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Grant unprivileged user rights to see the output of echo|format but not modify disks
Cut command on RHEL 6.8 compatibility issues
Update kernel Linux without reboot?!
Docker learning Phase-I