Lines Matching refs:bufp
93 struct deflate_buf *bufh, *bufp; in deflate_global() local
97 bufh = bufp = NULL; in deflate_global()
117 bufh = bufp = malloc(sizeof(*bufp) + (size_t)(size * i), in deflate_global()
119 if (bufp == NULL) { in deflate_global()
124 bufp->next = NULL; in deflate_global()
125 bufp->size = size * i; in deflate_global()
133 zbuf.next_out = bufp->data; in deflate_global()
134 zbuf.avail_out = bufp->size; in deflate_global()
176 bufp->next = p; in deflate_global()
177 bufp = p; in deflate_global()
178 zbuf.next_out = bufp->data; in deflate_global()
179 zbuf.avail_out = bufp->size; in deflate_global()
202 for (bufp = bufh; bufp != NULL; ) { in deflate_global()
203 if (count > bufp->size) { in deflate_global()
206 bcopy(bufp->data, *out, bufp->size); in deflate_global()
207 *out += bufp->size; in deflate_global()
208 count -= bufp->size; in deflate_global()
209 p = bufp; in deflate_global()
210 bufp = bufp->next; in deflate_global()
214 bcopy(bufp->data, *out, count); in deflate_global()
216 free(bufp, M_CRYPTO_DATA); in deflate_global()
217 bufp = NULL; in deflate_global()
230 for (bufp = bufh; bufp != NULL; ) { in deflate_global()
233 p = bufp; in deflate_global()
234 bufp = bufp->next; in deflate_global()