Lines Matching refs:pb
71 register struct adspcmd *pb) /* The write PB we're playing with */
78 cnt = pb->u.ioParams.reqCount - pb->u.ioParams.actCount;
79 eom = pb->u.ioParams.eom ? F_EOM : 0;
84 /* The 1st mbuf in the pb->mp chain (mb) is the adspcmd structure.
86 mb = pb->mp;
119 pb->u.ioParams.actCount += cnt; /* Update count field in param blk */
121 if (pb->u.ioParams.actCount == pb->u.ioParams.reqCount) {
124 if (pb->u.ioParams.flush) /* flush the send Q? */
127 pb->ioResult = err;
130 gbuf_freem(pb->mp);
153 int adspWrite(sp, pb) /* (DSPPBPtr pb) */
155 struct adspcmd *pb;
159 pb->ioResult = errRefNum;
164 pb->ioResult = errState;
166 gbuf_freem(pb->mp);
170 pb->u.ioParams.actCount = 0; /* Set # of bytes so far to zero */
172 FillSendQueue(sp, pb); /* Copy from write param block to send queue */