Lines Matching refs:n_to_read
584 do_read(struct bufferevent_openssl *bev_ssl, int n_to_read) { in do_read() argument
596 if (n_to_read > atmost) in do_read()
597 n_to_read = atmost; in do_read()
599 n = evbuffer_reserve_space(input, n_to_read, space, 2); in do_read()
788 int n_to_read; in consider_reading() local
799 n_to_read = bytes_to_read(bev_ssl); in consider_reading()
801 while (n_to_read) { in consider_reading()
802 r = do_read(bev_ssl, n_to_read); in consider_reading()
819 n_to_read = SSL_pending(bev_ssl->ssl); in consider_reading()
835 if (!n_to_read && bev_ssl->underlying) in consider_reading()
836 n_to_read = bytes_to_read(bev_ssl); in consider_reading()