Lines Matching refs:index
1740 /* Only handle SCNs for our Vport index. */
1978 * @index: SRB index
1982 struct req_que *req, uint32_t index)
1988 if (index >= req->num_outstanding_cmds) {
1990 "Invalid SCSI command index (%x).\n", index);
1999 sp = req->outstanding_cmds[index];
2002 req->outstanding_cmds[index] = NULL;
2023 uint16_t index;
2028 index = LSW(pkt->handle);
2029 if (index >= req->num_outstanding_cmds) {
2031 "%s: Invalid command index (%x) type %8ph.\n",
2032 func, index, iocb);
2039 sp = req->outstanding_cmds[index];
2043 func, index);
2046 if (sp->handle != index) {
2049 sp->handle, index);
2053 *ret_index = index;
2062 uint16_t index;
2065 sp = qla_get_sp_from_handle(vha, func, req, iocb, &index);
2067 req->outstanding_cmds[index] = NULL;
2974 /* Adjust ring index */
3144 struct req_que *req, uint32_t index)
3159 if (index >= req->num_outstanding_cmds) {
3161 "Invalid SCSI completion handle 0x%x.\n", index);
3166 sp = req->outstanding_cmds[index];
3170 req->id, index);
3177 req->outstanding_cmds[index] = NULL;
3759 u16 index;
3798 sp = qla_get_sp_from_handle(vha, func, req, pkt, &index);
3801 req->outstanding_cmds[index] = NULL;
4158 /* Adjust ring index */