Lines Matching refs:queue_pair_map
463 ha->queue_pair_map = kcalloc(ha->max_qpairs, sizeof(struct qla_qpair *), in qla2x00_alloc_queues()
465 if (!ha->queue_pair_map) { in qla2x00_alloc_queues()
471 kfree(ha->queue_pair_map); in qla2x00_alloc_queues()
472 ha->queue_pair_map = NULL; 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()
878 qpair = ha->queue_pair_map[hwq]; in qla2xxx_queuecommand()
1418 qpair = ha->queue_pair_map[i]; in qla2x00_eh_wait_for_pending_commands()
1917 if (!ha->queue_pair_map) in qla2x00_abort_all_cmds()
1920 if (!ha->queue_pair_map[que]) in qla2x00_abort_all_cmds()
1923 __qla2x00_abort_all_cmds(ha->queue_pair_map[que], res); in qla2x00_abort_all_cmds()
7265 if (ha->queue_pair_map[i]) { in qla_do_heartbeat()
7266 cmpl_cnt = ha->queue_pair_map[i]->cmd_completion_cnt; in qla_do_heartbeat()
7267 if (cmpl_cnt == ha->queue_pair_map[i]->prev_completion_cnt && in qla_do_heartbeat()
7268 cmpl_cnt != ha->queue_pair_map[i]->cmd_cnt) { in qla_do_heartbeat()
7272 ha->queue_pair_map[i]->prev_completion_cnt = cmpl_cnt; in qla_do_heartbeat()
7702 if (ha->queue_pair_map[i]) in qla_pci_error_cleanup()
7703 ha->queue_pair_map[i]->chip_reset = in qla_pci_error_cleanup()