Lines Matching refs:gref
60 adspAllocateCCB(gref)
61 register gref_t *gref; /* READ queue */
71 gref->info = (caddr_t) ccb_mp;
72 sp = (CCBPtr)gbuf_rptr(((gbuf_t *)gref->info));
74 sp->pid = gref->pid; /* save the caller process pointer */
75 sp->gref = gref; /* save a back pointer to the WRITE queue */
81 adspRelease(gref)
82 register gref_t *gref; /* READ queue */
86 if (gref->info) {
87 sp = (CCBPtr)gbuf_rptr(((gbuf_t *)gref->info));
120 adspWriteHandler(gref, mp)
121 gref_t *gref; /* WRITE queue */
132 if (gref->info == 0) {
140 ap->gref = gref;
143 sp = (void *)gbuf_rptr(((gbuf_t *)gref->info));
155 if (gref->info == 0) {
156 adspioc_ack(EPROTOTYPE, mp, gref);
163 adspioc_ack(EINVAL, mp, gref);
167 ap->gref = gref;
172 if ((gref->info == 0) && ((iocbp->ioc_cmd != ADSPOPEN) &&
176 adspioc_ack(EINVAL, mp, gref);
181 sp = (void *)gbuf_rptr(((gbuf_t *)gref->info));
193 (at_socket)adspAssignSocket(gref, flag)) == 0)) {
194 adspioc_ack(EADDRNOTAVAIL, mp, gref);
213 adspioc_ack(error, mp, gref); /* if this failed req complete */
218 adspioc_ack(error, mp, gref);
225 adspioc_ack(error, mp, gref);
230 adspioc_ack(error, mp, gref);
236 adspioc_ack(error, mp, gref);
242 adspioc_ack(error, mp, gref);
248 adspioc_ack(error, mp, gref);
254 adspioc_ack(error, mp, gref);
260 adspioc_ack(error, mp, gref);
266 adspioc_ack(error, mp, gref);
281 adspReadHandler(gref, mp)
282 gref_t *gref;
289 if ((error = adspPacket(gref, mp))) {