Lines Matching defs:allocsize
165 unsigned int bufsize, allocsize;
184 if (bufsize > b->allocsize ||
185 bufsize < (b->allocsize >> SNDBUF_CACHE_SHIFT)) {
186 allocsize = round_page(bufsize);
188 tmpbuf = malloc(allocsize, M_DEVBUF, M_WAITOK);
193 b->allocsize, allocsize, bufsize);
197 b->allocsize = allocsize;
200 __func__, b, b->allocsize, b->bufsize);
215 unsigned int bufsize, allocsize;
223 if (bufsize > b->allocsize ||
224 bufsize < (b->allocsize >> SNDBUF_CACHE_SHIFT)) {
225 allocsize = round_page(bufsize);
227 buf = malloc(allocsize, M_DEVBUF, M_WAITOK);
228 tmpbuf = malloc(allocsize, M_DEVBUF, M_WAITOK);
229 shadbuf = malloc(allocsize, M_DEVBUF, M_WAITOK);
242 __func__, b, b->allocsize, allocsize, bufsize);
243 b->allocsize = allocsize;
246 __func__, b, b->allocsize, b->bufsize);
448 return b->allocsize;