Lines Matching refs:queue_pair_map
468 ha->queue_pair_map = kcalloc(ha->max_qpairs, sizeof(struct qla_qpair *), in qla2x00_alloc_queues()
470 if (!ha->queue_pair_map) { in qla2x00_alloc_queues()
540 if (ha->queue_pair_map) { in qla2x00_free_queues()
541 kfree(ha->queue_pair_map); in qla2x00_free_queues()
542 ha->queue_pair_map = NULL; in qla2x00_free_queues()
877 qpair = ha->queue_pair_map[hwq]; in qla2xxx_queuecommand()
1414 qpair = ha->queue_pair_map[i]; in qla2x00_eh_wait_for_pending_commands()
1893 if (!ha->queue_pair_map) in qla2x00_abort_all_cmds()
1896 if (!ha->queue_pair_map[que]) in qla2x00_abort_all_cmds()
1899 __qla2x00_abort_all_cmds(ha->queue_pair_map[que], res); in qla2x00_abort_all_cmds()
7255 if (ha->queue_pair_map[i]) { in qla_do_heartbeat()
7256 cmpl_cnt = ha->queue_pair_map[i]->cmd_completion_cnt; in qla_do_heartbeat()
7257 if (cmpl_cnt == ha->queue_pair_map[i]->prev_completion_cnt && in qla_do_heartbeat()
7258 cmpl_cnt != ha->queue_pair_map[i]->cmd_cnt) { in qla_do_heartbeat()
7262 ha->queue_pair_map[i]->prev_completion_cnt = cmpl_cnt; in qla_do_heartbeat()
7692 if (ha->queue_pair_map[i]) in qla_pci_error_cleanup()
7693 ha->queue_pair_map[i]->chip_reset = in qla_pci_error_cleanup()