dump_mutex
dump_mutex(value.pi_mutex, "per-path mutex (pi_mutex):");
dump_mutex(value.ph_mutex, "per-pHCI mutex (ph_mutex):");
dump_mutex(value.vh_phci_mutex, "phci mutex (vh_phci_mutex):");
dump_mutex(value.vh_phci_mutex, "client mutex (vh_client_mutex):");
static void dump_mutex(kmutex_t m, char *name);
dump_mutex(value.ct_mutex, "per-client mutex (ct_mutex):");
static void dump_mutex(kmutex_t m, char *name);
mutex_init(&ha->dump_mutex, NULL, MUTEX_DRIVER, ha->intr_pri);
mutex_destroy(&ha->dump_mutex);
kmutex_t dump_mutex;
#define QL_DUMP_LOCK(ha) mutex_enter(&ha->pha->dump_mutex)
#define QL_DUMP_UNLOCK(ha) mutex_exit(&ha->pha->dump_mutex)