allocsize
int allocsize;
allocsize = ALIGN(sizeof(struct stack_block)) + ALIGN(nbytes);
sp = ckmalloc(allocsize);
stacknleft = allocsize - (stacknxt - (char*)sp);
int allocsize;
allocsize = offsetof(struct jdata, jd_data[recsize]);
allocsize = (allocsize + 255) & ~255;
jd = malloc(allocsize);
jd->jd_alloc = allocsize;
allocsize = offsetof(struct jdata, jd_data[recsize]);
allocsize = (allocsize + 255) & ~255;
jd = malloc(allocsize);
jd->jd_alloc = allocsize;
cp = malloc((unsigned)allocsize(len));
(int)allocsize(ep->e_namlen), fd);
stroff += allocsize(ep->e_namlen);
unsigned int bufsize, allocsize;
if (bufsize > b->allocsize ||
bufsize < (b->allocsize >> SNDBUF_CACHE_SHIFT)) {
allocsize = round_page(bufsize);
tmpbuf = kmalloc(allocsize, M_DEVBUF, M_WAITOK);
b->allocsize, allocsize, bufsize);
b->allocsize = allocsize;
__func__, b, b->allocsize, b->bufsize);
unsigned int bufsize, allocsize;
if (bufsize > b->allocsize ||
bufsize < (b->allocsize >> SNDBUF_CACHE_SHIFT)) {
allocsize = round_page(bufsize);
buf = kmalloc(allocsize, M_DEVBUF, M_WAITOK);
tmpbuf = kmalloc(allocsize, M_DEVBUF, M_WAITOK);
shadbuf = kmalloc(allocsize, M_DEVBUF, M_WAITOK);
__func__, b, b->allocsize, allocsize, bufsize);
b->allocsize = allocsize;
__func__, b, b->allocsize, b->bufsize);
return b->allocsize;
unsigned int bufsize, maxsize, allocsize;
allocsize += allocsize;
p = (char **)realloc(elem, allocsize * sizeof(char *));
endelem = p + allocsize;
static int allocsize = BUFSIZ;