Lines Matching refs:bp
61 struct atpbuf *bp;
71 bp = free_list = (struct atpbuf *) mem;
73 bp->atpbuf_next = (struct atpbuf *) ( mem += sizeof( struct atpbuf ));
74 bp = bp->atpbuf_next;
76 bp->atpbuf_next = NULL;
85 struct atpbuf *bp;
89 for ( bp = ah->atph_sent; bp != NULL; bp = bp->atpbuf_next ) {
92 if ( bp->atpbuf_info.atpbuf_xo.atpxo_packet[ i ] != NULL ) {
104 for ( bp = ah->atph_queue; bp != NULL; bp = bp->atpbuf_next, ++incount );
122 struct atpbuf *bp;
126 bp = free_list;
131 return bp;
135 int atp_free_buf(struct atpbuf *bp)
137 if ( bp == NULL ) {
140 bp->atpbuf_next = free_list;
141 free_list = bp;