KFIFO_ALLOC

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

kfifo_alloc - allocates a new FIFO and its internal buffer  

SYNOPSIS

"SYNOPSIS"

struct kfifo * kfifo_alloc (unsigned int size, unsigned int __nocast 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.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:22 GMT, October 09, 2005