Lines Matching defs:index
1438 /* Only handle SCNs for our Vport index. */
1669 * @index: SRB index
1673 struct req_que *req, uint32_t index)
1679 if (index >= req->num_outstanding_cmds) {
1681 "Invalid SCSI command index (%x).\n", index);
1690 sp = req->outstanding_cmds[index];
1693 req->outstanding_cmds[index] = NULL;
1714 uint16_t index;
1716 index = LSW(pkt->handle);
1717 if (index >= req->num_outstanding_cmds) {
1719 "%s: Invalid command index (%x) type %8ph.\n",
1720 func, index, iocb);
1727 sp = req->outstanding_cmds[index];
1731 func, index);
1734 if (sp->handle != index) {
1737 sp->handle, index);
1741 req->outstanding_cmds[index] = NULL;
2512 /* Adjust ring index */
2691 struct req_que *req, uint32_t index)
2706 if (index >= req->num_outstanding_cmds) {
2708 "Invalid SCSI completion handle 0x%x.\n", index);
2713 sp = req->outstanding_cmds[index];
2717 req->id, index);
2724 req->outstanding_cmds[index] = NULL;
3567 /* Adjust ring index */