Searched refs:allocsize (Results 1 - 8 of 8) sorted by relevance
/freebsd-9.3-release/sys/dev/sound/pcm/ |
H A D | buffer.c | 163 unsigned int bufsize, allocsize; local 182 if (bufsize > b->allocsize || 183 bufsize < (b->allocsize >> SNDBUF_CACHE_SHIFT)) { 184 allocsize = round_page(bufsize); 186 tmpbuf = malloc(allocsize, M_DEVBUF, M_WAITOK); 191 b->allocsize, allocsize, bufsize); 195 b->allocsize = allocsize; 198 __func__, b, b->allocsize, 213 unsigned int bufsize, allocsize; local [all...] |
H A D | buffer.h | 44 unsigned int bufsize, maxsize, allocsize; member in struct:snd_dbuf
|
/freebsd-9.3-release/bin/sh/ |
H A D | memalloc.c | 137 int allocsize; local 142 allocsize = ALIGN(sizeof(struct stack_block)) + ALIGN(nbytes); 145 sp = ckmalloc(allocsize); 148 stacknleft = allocsize - (stacknxt - (char*)sp);
|
/freebsd-9.3-release/usr.bin/rs/ |
H A D | rs.c | 83 int allocsize = BUFSIZ; variable 380 allocsize += allocsize; 381 p = (char **)realloc(elem, allocsize * sizeof(char *)); 386 endelem = (elem = p) + allocsize;
|
/freebsd-9.3-release/sbin/restore/ |
H A D | symtab.c | 366 * NB. The macro "allocsize" below assumes that "struct strhdr" 374 #define allocsize(size) (((size) + 1 + STRTBLINCR - 1) & ~(STRTBLINCR - 1)) macro 376 static struct strhdr strtblhdr[allocsize(NAME_MAX) / STRTBLINCR]; 397 cp = malloc((unsigned)allocsize(len)); 464 (int)allocsize(ep->e_namlen), fd); 476 stroff += allocsize(ep->e_namlen);
|
/freebsd-9.3-release/contrib/binutils/bfd/ |
H A D | archive.c | 380 bfd_size_type allocsize = sizeof (struct areltdata) + sizeof (struct ar_hdr); 426 allocsize += namelen + 1; 429 allocptr = bfd_zalloc (abfd, allocsize); 467 allocsize += namelen + 1; 472 allocptr = bfd_zalloc (abfd, allocsize); 377 bfd_size_type allocsize = sizeof (struct areltdata) + sizeof (struct ar_hdr); local
|
/freebsd-9.3-release/sys/dev/ie/ |
H A D | if_ie.c | 264 size_t allocsize; local 291 allocsize = sizeof(void *) * (sc->nframes 294 sc->rframes = (volatile struct ie_recv_frame_desc **) malloc(allocsize,
|
/freebsd-9.3-release/contrib/expat/lib/ |
H A D | xmlparse.c | 6385 int allocsize = (dtd->scaffCount * sizeof(XML_Content) local 6388 ret = (XML_Content *)MALLOC(allocsize);
|
Completed in 80 milliseconds