Lines Matching defs:gref

132 atp_wput(gref, m)
133 register gref_t *gref;
143 atp = (struct atp_state *)gref->info;
174 if ((skt = (at_socket)atp_bind(gref, (unsigned int)skt, 0)) == 0)
190 *(gref_t **)gbuf_rptr(gbuf_cont(m)) = gref;
348 if (atalk_peek(gref, &event) == -1)
388 iocbp->ioc_private = (void *)gref;
828 int atp_bind(gref, sVal, flag)
829 gref_t *gref;
837 atp = (struct atp_state *)gref->info;
888 atp_inputQ[sVal] = gref;
963 void atp_cancel_req(gref, tid)
964 gref_t *gref;
970 atp = (struct atp_state *)gref->info;
1110 atp_send_req(gref, mioc)
1111 gref_t *gref;
1125 atp = (struct atp_state *)((struct atp_state *)gref->info)->atp_msgq;
1130 ((asp_scb_t *)gref->info)->stat_msg = mioc;
1131 iocbp->ioc_private = (void *)gref;
1188 /* save the local information in the gref */
1218 gref_t *gref;
1222 gref = (gref_t *)((ioc_t *)gbuf_rptr(m))->ioc_private;
1223 if (gref->info) {
1224 ((asp_scb_t *)gref->info)->stat_msg = 0;
1225 atp_send_req(gref, m);
1230 void atp_send_rsp(gref, m, wait)
1231 gref_t *gref;
1242 atp = (struct atp_state *)gref->info;
1382 gref_t *gref;
1395 if ((*err = atalk_getref(0, fd, &gref, proc, 1)) != 0)
1398 if ((gref == 0) || ((atp = (struct atp_state *)gref->info) == 0)
1401 (u_int) gref, gref->pid));
1519 /* save the local information in the gref */
1615 gref_t *gref;
1625 if ((*err = atalk_getref(0, fd, &gref, proc, 1)) != 0)
1628 if ((gref == 0) || ((atp = (struct atp_state *)gref->info) == 0)
1631 (u_int) gref, gref->pid));
1734 atp_send_rsp(gref, m, TRUE);
1747 gref_t *gref;
1753 if ((*err = atalk_getref(0, fd, &gref, proc, 1)) != 0)
1756 if ((gref == 0) || ((atp = (struct atp_state *)gref->info) == 0)
1759 (u_int) gref, gref->pid));
1817 gref_t *gref;
1823 if ((*err = atalk_getref(0, fd, &gref, proc, 1)) != 0)
1826 if ((gref == 0) || ((atp = (struct atp_state *)gref->info) == 0)
1829 (u_int) gref, gref->pid));
1882 atp_drop_req(gref, m)
1883 gref_t *gref;
1891 atp = (struct atp_state *)gref->info;