Searched refs:allocsize (Results 1 - 9 of 9) sorted by relevance
/freebsd-10.1-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-10.1-release/bin/sh/ |
H A D | memalloc.c | 138 int allocsize; local 143 allocsize = ALIGN(sizeof(struct stack_block)) + ALIGN(nbytes); 146 sp = ckmalloc(allocsize); 149 stacknleft = allocsize - (stacknxt - (char*)sp);
|
/freebsd-10.1-release/sys/powerpc/pseries/ |
H A D | plpar_iommu.c | 166 bus_size_t allocsize; local 178 allocsize = round_page(segs[i].ds_len + 180 error = vmem_xalloc(window->map->vmem, allocsize, 196 alloced, tce, allocsize/PAGE_SIZE); 198 for (j = 0; j < allocsize; j += PAGE_SIZE)
|
/freebsd-10.1-release/usr.bin/rs/ |
H A D | rs.c | 83 static int allocsize = BUFSIZ; variable 380 allocsize += allocsize; 381 p = (char **)realloc(elem, allocsize * sizeof(char *)); 386 endelem = (elem = p) + allocsize;
|
/freebsd-10.1-release/sbin/restore/ |
H A D | symtab.c | 367 * NB. The macro "allocsize" below assumes that "struct strhdr" 375 #define allocsize(size) (((size) + 1 + STRTBLINCR - 1) & ~(STRTBLINCR - 1)) macro 377 static struct strhdr strtblhdr[allocsize(NAME_MAX) / STRTBLINCR]; 398 cp = malloc((unsigned)allocsize(len)); 465 (int)allocsize(ep->e_namlen), fd); 477 stroff += allocsize(ep->e_namlen);
|
/freebsd-10.1-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-10.1-release/sys/dev/ie/ |
H A D | if_ie.c | 262 size_t allocsize; local 289 allocsize = sizeof(void *) * (sc->nframes 292 sc->rframes = (volatile struct ie_recv_frame_desc **) malloc(allocsize,
|
/freebsd-10.1-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 199 milliseconds