Lines Matching defs:index
281 uint32_t index;
291 index = scsi_cmd_to_rq(cmd)->tag;
324 cmd_entry->handle = cpu_to_le32(index);
358 srb->cmd->host_scribble = (unsigned char *)(unsigned long)index;
468 uint32_t index = 0;
478 index = ha->mrb_index;
479 /* get valid mrb index*/
481 index++;
482 if (index == MAX_MRB)
483 index = 1;
484 if (ha->active_mrb_array[index] == NULL) {
485 ha->mrb_index = index;
491 ha->active_mrb_array[index] = mrb;
492 mrb->mbox->handle = index;