KFIFO_OUT_SPINLOCKED

Section: FIFO Buffer (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

kfifo_out_spinlocked - get data from the fifo using a spinlock for locking  

SYNOPSIS

kfifo_out_spinlocked(fifo, buf, n, lock);
 

ARGUMENTS

fifo

address of the fifo to be used

buf

pointer to the storage buffer

n

max. number of elements to get

lock

pointer to the spinlock to use for locking
 

DESCRIPTION

This macro get the data from the fifo and return the numbers of elements copied.  

COPYRIGHT