Lines Matching refs:abt
2631 struct abort_entry_24xx *abt; in qla24xx_abort_command() local
2656 abt = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &abt_dma); in qla24xx_abort_command()
2657 if (abt == NULL) { in qla24xx_abort_command()
2662 memset(abt, 0, sizeof(struct abort_entry_24xx)); in qla24xx_abort_command()
2664 abt->entry_type = ABORT_IOCB_TYPE; in qla24xx_abort_command()
2665 abt->entry_count = 1; in qla24xx_abort_command()
2666 abt->handle = MAKE_HANDLE(req->id, abt->handle); in qla24xx_abort_command()
2667 abt->nport_handle = cpu_to_le16(fcport->loop_id); in qla24xx_abort_command()
2668 abt->handle_to_abort = MAKE_HANDLE(req->id, handle); in qla24xx_abort_command()
2669 abt->port_id[0] = fcport->d_id.b.al_pa; in qla24xx_abort_command()
2670 abt->port_id[1] = fcport->d_id.b.area; in qla24xx_abort_command()
2671 abt->port_id[2] = fcport->d_id.b.domain; in qla24xx_abort_command()
2672 abt->vp_index = fcport->vha->vp_idx; in qla24xx_abort_command()
2674 abt->req_que_no = cpu_to_le16(req->id); in qla24xx_abort_command()
2676 rval = qla2x00_issue_iocb(vha, abt, abt_dma, 0); in qla24xx_abort_command()
2680 } else if (abt->entry_status != 0) { in qla24xx_abort_command()
2683 abt->entry_status); in qla24xx_abort_command()
2685 } else if (abt->nport_handle != cpu_to_le16(0)) { in qla24xx_abort_command()
2688 le16_to_cpu(abt->nport_handle)); in qla24xx_abort_command()
2689 if (abt->nport_handle == CS_IOCB_ERROR) in qla24xx_abort_command()
2698 dma_pool_free(ha->s_dma_pool, abt, abt_dma); in qla24xx_abort_command()