Lines Matching defs:handle

298  * Find the first handle that is not in use, starting from
304 uint32_t index, handle = req->current_outstanding_cmd;
307 handle++;
308 if (handle == req->num_outstanding_cmds)
309 handle = 1;
310 if (!req->outstanding_cmds[handle])
311 return handle;
331 uint32_t handle;
363 handle = qla2xxx_get_next_handle(req);
364 if (handle == 0)
393 req->current_outstanding_cmd = handle;
394 req->outstanding_cmds[handle] = sp;
395 sp->handle = handle;
396 cmd->host_scribble = (unsigned char *)(unsigned long)handle;
400 cmd_pkt->handle = handle;
543 mrk24->handle = QLA_SKIP_HANDLE;
1398 /* Set handle */
1399 crc_ctx_pkt->handle = cmd_pkt->handle;
1544 uint32_t handle;
1576 handle = qla2xxx_get_next_handle(req);
1577 if (handle == 0)
1617 req->current_outstanding_cmd = handle;
1618 req->outstanding_cmds[handle] = sp;
1619 sp->handle = handle;
1620 cmd->host_scribble = (unsigned char *)(unsigned long)handle;
1624 cmd_pkt->handle = make_handle(req->id, handle);
1700 uint32_t handle;
1742 handle = qla2xxx_get_next_handle(req);
1743 if (handle == 0)
1825 req->current_outstanding_cmd = handle;
1826 req->outstanding_cmds[handle] = sp;
1827 sp->handle = handle;
1828 cmd->host_scribble = (unsigned char *)(unsigned long)handle;
1833 cmd_pkt->handle = make_handle(req->id, handle);
1885 req->outstanding_cmds[handle] = NULL;
1908 uint32_t handle;
1943 handle = qla2xxx_get_next_handle(req);
1944 if (handle == 0)
1984 req->current_outstanding_cmd = handle;
1985 req->outstanding_cmds[handle] = sp;
1986 sp->handle = handle;
1987 cmd->host_scribble = (unsigned char *)(unsigned long)handle;
1991 cmd_pkt->handle = make_handle(req->id, handle);
2068 uint32_t handle;
2124 handle = qla2xxx_get_next_handle(req);
2125 if (handle == 0)
2208 req->current_outstanding_cmd = handle;
2209 req->outstanding_cmds[handle] = sp;
2210 sp->handle = handle;
2211 cmd->host_scribble = (unsigned char *)(unsigned long)handle;
2216 cmd_pkt->handle = make_handle(req->id, handle);
2266 req->outstanding_cmds[handle] = NULL;
2288 uint32_t handle;
2294 handle = 0;
2333 handle = qla2xxx_get_next_handle(req);
2334 if (handle == 0) {
2341 req->current_outstanding_cmd = handle;
2342 req->outstanding_cmds[handle] = sp;
2343 sp->handle = handle;
2352 wrt_reg_dword((__le32 __force __iomem *)&pkt->handle, handle);
2355 pkt->handle = handle;
2555 tsk->handle = make_handle(req->id, tsk->handle);
2636 sp->name, sp->handle, fcport->d_id.b.domain, fcport->d_id.b.area,
2667 sp->name, sp->handle, fcport->d_id.b.domain,
2755 sp->name, sp->handle, fcport->loop_id, fcport->d_id.b.domain,
2775 els_iocb->handle = sp->handle;
2842 sp->name, sp->handle, fcport->port_name, fcport->d_id.b24);
2891 sp->name, res, sp->handle, fcport->d_id.b24, fcport->port_name);
3099 sp->name, sp->handle, fcport->loop_id,
3130 els_iocb->handle = QLA_SKIP_HANDLE;
3168 els_iocb->handle = sp->handle;
3217 ct_iocb->handle1 = sp->handle;
3285 ct_iocb->handle = sp->handle;
3357 uint32_t handle;
3397 handle = qla2xxx_get_next_handle(req);
3398 if (handle == 0)
3480 /* Initialize the DSD list and dma handle */
3502 cmd_pkt->handle = make_handle(req->id, handle);
3573 cmd_pkt->handle = make_handle(req->id, handle);
3614 req->current_outstanding_cmd = handle;
3615 req->outstanding_cmds[handle] = sp;
3616 sp->handle = handle;
3617 cmd->host_scribble = (unsigned char *)(unsigned long)handle;
3679 abt_iocb->handle = make_handle(req->id, sp->handle);
3706 mbx->handle = sp->handle;
3718 ct_pkt->handle = sp->handle;
3730 nack->u.isp24.handle = sp->handle;
3753 sp->name, sp->handle, sp->fcport->loop_id,
3800 vce->handle = sp->handle;
3892 mrk->handle = make_handle(sp->qpair->req->id, sp->handle);
3949 ((struct els_entry_24xx *)pkt)->handle = sp->handle;
4123 uint32_t handle;
4148 handle = qla2xxx_get_next_handle(req);
4149 if (handle == 0) {
4179 cmd_pkt->handle = make_handle(req->id, handle);
4195 req->current_outstanding_cmd = handle;
4196 req->outstanding_cmds[handle] = sp;
4197 sp->handle = handle;
4221 uint32_t handle;
4258 handle = qla2xxx_get_next_handle(req);
4259 if (handle == 0)
4349 /* Initialize the DSD list and dma handle */
4373 req->current_outstanding_cmd = handle;
4374 req->outstanding_cmds[handle] = sp;
4375 sp->handle = handle;
4376 cmd->host_scribble = (unsigned char *)(unsigned long)handle;
4380 cmd_pkt->handle = make_handle(req->id, handle);