Lines Matching refs:queue_pair_map
477 ha->queue_pair_map = kcalloc(ha->max_qpairs, sizeof(struct qla_qpair *), in qla2x00_alloc_queues()
479 if (!ha->queue_pair_map) { in qla2x00_alloc_queues()
485 kfree(ha->queue_pair_map); in qla2x00_alloc_queues()
486 ha->queue_pair_map = NULL; in qla2x00_alloc_queues()
554 if (ha->queue_pair_map) { in qla2x00_free_queues()
555 kfree(ha->queue_pair_map); in qla2x00_free_queues()
556 ha->queue_pair_map = NULL; in qla2x00_free_queues()
896 qpair = ha->queue_pair_map[hwq]; in qla2xxx_queuecommand()
1431 qpair = ha->queue_pair_map[i]; in qla2x00_eh_wait_for_pending_commands()
1925 if (!ha->queue_pair_map) in qla2x00_abort_all_cmds()
1928 if (!ha->queue_pair_map[que]) in qla2x00_abort_all_cmds()
1931 __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()