Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions | Variables
btree-type.h File Reference

Go to the source code of this file.

Macros

#define __BTREE_TP(pfx, type, sfx)   pfx ## type ## sfx
 
#define _BTREE_TP(pfx, type, sfx)   __BTREE_TP(pfx, type, sfx)
 
#define BTREE_TP(pfx)   _BTREE_TP(pfx, BTREE_TYPE_SUFFIX,)
 
#define BTREE_FN(name)   BTREE_TP(btree_ ## name)
 
#define BTREE_TYPE_HEAD   BTREE_TP(struct btree_head)
 
#define VISITOR_FN   BTREE_TP(visitor)
 
#define VISITOR_FN_T   _BTREE_TP(visitor, BTREE_TYPE_SUFFIX, _t)
 

Typedefs

typedef void(* VISITOR_FN_T )(void *elem, unsigned long opaque, BTREE_KEYTYPE key, size_t index)
 

Functions

void VISITOR_FN (void *elem, unsigned long opaque, unsigned long *key, size_t index, void *__func)
 

Variables

 BTREE_TYPE_HEAD
 

Macro Definition Documentation

#define __BTREE_TP (   pfx,
  type,
  sfx 
)    pfx ## type ## sfx

Definition at line 1 of file btree-type.h.

#define _BTREE_TP (   pfx,
  type,
  sfx 
)    __BTREE_TP(pfx, type, sfx)

Definition at line 2 of file btree-type.h.

#define BTREE_FN (   name)    BTREE_TP(btree_ ## name)

Definition at line 4 of file btree-type.h.

#define BTREE_TP (   pfx)    _BTREE_TP(pfx, BTREE_TYPE_SUFFIX,)

Definition at line 3 of file btree-type.h.

#define BTREE_TYPE_HEAD   BTREE_TP(struct btree_head)

Definition at line 5 of file btree-type.h.

#define VISITOR_FN   BTREE_TP(visitor)

Definition at line 6 of file btree-type.h.

#define VISITOR_FN_T   _BTREE_TP(visitor, BTREE_TYPE_SUFFIX, _t)

Definition at line 7 of file btree-type.h.

Typedef Documentation

typedef void(* VISITOR_FN_T)(void *elem, unsigned long opaque, BTREE_KEYTYPE key, size_t index)

Definition at line 118 of file btree-type.h.

Function Documentation

void VISITOR_FN ( void elem,
unsigned long  opaque,
unsigned long key,
size_t  index,
void __func 
)

Variable Documentation

BTREE_TYPE_HEAD
Initial value:
{
struct btree_head h

Definition at line 9 of file btree-type.h.