Lines Matching refs:queue_pair_map
478 ha->queue_pair_map = kcalloc(ha->max_qpairs, sizeof(struct qla_qpair *), in qla2x00_alloc_queues()
480 if (!ha->queue_pair_map) { in qla2x00_alloc_queues()
486 kfree(ha->queue_pair_map); in qla2x00_alloc_queues()
487 ha->queue_pair_map = NULL; in qla2x00_alloc_queues()
555 if (ha->queue_pair_map) { in qla2x00_free_queues()
556 kfree(ha->queue_pair_map); in qla2x00_free_queues()
557 ha->queue_pair_map = NULL; in qla2x00_free_queues()
897 qpair = ha->queue_pair_map[hwq]; in qla2xxx_queuecommand()
1432 qpair = ha->queue_pair_map[i]; in qla2x00_eh_wait_for_pending_commands()
1926 if (!ha->queue_pair_map) in qla2x00_abort_all_cmds()
1929 if (!ha->queue_pair_map[que]) in qla2x00_abort_all_cmds()
1932 __qla2x00_abort_all_cmds(ha->queue_pair_map[que], res); in qla2x00_abort_all_cmds()
7306 if (ha->queue_pair_map[i]) { in qla_do_heartbeat()
7307 cmpl_cnt = ha->queue_pair_map[i]->cmd_completion_cnt; in qla_do_heartbeat()
7308 if (cmpl_cnt == ha->queue_pair_map[i]->prev_completion_cnt && in qla_do_heartbeat()
7309 cmpl_cnt != ha->queue_pair_map[i]->cmd_cnt) { in qla_do_heartbeat()
7313 ha->queue_pair_map[i]->prev_completion_cnt = cmpl_cnt; in qla_do_heartbeat()
7740 if (ha->queue_pair_map[i]) in qla_pci_error_cleanup()
7741 ha->queue_pair_map[i]->chip_reset = in qla_pci_error_cleanup()