00001 #ifndef cludcbdef_h 00002 #define cludcbdef_h 00003 00004 /* as if this will be used in ages... */ 00005 00006 #define CLUDCB_M_QS_REM_INA 0x1 00007 #define CLUDCB_M_QS_REM_ACT 0x2 00008 #define CLUDCB_M_QS_NOT_READY 0x4 00009 #define CLUDCB_M_QS_READY 0x8 00010 #define CLUDCB_M_QS_ACTIVE 0x10 00011 #define CLUDCB_M_QS_CLUSTER 0x20 00012 #define CLUDCB_M_QS_VOTE 0x40 00013 #define CLUDCB_M_QF_INQTMO 0x1 00014 #define CLUDCB_M_QF_INQIP 0x2 00015 #define CLUDCB_M_QF_TIM 0x4 00016 #define CLUDCB_M_QF_RIP 0x8 00017 #define CLUDCB_M_QF_WIP 0x10 00018 #define CLUDCB_M_QF_ERROR 0x20 00019 #define CLUDCB_M_QF_FIRST_ERR 0x40 00020 #define CLUDCB_M_QF_WRL_ERR 0x80 00021 #define CLUDCB_M_QF_NOACCESS 0x100 00022 #define CLUDCB_M_CSP_ACK 0x1 00023 #define CLUDCB_M_CSP_LBN_VALID 0x2 00024 #define CLUDCB_M_CSP_MVHELP 0x4 00025 #define CLUDCB_K_F_LENGTH 64 00026 #define CLUDCB_C_F_LENGTH 64 00027 #define CLUDCB_K_LENGTH 580 00028 #define CLUDCB_C_LENGTH 580 00029 00030 #define CLUDCB_S_DISK_QUORUM 16 00031 00032 struct _cludcb { 00033 struct _cludcb *cludcb_l_cludcbfl; 00034 struct _cludcb *cludcb_l_cludcbbl; 00035 unsigned short int cludcb_w_size; 00036 unsigned char cludcb_b_type; 00037 unsigned char cludcb_b_subtype; 00038 struct _ucb *cludcb_l_ucb; 00039 struct _irp *cludcb_l_irp; 00040 struct _tqe *cludcb_l_tqe; 00041 unsigned int cludcb_l_watcher_csid; 00042 unsigned int cludcb_l_act_count; 00043 00044 unsigned int cludcb_l_qflbn; 00045 char cludcb_t_align2 [4]; 00046 union { 00047 unsigned short int cludcb_w_state; 00048 struct { 00049 unsigned cludcb_v_qs_rem_ina : 1; 00050 unsigned cludcb_v_qs_rem_act : 1; 00051 unsigned cludcb_v_qs_not_ready : 1; 00052 unsigned cludcb_v_qs_ready : 1; 00053 unsigned cludcb_v_qs_active : 1; 00054 unsigned cludcb_v_qs_cluster : 1; 00055 unsigned cludcb_v_qs_vote : 1; 00056 unsigned cludcb_v_fill_6_ : 1; 00057 }; 00058 }; 00059 short int cludcb_w_fill_1; 00060 union { 00061 unsigned short int cludcb_w_flags; 00062 struct { 00063 unsigned cludcb_v_qf_inqtmo : 1; 00064 unsigned cludcb_v_qf_inqip : 1; 00065 unsigned cludcb_v_qf_tim : 1; 00066 unsigned cludcb_v_qf_rip : 1; 00067 unsigned cludcb_v_qf_wip : 1; 00068 unsigned cludcb_v_qf_error : 1; 00069 unsigned cludcb_v_qf_first_err : 1; 00070 unsigned cludcb_v_qf_wrl_err : 1; 00071 unsigned cludcb_v_qf_noaccess : 1; 00072 unsigned cludcb_v_fill_7_ : 7; 00073 }; 00074 }; 00075 short int cludcb_w_fill_2; 00076 00077 00078 union { 00079 unsigned short int cludcb_w_csp_flags; 00080 struct { 00081 unsigned cludcb_v_csp_ack : 1; 00082 unsigned cludcb_v_csp_lbn_valid : 1; 00083 unsigned cludcb_v_csp_mvhelp : 1; 00084 unsigned cludcb_v_fill_8_ : 5; 00085 }; 00086 }; 00087 char cludcb_t_align4 [6]; 00088 unsigned char cludcb_b_counter; 00089 char cludcb_b_fill_3 [3]; 00090 char cludcb_t_align5 [4]; 00091 00092 char cludcb_t_buffer [516]; 00093 00094 }; 00095 00096 #endif 00097 00098