Home
last modified time | relevance | path

Searched refs:allocsize (Results 1 – 9 of 9) sorted by relevance

/freebsd-10-stable/sys/dev/sound/pcm/
Dbuffer.c164 unsigned int bufsize, allocsize; in sndbuf_resize() local
183 if (bufsize > b->allocsize || in sndbuf_resize()
184 bufsize < (b->allocsize >> SNDBUF_CACHE_SHIFT)) { in sndbuf_resize()
185 allocsize = round_page(bufsize); in sndbuf_resize()
187 tmpbuf = malloc(allocsize, M_DEVBUF, M_WAITOK); in sndbuf_resize()
192 b->allocsize, allocsize, bufsize); in sndbuf_resize()
196 b->allocsize = allocsize; in sndbuf_resize()
199 __func__, b, b->allocsize, b->bufsize); in sndbuf_resize()
214 unsigned int bufsize, allocsize; in sndbuf_remalloc() local
222 if (bufsize > b->allocsize || in sndbuf_remalloc()
[all …]
Dbuffer.h44 unsigned int bufsize, maxsize, allocsize; member
/freebsd-10-stable/bin/sh/
Dmemalloc.c138 int allocsize; in stnewblock() local
143 allocsize = ALIGN(sizeof(struct stack_block)) + ALIGN(nbytes); in stnewblock()
146 sp = ckmalloc(allocsize); in stnewblock()
149 stacknleft = allocsize - (stacknxt - (char*)sp); in stnewblock()
/freebsd-10-stable/sys/powerpc/pseries/
Dplpar_iommu.c166 bus_size_t allocsize; in phyp_iommu_map() local
178 allocsize = round_page(segs[i].ds_len + in phyp_iommu_map()
180 error = vmem_xalloc(window->map->vmem, allocsize, in phyp_iommu_map()
194 for (j = 0; j < allocsize; j += PAGE_SIZE) { in phyp_iommu_map()
/freebsd-10-stable/usr.bin/rs/
Drs.c83 static int allocsize = BUFSIZ; variable
380 allocsize += allocsize; in getptrs()
381 p = (char **)realloc(elem, allocsize * sizeof(char *)); in getptrs()
386 endelem = (elem = p) + allocsize; in getptrs()
/freebsd-10-stable/sbin/restore/
Dsymtab.c375 #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)); in savename()
465 (int)allocsize(ep->e_namlen), fd); in dumpsymtable()
477 stroff += allocsize(ep->e_namlen); in dumpsymtable()
/freebsd-10-stable/contrib/binutils/bfd/
Darchive.c377 bfd_size_type allocsize = sizeof (struct areltdata) + sizeof (struct ar_hdr); in _bfd_generic_read_ar_hdr_mag() local
423 allocsize += namelen + 1; in _bfd_generic_read_ar_hdr_mag()
426 allocptr = bfd_zalloc (abfd, allocsize); in _bfd_generic_read_ar_hdr_mag()
464 allocsize += namelen + 1; in _bfd_generic_read_ar_hdr_mag()
469 allocptr = bfd_zalloc (abfd, allocsize); in _bfd_generic_read_ar_hdr_mag()
/freebsd-10-stable/sys/dev/ie/
Dif_ie.c262 size_t allocsize; in ie_attach() local
289 allocsize = sizeof(void *) * (sc->nframes in ie_attach()
292 sc->rframes = (volatile struct ie_recv_frame_desc **) malloc(allocsize, in ie_attach()
/freebsd-10-stable/contrib/expat/lib/
Dxmlparse.c6429 int allocsize = (dtd->scaffCount * sizeof(XML_Content) in build_model() local
6432 ret = (XML_Content *)MALLOC(allocsize); in build_model()