Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
kfifo_buf.c File Reference
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/workqueue.h>
#include <linux/kfifo.h>
#include <linux/mutex.h>
#include <linux/iio/kfifo_buf.h>
#include <linux/sched.h>

Go to the source code of this file.

Data Structures

struct  iio_kfifo
 

Macros

#define iio_to_kfifo(r)   container_of(r, struct iio_kfifo, buffer)
 

Functions

struct iio_buffer * iio_kfifo_allocate (struct iio_dev *indio_dev)
 
 EXPORT_SYMBOL (iio_kfifo_allocate)
 
void iio_kfifo_free (struct iio_buffer *r)
 
 EXPORT_SYMBOL (iio_kfifo_free)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define iio_to_kfifo (   r)    container_of(r, struct iio_kfifo, buffer)

Definition at line 17 of file kfifo_buf.c.

Function Documentation

EXPORT_SYMBOL ( iio_kfifo_allocate  )
EXPORT_SYMBOL ( iio_kfifo_free  )
struct iio_buffer* iio_kfifo_allocate ( struct iio_dev indio_dev)
read

Definition at line 143 of file kfifo_buf.c.

void iio_kfifo_free ( struct iio_buffer *  r)

Definition at line 159 of file kfifo_buf.c.

MODULE_LICENSE ( "GPL"  )