Home
last modified time | relevance | path

Searched refs:host_scribble (Results 1 – 25 of 48) sorted by relevance

12

/drivers/scsi/
DNCR5380.c753 for (ptr = (Scsi_Cmnd *) hostdata->issue_queue; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) in NCR5380_show_info()
757 for (ptr = (Scsi_Cmnd *) hostdata->disconnected_queue; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) in NCR5380_show_info()
979 cmd->host_scribble = NULL; in NCR5380_queue_command_lck()
992 cmd->host_scribble = (unsigned char *) hostdata->issue_queue; in NCR5380_queue_command_lck()
995 … (tmp = (Scsi_Cmnd *) hostdata->issue_queue; tmp->host_scribble; tmp = (Scsi_Cmnd *) tmp->host_scr… in NCR5380_queue_command_lck()
997 tmp->host_scribble = (unsigned char *) cmd; in NCR5380_queue_command_lck()
1039 …nd *) hostdata->issue_queue, prev = NULL; tmp; prev = tmp, tmp = (Scsi_Cmnd *) tmp->host_scribble) in DEF_SCSI_QCMD()
1047 REMOVE(prev, prev->host_scribble, tmp, tmp->host_scribble); in DEF_SCSI_QCMD()
1048 prev->host_scribble = tmp->host_scribble; in DEF_SCSI_QCMD()
1050 REMOVE(-1, hostdata->issue_queue, tmp, tmp->host_scribble); in DEF_SCSI_QCMD()
[all …]
Dwd33c93.c391 cmd->host_scribble = NULL; in wd33c93_queuecommand_lck()
450 cmd->host_scribble = (uchar *) hostdata->input_Q; in wd33c93_queuecommand_lck()
454 tmp->host_scribble; in wd33c93_queuecommand_lck()
455 tmp = (struct scsi_cmnd *) tmp->host_scribble) ; in wd33c93_queuecommand_lck()
456 tmp->host_scribble = (uchar *) cmd; in wd33c93_queuecommand_lck()
509 cmd = (struct scsi_cmnd *) cmd->host_scribble; in DEF_SCSI_QCMD()
522 prev->host_scribble = cmd->host_scribble; in DEF_SCSI_QCMD()
524 hostdata->input_Q = (struct scsi_cmnd *) cmd->host_scribble; in DEF_SCSI_QCMD()
574 prev = (struct scsi_cmnd *) prev->host_scribble) { in DEF_SCSI_QCMD()
578 prev = (struct scsi_cmnd *) prev->host_scribble) in DEF_SCSI_QCMD()
[all …]
Din2000.c352 cmd->host_scribble = NULL; in in2000_queuecommand_lck()
416 cmd->host_scribble = (uchar *) hostdata->input_Q; in in2000_queuecommand_lck()
419 …for (tmp = (Scsi_Cmnd *) hostdata->input_Q; tmp->host_scribble; tmp = (Scsi_Cmnd *) tmp->host_scri… in in2000_queuecommand_lck()
420 tmp->host_scribble = (uchar *) cmd; in in2000_queuecommand_lck()
477 cmd = (Scsi_Cmnd *) cmd->host_scribble; in DEF_SCSI_QCMD()
492 prev->host_scribble = cmd->host_scribble; in DEF_SCSI_QCMD()
494 hostdata->input_Q = (Scsi_Cmnd *) cmd->host_scribble; in DEF_SCSI_QCMD()
543 for (prev = (Scsi_Cmnd *) hostdata->input_Q; prev; prev = (Scsi_Cmnd *) prev->host_scribble) { in DEF_SCSI_QCMD()
545 for (prev = (Scsi_Cmnd *) hostdata->input_Q; prev; prev = (Scsi_Cmnd *) prev->host_scribble) in DEF_SCSI_QCMD()
1463 cmd->host_scribble = (uchar *) hostdata->disconnected_Q; in in2000_intr()
[all …]
Daha1542.c507 kfree(SCtmp->host_scribble); in aha1542_intr_handle()
508 SCtmp->host_scribble = NULL; in aha1542_intr_handle()
665 SCpnt->host_scribble = kmalloc(sizeof(*cptr)*sg_count, in aha1542_queuecommand_lck()
667 cptr = (struct chain *) SCpnt->host_scribble; in aha1542_queuecommand_lck()
687 SCpnt->host_scribble = NULL; in aha1542_queuecommand_lck()
1306 kfree(SCtmp->host_scribble); in aha1542_dev_reset()
1307 SCtmp->host_scribble = NULL; in aha1542_dev_reset()
1367 kfree(SCtmp->host_scribble); in aha1542_bus_reset()
1368 SCtmp->host_scribble = NULL; in aha1542_bus_reset()
1435 kfree(SCtmp->host_scribble); in aha1542_host_reset()
[all …]
Du14-34f.c1257 if (SCpnt->host_scribble) in u14_34f_queuecommand_lck()
1286 SCpnt->host_scribble = (unsigned char *) &cpp->cpp_index; in u14_34f_queuecommand_lck()
1315 SCpnt->host_scribble = NULL; in u14_34f_queuecommand_lck()
1338 if (SCarg->host_scribble == NULL) { in DEF_SCSI_QCMD()
1343 i = *(unsigned int *)SCarg->host_scribble; in DEF_SCSI_QCMD()
1385 SCarg->host_scribble = NULL; in DEF_SCSI_QCMD()
1406 if (SCarg->host_scribble == NULL) in u14_34f_eh_host_reset()
1452 if (SCpnt->host_scribble == NULL) in u14_34f_eh_host_reset()
1455 if (*(unsigned int *)SCpnt->host_scribble != i) in u14_34f_eh_host_reset()
1492 SCpnt->host_scribble = NULL; in u14_34f_eh_host_reset()
[all …]
Daha1740.c254 sgptr = (struct aha1740_sg *) SCtmp->host_scribble; in aha1740_intr_handle()
260 SCtmp->host_scribble, in aha1740_intr_handle()
384 SCpnt->host_scribble = dma_alloc_coherent (&host->edev->dev, in aha1740_queuecommand_lck()
387 if(SCpnt->host_scribble == NULL) { in aha1740_queuecommand_lck()
391 sgptr = (struct aha1740_sg *) SCpnt->host_scribble; in aha1740_queuecommand_lck()
Deata.c1758 if (SCpnt->host_scribble) in eata2x_queuecommand_lck()
1790 SCpnt->host_scribble = (unsigned char *)&cpp->cpp_index; in eata2x_queuecommand_lck()
1825 SCpnt->host_scribble = NULL; in eata2x_queuecommand_lck()
1842 if (SCarg->host_scribble == NULL) { in DEF_SCSI_QCMD()
1847 i = *(unsigned int *)SCarg->host_scribble; in DEF_SCSI_QCMD()
1890 SCarg->host_scribble = NULL; in DEF_SCSI_QCMD()
1913 if (SCarg->host_scribble == NULL) in eata2x_eh_host_reset()
1963 if (SCpnt->host_scribble == NULL) in eata2x_eh_host_reset()
1966 if (*(unsigned int *)SCpnt->host_scribble != i) in eata2x_eh_host_reset()
2008 SCpnt->host_scribble = NULL; in eata2x_eh_host_reset()
[all …]
D53c700.c570 (struct NCR_700_command_slot *)SCp->host_scribble; in save_for_reselection()
596 (struct NCR_700_command_slot *)SCp->host_scribble; in NCR_700_scsi_done()
628 SCp->host_scribble = NULL; in NCR_700_scsi_done()
980 (struct NCR_700_command_slot *)SCp->host_scribble; in process_script_interrupt()
1121 slot = (struct NCR_700_command_slot *)SCp->host_scribble; in process_script_interrupt()
1132 slot = (struct NCR_700_command_slot *)SCp->host_scribble; in process_script_interrupt()
1210 slot = (struct NCR_700_command_slot *)SCp->host_scribble; in process_script_interrupt()
1258 … ((struct NCR_700_command_slot *)SCp->host_scribble)->SG[i].ins, ((struct NCR_700_command_slot *)S… in process_script_interrupt()
1314 (struct NCR_700_command_slot *)SCp->host_scribble; in process_selection()
1395 (struct NCR_700_command_slot *)SCp->host_scribble; in NCR_700_start_command()
[all …]
Daha152x.c620 #define SCDATA(SCpnt) ((struct aha152x_scdata *) (SCpnt)->host_scribble)
1006 if (!SCpnt->host_scribble || SCSEM(SCpnt) || SCNEXT(SCpnt)) { in aha152x_internal_queue()
1011 SCpnt->host_scribble = kmalloc(sizeof(struct aha152x_scdata), GFP_ATOMIC); in aha152x_internal_queue()
1012 if(!SCpnt->host_scribble) { in aha152x_internal_queue()
1130 kfree(SCpnt->host_scribble); in aha152x_abort()
1131 SCpnt->host_scribble=NULL; in aha152x_abort()
1200 kfree(SCpnt->host_scribble); in aha152x_device_reset()
1201 SCpnt->host_scribble=NULL; in aha152x_device_reset()
1238 kfree(ptr->host_scribble); in free_hard_reset_SCs()
1239 ptr->host_scribble=NULL; in free_hard_reset_SCs()
[all …]
Dmac53c94.c86 cmd->host_scribble = NULL; in mac53c94_queue_lck()
93 state->request_qtail->host_scribble = (void *) cmd; in mac53c94_queue_lck()
157 state->request_q = (struct scsi_cmnd *) cmd->host_scribble; in mac53c94_start()
Dultrastor.c759 SCpnt->host_scribble = (unsigned char *)my_mscp; in ultrastor_queuecommand_lck()
862 if(!SCpnt->host_scribble) in DEF_SCSI_QCMD()
865 mscp_index = ((struct mscp *)SCpnt->host_scribble) - config.mscp; in DEF_SCSI_QCMD()
1148 SCtmp->host_scribble = NULL; in ultrastor_interrupt()
Dmesh.c569 for (cmd = ms->request_q; ; cmd = (struct scsi_cmnd *) cmd->host_scribble) { in mesh_start()
576 next = (struct scsi_cmnd *) cmd->host_scribble; in mesh_start()
580 prev->host_scribble = (void *) next; in mesh_start()
868 cmd->host_scribble = (void *) ms->request_q; in reselected()
1004 ms->request_q = (struct scsi_cmnd *) cmd->host_scribble; in handle_reset()
1633 cmd->host_scribble = NULL; in mesh_queue_lck()
1640 ms->request_qtail->host_scribble = (void *) cmd; in mesh_queue_lck()
Deata_generic.h87 #define CD(cmd) ((struct eata_ccb *)(cmd->host_scribble))
Dg_NCR5380.c883 for (ptr = (Scsi_Cmnd *) hostdata->issue_queue; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) in generic_NCR5380_show_info()
888 for (ptr = (Scsi_Cmnd *) hostdata->disconnected_queue; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) in generic_NCR5380_show_info()
Dips.c2651 p = (struct scsi_cmnd *) p->host_scribble; in ips_next()
2662 SC->host_scribble = NULL; in ips_next()
2750 p = (struct scsi_cmnd *) p->host_scribble; in ips_next()
2885 item->host_scribble = NULL; in ips_putq_wait_tail()
2888 queue->tail->host_scribble = (char *) item; in ips_putq_wait_tail()
2921 queue->head = (struct scsi_cmnd *) item->host_scribble; in ips_removeq_wait_head()
2922 item->host_scribble = NULL; in ips_removeq_wait_head()
2959 while ((p) && (item != (struct scsi_cmnd *) p->host_scribble)) in ips_removeq_wait()
2960 p = (struct scsi_cmnd *) p->host_scribble; in ips_removeq_wait()
2964 p->host_scribble = item->host_scribble; in ips_removeq_wait()
[all …]
Dstorvsc_drv.c1114 scmnd->host_scribble = NULL; in storvsc_command_completion()
1605 scmnd->host_scribble = (unsigned char *)cmd_request; in storvsc_queuecommand()
1703 scmnd->host_scribble = NULL; in storvsc_queuecommand()
/drivers/scsi/bfa/
Dbfad_im.c93 cmnd->host_scribble = NULL; in bfa_cb_ioim_done()
125 cmnd->host_scribble = NULL; in bfa_cb_ioim_good_comp()
153 cmnd->host_scribble = NULL; in bfa_cb_ioim_abort()
212 hal_io = (struct bfa_ioim_s *) cmnd->host_scribble; in bfad_im_abort_handler()
232 while ((struct bfa_ioim_s *) cmnd->host_scribble == hal_io) { in bfad_im_abort_handler()
271 cmnd->host_scribble = NULL; in bfad_im_target_reset_send()
325 cmnd->host_scribble = NULL; in bfad_im_reset_lun_handler()
1259 cmnd->host_scribble = (char *)hal_io; in bfad_im_queuecommand_lck()
/drivers/scsi/libsas/
Dsas_internal.h39 #define TO_SAS_TASK(_scsi_cmd) ((void *)(_scsi_cmd)->host_scribble)
40 #define ASSIGN_SAS_TASK(_sc, _t) do { (_sc)->host_scribble = (void *) _t; } while (0)
/drivers/s390/scsi/
Dzfcp_dbf.h223 u64 host_scribble; member
Dzfcp_dbf.c423 rec->host_scribble = (unsigned long)sc->host_scribble; in zfcp_dbf_scsi()
Dzfcp_scsi.c91 scpnt->host_scribble = NULL; in zfcp_scsi_queuecommand()
182 unsigned long old_reqid = (unsigned long) scpnt->host_scribble; in zfcp_scsi_eh_abort_handler()
Dzfcp_fsf.c879 unsigned long old_req_id = (unsigned long) scmnd->host_scribble; in zfcp_fsf_abort_fcp_cmnd()
2141 scpnt->host_scribble = NULL; in zfcp_fsf_fcp_cmnd_handler()
2228 scsi_cmnd->host_scribble = (unsigned char *) req->req_id; in zfcp_fsf_fcp_cmnd()
2279 scsi_cmnd->host_scribble = NULL; in zfcp_fsf_fcp_cmnd()
/drivers/message/fusion/
Dmptscsih.c627 if ((unsigned char *)mf != sc->host_scribble) { in mptscsih_io_done()
642 sc->host_scribble = NULL; in mptscsih_io_done()
1049 if ((unsigned char *)mf != sc->host_scribble) in mptscsih_flush_running_cmds()
1053 sc->host_scribble = NULL; in mptscsih_flush_running_cmds()
1107 if ((unsigned char *)mf != sc->host_scribble) in mptscsih_search_running_cmds()
1114 sc->host_scribble = NULL; in mptscsih_search_running_cmds()
1428 SCpnt->host_scribble = (unsigned char *)mf; in mptscsih_qcmd()
/drivers/scsi/arm/
Dfas216.c2115 SCpnt->host_scribble = (void *)fas216_rq_sns_done; in fas216_std_done()
2178 fn = (void (*)(FAS216_Info *, struct scsi_cmnd *, unsigned int))SCpnt->host_scribble; in fas216_done()
2215 SCpnt->host_scribble = (void *)fas216_std_done; in fas216_queue_command_lck()
2518 SCpnt->host_scribble = (void *)fas216_devicereset_done; in fas216_eh_device_reset()
2542 SCpnt->host_scribble = NULL; in fas216_eh_device_reset()
/drivers/block/
Dcciss_scsi.c1453 cmd->host_scribble = (unsigned char *) c; in cciss_scsi_queue_command_lck()
1666 cmd_in_trouble = (CommandList_struct *) scsicmd->host_scribble; in cciss_eh_device_reset_handler()
1693 cmd_to_abort = (CommandList_struct *) scsicmd->host_scribble; in cciss_eh_abort_handler()

12