Displaying 1 result from an estimated 1 matches for "cmd_done".
Did you mean:
cmds_done
2007 Jan 02
0
[PATCH 1/4] add scsi-target and IO_CMD_EPOLL_WAIT patches
...fer_data(struct scsi_cmnd *sc,
++ void (*done)(struct scsi_cmnd *))
++{
++ struct iu_entry *iue = (struct iu_entry *) sc->SCp.ptr;
++ int err;
++
++ err = srp_transfer_data(sc, &vio_iu(iue)->srp.cmd, ibmvstgt_rdma, 1, 1);
++
++ done(sc);
++
++ return err;
++}
++
++static int ibmvstgt_cmd_done(struct scsi_cmnd *sc,
++ void (*done)(struct scsi_cmnd *))
++{
++ unsigned long flags;
++ struct iu_entry *iue = (struct iu_entry *) sc->SCp.ptr;
++ struct srp_target *target = iue->target;
++
++ dprintk("%p %p %x\n", iue, target, vio_iu(iue)->srp.cmd.cdb[0]);
++
++ spin_l...