Home
last modified time | relevance | path

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

12

/linux-3.4.99/drivers/scsi/
DNCR5380.c760 for (ptr = (Scsi_Cmnd *) hostdata->issue_queue; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) in NCR5380_proc_info()
764 for (ptr = (Scsi_Cmnd *) hostdata->disconnected_queue; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) in NCR5380_proc_info()
995 cmd->host_scribble = NULL; in NCR5380_queue_command_lck()
1008 cmd->host_scribble = (unsigned char *) hostdata->issue_queue; in NCR5380_queue_command_lck()
1011 … (tmp = (Scsi_Cmnd *) hostdata->issue_queue; tmp->host_scribble; tmp = (Scsi_Cmnd *) tmp->host_scr… in NCR5380_queue_command_lck()
1013 tmp->host_scribble = (unsigned char *) cmd; in NCR5380_queue_command_lck()
1055 …nd *) hostdata->issue_queue, prev = NULL; tmp; prev = tmp, tmp = (Scsi_Cmnd *) tmp->host_scribble) in DEF_SCSI_QCMD()
1062 REMOVE(prev, prev->host_scribble, tmp, tmp->host_scribble); in DEF_SCSI_QCMD()
1063 prev->host_scribble = tmp->host_scribble; in DEF_SCSI_QCMD()
1065 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()
508 cmd = (struct scsi_cmnd *) cmd->host_scribble; in DEF_SCSI_QCMD()
521 prev->host_scribble = cmd->host_scribble; in DEF_SCSI_QCMD()
523 hostdata->input_Q = (struct scsi_cmnd *) cmd->host_scribble; in DEF_SCSI_QCMD()
573 prev = (struct scsi_cmnd *) prev->host_scribble) { in DEF_SCSI_QCMD()
577 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.c509 kfree(SCtmp->host_scribble); in aha1542_intr_handle()
510 SCtmp->host_scribble = NULL; in aha1542_intr_handle()
667 SCpnt->host_scribble = kmalloc(sizeof(*cptr)*sg_count, in aha1542_queuecommand_lck()
669 cptr = (struct chain *) SCpnt->host_scribble; in aha1542_queuecommand_lck()
689 SCpnt->host_scribble = NULL; in aha1542_queuecommand_lck()
1368 kfree(SCtmp->host_scribble); in aha1542_dev_reset()
1369 SCtmp->host_scribble = NULL; in aha1542_dev_reset()
1429 kfree(SCtmp->host_scribble); in aha1542_bus_reset()
1430 SCtmp->host_scribble = NULL; in aha1542_bus_reset()
1497 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.c273 sgptr = (struct aha1740_sg *) SCtmp->host_scribble; in aha1740_intr_handle()
279 SCtmp->host_scribble, in aha1740_intr_handle()
403 SCpnt->host_scribble = dma_alloc_coherent (&host->edev->dev, in aha1740_queuecommand_lck()
406 if(SCpnt->host_scribble == NULL) { in aha1740_queuecommand_lck()
410 sgptr = (struct aha1740_sg *) SCpnt->host_scribble; in aha1740_queuecommand_lck()
Deata.c1768 if (SCpnt->host_scribble) in eata2x_queuecommand_lck()
1800 SCpnt->host_scribble = (unsigned char *)&cpp->cpp_index; in eata2x_queuecommand_lck()
1835 SCpnt->host_scribble = NULL; in eata2x_queuecommand_lck()
1852 if (SCarg->host_scribble == NULL) { in DEF_SCSI_QCMD()
1857 i = *(unsigned int *)SCarg->host_scribble; in DEF_SCSI_QCMD()
1900 SCarg->host_scribble = NULL; in DEF_SCSI_QCMD()
1923 if (SCarg->host_scribble == NULL) in eata2x_eh_host_reset()
1973 if (SCpnt->host_scribble == NULL) in eata2x_eh_host_reset()
1976 if (*(unsigned int *)SCpnt->host_scribble != i) in eata2x_eh_host_reset()
2018 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 …]
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()
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 …]
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.c894 for (ptr = (Scsi_Cmnd *) hostdata->issue_queue; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) in generic_NCR5380_proc_info()
899 for (ptr = (Scsi_Cmnd *) hostdata->disconnected_queue; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) in generic_NCR5380_proc_info()
Dstorvsc_drv.c831 scmnd->host_scribble = NULL; in storvsc_command_completion()
1283 scmnd->host_scribble = (unsigned char *)cmd_request; in storvsc_queuecommand()
1375 scmnd->host_scribble = NULL; in storvsc_queuecommand()
Dips.c2726 p = (struct scsi_cmnd *) p->host_scribble; in ips_next()
2737 SC->host_scribble = NULL; in ips_next()
2825 p = (struct scsi_cmnd *) p->host_scribble; in ips_next()
2960 item->host_scribble = NULL; in ips_putq_wait_tail()
2963 queue->tail->host_scribble = (char *) item; in ips_putq_wait_tail()
2996 queue->head = (struct scsi_cmnd *) item->host_scribble; in ips_removeq_wait_head()
2997 item->host_scribble = NULL; in ips_removeq_wait_head()
3034 while ((p) && (item != (struct scsi_cmnd *) p->host_scribble)) in ips_removeq_wait()
3035 p = (struct scsi_cmnd *) p->host_scribble; in ips_removeq_wait()
3039 p->host_scribble = item->host_scribble; in ips_removeq_wait()
[all …]
/linux-3.4.99/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)
/linux-3.4.99/drivers/scsi/bfa/
Dbfad_im.c88 cmnd->host_scribble = NULL; in bfa_cb_ioim_done()
120 cmnd->host_scribble = NULL; in bfa_cb_ioim_good_comp()
148 cmnd->host_scribble = NULL; in bfa_cb_ioim_abort()
207 hal_io = (struct bfa_ioim_s *) cmnd->host_scribble; in bfad_im_abort_handler()
227 while ((struct bfa_ioim_s *) cmnd->host_scribble == hal_io) { in bfad_im_abort_handler()
266 cmnd->host_scribble = NULL; in bfad_im_target_reset_send()
320 cmnd->host_scribble = NULL; in bfad_im_reset_lun_handler()
1254 cmnd->host_scribble = (char *)hal_io; in bfad_im_queuecommand_lck()
/linux-3.4.99/drivers/s390/scsi/
Dzfcp_dbf.h222 u64 host_scribble; member
Dzfcp_dbf.c415 rec->host_scribble = (unsigned long)sc->host_scribble; in zfcp_dbf_scsi()
Dzfcp_scsi.c91 scpnt->host_scribble = NULL; in zfcp_scsi_queuecommand()
177 unsigned long old_reqid = (unsigned long) scpnt->host_scribble; in zfcp_scsi_eh_abort_handler()
/linux-3.4.99/include/scsi/
Dscsi_cmnd.h122 unsigned char *host_scribble; /* The host adapter is allowed to member
/linux-3.4.99/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()
1048 if ((unsigned char *)mf != sc->host_scribble) in mptscsih_flush_running_cmds()
1052 sc->host_scribble = NULL; in mptscsih_flush_running_cmds()
1106 if ((unsigned char *)mf != sc->host_scribble) in mptscsih_search_running_cmds()
1113 sc->host_scribble = NULL; in mptscsih_search_running_cmds()
1516 SCpnt->host_scribble = (unsigned char *)mf; in mptscsih_qcmd()
/linux-3.4.99/drivers/scsi/arm/
Dfas216.c2114 SCpnt->host_scribble = (void *)fas216_rq_sns_done; in fas216_std_done()
2176 fn = (void (*)(FAS216_Info *, struct scsi_cmnd *, unsigned int))SCpnt->host_scribble; in fas216_done()
2213 SCpnt->host_scribble = (void *)fas216_std_done; in fas216_queue_command_lck()
2515 SCpnt->host_scribble = (void *)fas216_devicereset_done; in fas216_eh_device_reset()
2539 SCpnt->host_scribble = NULL; in fas216_eh_device_reset()
/linux-3.4.99/drivers/scsi/qla4xxx/
Dql4_iocb.c357 srb->cmd->host_scribble = (unsigned char *)(unsigned long)index; in qla4xxx_send_command_to_isp()

12