Lines Matching refs:bufp
90 struct deflate_buf *bufh, *bufp; in deflate_global() local
94 bufh = bufp = NULL; in deflate_global()
114 bufh = bufp = malloc(sizeof(*bufp) + (size_t)(size * i), in deflate_global()
116 if (bufp == NULL) { in deflate_global()
121 bufp->next = NULL; in deflate_global()
122 bufp->size = size * i; in deflate_global()
130 zbuf.next_out = bufp->data; in deflate_global()
131 zbuf.avail_out = bufp->size; in deflate_global()
173 bufp->next = p; in deflate_global()
174 bufp = p; in deflate_global()
175 zbuf.next_out = bufp->data; in deflate_global()
176 zbuf.avail_out = bufp->size; in deflate_global()
199 for (bufp = bufh; bufp != NULL; ) { in deflate_global()
200 if (count > bufp->size) { in deflate_global()
203 bcopy(bufp->data, *out, bufp->size); in deflate_global()
204 *out += bufp->size; in deflate_global()
205 count -= bufp->size; in deflate_global()
206 p = bufp; in deflate_global()
207 bufp = bufp->next; in deflate_global()
211 bcopy(bufp->data, *out, count); in deflate_global()
213 free(bufp, M_CRYPTO_DATA); in deflate_global()
214 bufp = NULL; in deflate_global()
227 for (bufp = bufh; bufp != NULL; ) { in deflate_global()
230 p = bufp; in deflate_global()
231 bufp = bufp->next; in deflate_global()