Lines Matching refs:atp
57 #include <netat/atp.h>
76 register struct atp_state *atp;
79 atp = (struct atp_state *)gref->info;
80 if (atp->dflag)
81 atp = (struct atp_state *)atp->atp_msgq;
83 if (atp->dflag) {
107 register struct atp_state *atp;
112 atp = (struct atp_state *)gref->info;
113 if (atp->dflag)
114 atp = (struct atp_state *)atp->atp_msgq;
119 * Decode the message, make sure it is an atp
123 (atp->atp_flags & ATP_CLOSING)) {
126 ("atp_rput: dropping MSG, not atp\n"));
151 for (trp = atp->atp_trans_wait.head; trp; trp = trp->tr_list.next) {
264 for (rcbp = atp->atp_rcb.head; rcbp; rcbp = rcbp->rc_list.next) {
302 for (rcbp = atp->atp_rcb.head; rcbp; rcbp = rcbp->rc_list.next) {
321 for (rcbp = atp->atp_attached.head; rcbp; rcbp = rcbp->rc_list.next) {
337 if ((rcbp = atp_rcb_alloc(atp)) == NULL) {
359 if (atp->dflag) { /* for ASP? */
384 ATP_Q_APPEND(atp->atp_attached, rcbp, rc_list);
386 atp_req_ind(atp, m_asp);
441 if (atp->dflag)
448 if (atp->dflag)
473 struct atp_state *atp;
494 atp = trp->tr_queue;
506 struct atp_state *atp;
532 atp = trp->tr_queue;
533 if (atp->dflag) {