kfifo_init man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

KFIFO_INIT(9)			  FIFO Buffer			 KFIFO_INIT(9)

NAME
       kfifo_init - allocates a new FIFO using a preallocated buffer

SYNOPSIS
       struct kfifo * kfifo_init(unsigned char * buffer, unsigned int size,
				 gfp_t gfp_mask, spinlock_t * lock);

ARGUMENTS
       buffer
	   the preallocated buffer to be used.

       size
	   the size of the internal buffer, this have to be a power of 2.

       gfp_mask
	   get_free_pages mask, passed to kmalloc

       lock
	   the lock to be used to protect the fifo buffer

DESCRIPTION
       Do NOT pass the kfifo to kfifo_free after use! Simply free the struct
       kfifo with kfree.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013			 KFIFO_INIT(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net