Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
basic_types.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Macros

#define SUCCESS   0
 
#define FAIL   (-1)
 
#define SIZE_T   __kernel_size_t
 
#define sint   signed int
 
#define FIELD_OFFSET(s, field)   ((addr_t)&((s *)(0))->field)
 
#define addr_t   unsigned long
 
#define MEM_ALIGNMENT_OFFSET   (sizeof(SIZE_T))
 
#define MEM_ALIGNMENT_PADDING   (sizeof(SIZE_T) - 1)
 

Macro Definition Documentation

#define addr_t   unsigned long

Definition at line 42 of file basic_types.h.

#define FAIL   (-1)

Definition at line 30 of file basic_types.h.

#define FIELD_OFFSET (   s,
  field 
)    ((addr_t)&((s *)(0))->field)

Definition at line 36 of file basic_types.h.

#define MEM_ALIGNMENT_OFFSET   (sizeof(SIZE_T))

Definition at line 44 of file basic_types.h.

#define MEM_ALIGNMENT_PADDING   (sizeof(SIZE_T) - 1)

Definition at line 45 of file basic_types.h.

#define sint   signed int

Definition at line 35 of file basic_types.h.

#define SIZE_T   __kernel_size_t

Definition at line 34 of file basic_types.h.

#define SUCCESS   0

Definition at line 29 of file basic_types.h.