Lines Matching defs:pb
79 int adspAttention(register struct adspcmd *pb, register CCBPtr sp)
85 pb->ioResult = errRefNum;
90 pb->ioResult = errState;
94 gbuf_freem(pb->mp);
98 if (pb->u.attnParams.attnSize > attnBufSize) /* If data too big, bye-bye */
100 pb->ioResult = errAttention;
105 /* The 1st mbuf in the pb->mp chain (mp) is the adspcmd structure.
107 mp = pb->mp;
108 if (pb->u.attnParams.attnSize) {
122 pb->ioDirection = 1; /* outgoing attention data */
124 qAddToEnd((struct qlink **)&sp->sapb, (struct qlink *)pb); /* Just add to end of queue */
127 pb->qLink = 0;
128 sp->sapb = pb;
131 pb->ioResult = 1; /* indicate that the IO is not complete */