Lines Matching refs:pscp
1989 register struct scsi_cmnd *pscp; in gdth_putq() local
2003 pscp = ha->req_first; in gdth_putq()
2004 nscp = (struct scsi_cmnd *)pscp->SCp.ptr; in gdth_putq()
2007 pscp = nscp; in gdth_putq()
2008 nscp = (struct scsi_cmnd *)pscp->SCp.ptr; in gdth_putq()
2010 pscp->SCp.ptr = (char *)scp; in gdth_putq()
2028 register struct scsi_cmnd *pscp; in gdth_next() local
2044 for (nscp = pscp = ha->req_first; nscp; nscp = (struct scsi_cmnd *)nscp->SCp.ptr) { in gdth_next()
2046 if (nscp != pscp && nscp != (struct scsi_cmnd *)pscp->SCp.ptr) in gdth_next()
2047 pscp = (struct scsi_cmnd *)pscp->SCp.ptr; in gdth_next()
2254 ha->req_first = pscp = (struct scsi_cmnd *)nscp->SCp.ptr; in gdth_next()
2256 pscp->SCp.ptr = nscp->SCp.ptr; in gdth_next()