00001 #ifndef crabdef_h 00002 #define crabdef_h 00003 00004 #define CRAB_K_LENGTH 88 00005 00006 #define CRAB_ARRAY_K_LENGTH 8 00007 00008 struct _crab { 00009 struct _crab *crab_l_flink; 00010 struct _crab *crab_l_blink; 00011 unsigned short int crab_w_size; 00012 unsigned char crab_b_type; 00013 unsigned char crab_b_subtype; 00014 struct _spl *crab_l_spinlock; 00015 void *crab_l_wqfl; 00016 void *crab_l_wqbl; 00017 struct _adp *crab_ps_adp; 00018 unsigned int crab_l_total_items; 00019 unsigned int crab_l_alloc_gran_mask; 00020 struct _spl *crab_l_nosync_spinlock; 00021 void (*crab_ps_dealloc_cb)(); 00022 void *crab_ps_ringbuffer; 00023 00024 unsigned int crab_l_base_item; 00025 unsigned int crab_l_valid_desc_cnt; 00026 struct _fkb *crab_l_fqfl; 00027 struct _fkb *crab_l_fqbl; 00028 unsigned short int crab_w_fsize; 00029 unsigned char crab_b_ftype; 00030 unsigned char crab_b_flck; 00031 void (*crab_l_fpc)(); 00032 long long crab_q_fr3; 00033 long long crab_q_fr4; 00034 unsigned int crab_l_alloc_array; 00035 char crab_b_fill_0_ [4]; 00036 }; 00037 00038 struct _crab_array { 00039 unsigned int crab_array_l_num; 00040 unsigned int crab_array_l_cnt; 00041 }; 00042 00043 #endif 00044 00045