Lines Matching refs:peer
59 BIO *peer; /* NULL if buf == NULL. If peer != NULL, then member
100 if (b->peer) in bio_free()
122 assert(b->peer != NULL); in bio_read()
123 peer_b = b->peer->ptr; in bio_read()
212 assert(b->peer != NULL); in bio_nread0()
213 peer_b = b->peer->ptr; in bio_nread0()
254 peer_b = b->peer->ptr; in bio_nread()
281 assert(b->peer != NULL); in bio_write()
358 assert(b->peer != NULL); in bio_nwrite0()
427 if (b->peer) { in bio_ctrl()
474 if (b->peer == NULL || b->closed) in bio_ctrl()
545 if (b->peer != NULL) { in bio_ctrl()
546 struct bio_bio_st *peer_b = b->peer->ptr; in bio_ctrl()
583 if (b->peer != NULL) { in bio_ctrl()
584 struct bio_bio_st *peer_b = b->peer->ptr; in bio_ctrl()
616 if (b1->peer != NULL || b2->peer != NULL) { in bio_make_pair()
637 b1->peer = bio2; in bio_make_pair()
640 b2->peer = bio1; in bio_make_pair()
655 BIO *peer_bio = b->peer; in bio_destroy_pair()
661 assert(peer_b->peer == bio); in bio_destroy_pair()
663 peer_b->peer = NULL; in bio_destroy_pair()
669 b->peer = NULL; in bio_destroy_pair()