Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
osdep_service.h File Reference
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <linux/semaphore.h>
#include <linux/sched.h>
#include <linux/sem.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <net/iw_handler.h>
#include <linux/proc_fs.h>
#include "basic_types.h"

Go to the source code of this file.

Data Structures

struct  __queue
 

Macros

#define _SUCCESS   1
 
#define _FAIL   0
 
#define _pkt   struct sk_buff
 
#define _buffer   unsigned char
 
#define thread_exit()   complete_and_exit(NULL, 0)
 
#define _workitem   struct work_struct
 
#define _init_queue(pqueue)
 
#define LIST_CONTAINOR(ptr, type, member)   ((type *)((char *)(ptr)-(SIZE_T)(&((type *)0)->member)))
 
#define BIT(x)   (1 << (x))
 

Macro Definition Documentation

#define _buffer   unsigned char

Definition at line 51 of file osdep_service.h.

#define _FAIL   0

Definition at line 30 of file osdep_service.h.

#define _init_queue (   pqueue)
Value:
do { \
_init_listhead(&((pqueue)->queue)); \
spin_lock_init(&((pqueue)->lock)); \
} while (0)

Definition at line 55 of file osdep_service.h.

#define _pkt   struct sk_buff

Definition at line 50 of file osdep_service.h.

#define _SUCCESS   1

Definition at line 29 of file osdep_service.h.

#define _workitem   struct work_struct

Definition at line 53 of file osdep_service.h.

#define BIT (   x)    (1 << (x))

Definition at line 110 of file osdep_service.h.

#define LIST_CONTAINOR (   ptr,
  type,
  member 
)    ((type *)((char *)(ptr)-(SIZE_T)(&((type *)0)->member)))

Definition at line 71 of file osdep_service.h.

#define thread_exit ( )    complete_and_exit(NULL, 0)

Definition at line 52 of file osdep_service.h.