Home
last modified time | relevance | path

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

/dflybsd-src/sys/dev/sound/pcm/
H A Dbuffer.c163 unsigned int bufsize, allocsize; in sndbuf_resize() local
182 if (bufsize > b->allocsize || in sndbuf_resize()
183 bufsize < (b->allocsize >> SNDBUF_CACHE_SHIFT)) { in sndbuf_resize()
184 allocsize = round_page(bufsize); in sndbuf_resize()
186 tmpbuf = kmalloc(allocsize, M_DEVBUF, M_WAITOK); in sndbuf_resize()
191 b->allocsize, allocsize, bufsize); in sndbuf_resize()
195 b->allocsize = allocsize; in sndbuf_resize()
198 __func__, b, b->allocsize, b->bufsize); in sndbuf_resize()
213 unsigned int bufsize, allocsize; in sndbuf_remalloc() local
221 if (bufsize > b->allocsize || in sndbuf_remalloc()
[all …]
H A Dbuffer.h44 unsigned int bufsize, maxsize, allocsize; member
/dflybsd-src/sbin/jscan/
H A Djfile.c230 int allocsize; in jread() local
380 allocsize = offsetof(struct jdata, jd_data[recsize]); in jread()
381 allocsize = (allocsize + 255) & ~255; in jread()
382 jd = malloc(allocsize); in jread()
419 jd->jd_alloc = allocsize; in jread()
452 allocsize = offsetof(struct jdata, jd_data[recsize]); in jread()
453 allocsize = (allocsize + 255) & ~255; in jread()
454 jd = malloc(allocsize); in jread()
490 jd->jd_alloc = allocsize; in jread()
/dflybsd-src/bin/sh/
H A Dmemalloc.c147 int allocsize; in stnewblock() local
152 allocsize = ALIGN(sizeof(struct stack_block)) + ALIGN(nbytes); in stnewblock()
155 sp = ckmalloc(allocsize); in stnewblock()
158 stacknleft = allocsize - (stacknxt - (char*)sp); in stnewblock()
/dflybsd-src/usr.bin/rs/
H A Drs.c73 static int allocsize = BUFSIZ; variable
364 allocsize += allocsize; in getptrs()
365 p = (char **)realloc(elem, allocsize * sizeof(char *)); in getptrs()
370 endelem = (elem = p) + allocsize; in getptrs()
/dflybsd-src/sbin/restore/
H A Dsymtab.c369 #define allocsize(size) roundup2((size) + 1, STRTBLINCR) macro
371 static struct strhdr strtblhdr[allocsize(NAME_MAX) / STRTBLINCR];
392 cp = malloc((unsigned)allocsize(len)); in savename()
459 (int)allocsize(ep->e_namlen), fd); in dumpsymtable()
471 stroff += allocsize(ep->e_namlen); in dumpsymtable()
/dflybsd-src/contrib/gdb-7/bfd/
H A Darchive.c472 bfd_size_type allocsize = sizeof (struct areltdata) + sizeof (struct ar_hdr); in _bfd_generic_read_ar_hdr_mag() local
521 allocsize += namelen + 1; in _bfd_generic_read_ar_hdr_mag()
525 allocptr = (char *) bfd_zmalloc (allocsize); in _bfd_generic_read_ar_hdr_mag()
564 allocsize += namelen + 1; in _bfd_generic_read_ar_hdr_mag()
569 allocptr = (char *) bfd_zmalloc (allocsize); in _bfd_generic_read_ar_hdr_mag()
/dflybsd-src/contrib/binutils-2.34/bfd/
H A Darchive.c492 bfd_size_type allocsize = sizeof (struct areltdata) + sizeof (struct ar_hdr); in _bfd_generic_read_ar_hdr_mag() local
541 allocsize += namelen + 1; in _bfd_generic_read_ar_hdr_mag()
545 allocptr = (char *) bfd_zmalloc (allocsize); in _bfd_generic_read_ar_hdr_mag()
584 allocsize += namelen + 1; in _bfd_generic_read_ar_hdr_mag()
589 allocptr = (char *) bfd_zmalloc (allocsize); in _bfd_generic_read_ar_hdr_mag()
/dflybsd-src/contrib/binutils-2.27/bfd/
H A Darchive.c492 bfd_size_type allocsize = sizeof (struct areltdata) + sizeof (struct ar_hdr); in _bfd_generic_read_ar_hdr_mag() local
541 allocsize += namelen + 1; in _bfd_generic_read_ar_hdr_mag()
545 allocptr = (char *) bfd_zmalloc (allocsize); in _bfd_generic_read_ar_hdr_mag()
584 allocsize += namelen + 1; in _bfd_generic_read_ar_hdr_mag()
589 allocptr = (char *) bfd_zmalloc (allocsize); in _bfd_generic_read_ar_hdr_mag()
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dvar-tracking.c7503 size_t allocsize; in loc_exp_dep_alloc() local
7521 allocsize = offsetof (struct onepart_aux, deps) in loc_exp_dep_alloc()
7527 VAR_LOC_1PAUX (var), allocsize); in loc_exp_dep_alloc()
7536 VAR_LOC_1PAUX (var) = XNEWVAR (struct onepart_aux, allocsize); in loc_exp_dep_alloc()
/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dvar-tracking.c8092 size_t allocsize; in loc_exp_dep_alloc() local
8110 allocsize = offsetof (struct onepart_aux, deps) in loc_exp_dep_alloc()
8116 VAR_LOC_1PAUX (var), allocsize); in loc_exp_dep_alloc()
8125 VAR_LOC_1PAUX (var) = XNEWVAR (struct onepart_aux, allocsize); in loc_exp_dep_alloc()
/dflybsd-src/contrib/expat/lib/
H A Dxmlparse.c7510 const size_t allocsize = (dtd->scaffCount * sizeof(XML_Content) in build_model() local
7513 ret = (XML_Content *)MALLOC(parser, allocsize); in build_model()