RING_CMP
#define RING_CMP(bn, idx) ((idx) & (bn)->cp_ring_mask)
#define RING_CMP(idx) ((idx) & bp->cp_ring_mask)