Lines Matching refs:bufp
91 struct deflate_buf *bufh, *bufp; in deflate_global() local
95 bufh = bufp = NULL; in deflate_global()
115 bufh = bufp = malloc(sizeof(*bufp) + (size_t)(size * i), in deflate_global()
117 if (bufp == NULL) { in deflate_global()
122 bufp->next = NULL; in deflate_global()
123 bufp->size = size * i; in deflate_global()
131 zbuf.next_out = bufp->data; in deflate_global()
132 zbuf.avail_out = bufp->size; in deflate_global()
174 bufp->next = p; in deflate_global()
175 bufp = p; in deflate_global()
176 zbuf.next_out = bufp->data; in deflate_global()
177 zbuf.avail_out = bufp->size; in deflate_global()
200 for (bufp = bufh; bufp != NULL; ) { in deflate_global()
201 if (count > bufp->size) { in deflate_global()
204 bcopy(bufp->data, *out, bufp->size); in deflate_global()
205 *out += bufp->size; in deflate_global()
206 count -= bufp->size; in deflate_global()
207 p = bufp; in deflate_global()
208 bufp = bufp->next; in deflate_global()
212 bcopy(bufp->data, *out, count); in deflate_global()
214 free(bufp, M_CRYPTO_DATA); in deflate_global()
215 bufp = NULL; in deflate_global()
228 for (bufp = bufh; bufp != NULL; ) { in deflate_global()
231 p = bufp; in deflate_global()
232 bufp = bufp->next; in deflate_global()