Lines Matching refs:uctx

242 	struct qla_nvme_unsol_ctx *uctx = sp->priv;
246 if (!uctx) {
251 spin_lock_irqsave(&uctx->cmd_lock, flags);
252 uctx->sp = NULL;
254 spin_unlock_irqrestore(&uctx->cmd_lock, flags);
256 fd_rsp = uctx->fd_rsp;
258 list_del(&uctx->elem);
261 kfree(uctx);
267 struct qla_nvme_unsol_ctx *uctx =
270 kref_put(&uctx->sp->cmd_kref, qla_nvme_release_lsrsp_cmd_kref);
275 struct qla_nvme_unsol_ctx *uctx = sp->priv;
283 uctx->comp_status = res;
284 INIT_WORK(&uctx->lsrsp_work, qla_nvme_lsrsp_complete);
285 schedule_work(&uctx->lsrsp_work);
364 struct qla_nvme_unsol_ctx *uctx = container_of(fd_resp,
368 struct scsi_qla_host *vha = uctx->vha;
391 sp->priv = (void *)uctx;
393 uctx->sp = sp;
394 spin_lock_init(&uctx->cmd_lock);
396 uctx->fd_rsp = fd_resp;
405 nvme->u.nvme.exchange_address = uctx->exchange_address;
406 nvme->u.nvme.nport_handle = uctx->nport_handle;
407 nvme->u.nvme.ox_id = uctx->ox_id;
413 fcport->d_id.b24, fcport->port_name, uctx->exchange_address,
414 uctx->ox_id, uctx->nport_handle);
439 a.nport_handle = uctx->nport_handle;
440 a.xchg_address = uctx->exchange_address;
442 kfree(uctx);
1182 struct qla_nvme_unsol_ctx *uctx = item->purls_context;
1187 ret = nvme_fc_rcv_ls_req(uctx->fcport->nvme_remote_port, &uctx->lsrsp,
1194 a.nport_handle = uctx->nport_handle;
1195 a.xchg_address = uctx->exchange_address;
1197 list_del(&uctx->elem);
1198 kfree(uctx);
1231 struct qla_nvme_unsol_ctx *uctx;
1287 uctx = kzalloc(sizeof(*uctx), GFP_ATOMIC);
1288 if (!uctx) {
1297 uctx->vha = vha;
1298 uctx->fcport = fcport;
1299 uctx->exchange_address = p->exchange_address;
1300 uctx->nport_handle = p->nport_handle;
1301 uctx->ox_id = p->ox_id;
1302 qla_rport->uctx = uctx;
1303 INIT_LIST_HEAD(&uctx->elem);
1304 list_add_tail(&uctx->elem, &fcport->unsol_ctx_head);
1305 item->purls_context = (void *)uctx;
1309 item->iocb.iocb[3], item->size, uctx->exchange_address,