Lines Matching refs:pscp
1539 register struct scsi_cmnd *pscp; in gdth_putq() local
1553 pscp = ha->req_first; in gdth_putq()
1554 nscp = (struct scsi_cmnd *)pscp->SCp.ptr; in gdth_putq()
1557 pscp = nscp; in gdth_putq()
1558 nscp = (struct scsi_cmnd *)pscp->SCp.ptr; in gdth_putq()
1560 pscp->SCp.ptr = (char *)scp; in gdth_putq()
1578 register struct scsi_cmnd *pscp; in gdth_next() local
1594 for (nscp = pscp = ha->req_first; nscp; nscp = (struct scsi_cmnd *)nscp->SCp.ptr) { in gdth_next()
1596 if (nscp != pscp && nscp != (struct scsi_cmnd *)pscp->SCp.ptr) in gdth_next()
1597 pscp = (struct scsi_cmnd *)pscp->SCp.ptr; in gdth_next()
1804 ha->req_first = pscp = (struct scsi_cmnd *)nscp->SCp.ptr; in gdth_next()
1806 pscp->SCp.ptr = nscp->SCp.ptr; in gdth_next()