Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/sound/pcm/
H A Dbuffer.c166 unsigned int bufsize, allocsize; in sndbuf_resize() local
185 if (bufsize > b->allocsize || in sndbuf_resize()
187 allocsize = round_page(bufsize); in sndbuf_resize()
194 b->allocsize, allocsize, bufsize); in sndbuf_resize()
198 b->allocsize = allocsize; in sndbuf_resize()
216 unsigned int bufsize, allocsize; in sndbuf_remalloc() local
224 if (bufsize > b->allocsize || in sndbuf_remalloc()
226 allocsize = round_page(bufsize); in sndbuf_remalloc()
243 __func__, b, b->allocsize, allocsize, bufsize); in sndbuf_remalloc()
244 b->allocsize = allocsize; in sndbuf_remalloc()
[all …]
H A Dbuffer.h46 unsigned int bufsize, maxsize, allocsize; member
/freebsd-13.1/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()
/freebsd-13.1/sys/powerpc/pseries/
H A Dplpar_iommu.c169 bus_size_t allocsize; in phyp_iommu_map() local
181 allocsize = round_page(segs[i].ds_len + in phyp_iommu_map()
183 error = vmem_xalloc(window->map->vmem, allocsize, in phyp_iommu_map()
197 for (j = 0; j < allocsize; j += PAGE_SIZE) { in phyp_iommu_map()
/freebsd-13.1/usr.bin/rs/
H A Drs.c85 static int allocsize = BUFSIZ; variable
382 allocsize += allocsize; in getptrs()
383 p = (char **)realloc(elem, allocsize * sizeof(char *)); in getptrs()
388 endelem = (elem = p) + allocsize; in getptrs()
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Dzcp.c730 int64_t allocsize = *allocbuf; in zcp_lua_alloc() local
731 ASSERT3S(allocsize, >, 0); in zcp_lua_alloc()
732 ASSERT3S(allocargs->aa_alloc_remaining + allocsize, <=, in zcp_lua_alloc()
734 allocargs->aa_alloc_remaining += allocsize; in zcp_lua_alloc()
735 vmem_free(allocbuf, allocsize); in zcp_lua_alloc()
740 int64_t allocsize = nsize + sizeof (int64_t); in zcp_lua_alloc() local
743 (allocsize <= 0 || in zcp_lua_alloc()
744 allocsize > allocargs->aa_alloc_remaining)) { in zcp_lua_alloc()
748 allocbuf = vmem_alloc(allocsize, KM_SLEEP); in zcp_lua_alloc()
749 allocargs->aa_alloc_remaining -= allocsize; in zcp_lua_alloc()
[all …]
/freebsd-13.1/lib/libmemstat/
H A Dmemstat_malloc.c482 int numzones, objsize, allocsize, ret; in memstat_malloc_zone_init_kvm() local
499 allocsize = objsize * memstat_malloc_zone_count; in memstat_malloc_zone_init_kvm()
500 kmemzones = malloc(allocsize); in memstat_malloc_zone_init_kvm()
504 ret = kread_symbol(kvm, X_KMEMZONES, kmemzones, allocsize, 0); in memstat_malloc_zone_init_kvm()
/freebsd-13.1/sbin/restore/
H A Dsymtab.c377 #define allocsize(size) roundup2((size) + 1, STRTBLINCR) macro
379 static struct strhdr strtblhdr[allocsize(NAME_MAX) / STRTBLINCR];
400 cp = malloc(allocsize(len)); in savename()
467 (int)allocsize(ep->e_namlen), fd); in dumpsymtable()
479 stroff += allocsize(ep->e_namlen); in dumpsymtable()
/freebsd-13.1/sys/contrib/dev/iwlwifi/pcie/
H A Drx.c370 unsigned int allocsize = PAGE_SIZE << trans_pcie->rx_page_order;
384 if (trans_pcie->alloc_page_used >= allocsize)
410 if (2 * rbsize <= allocsize) {
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.td52 def AllocSize : IntAttr<"allocsize", [FnAttr]>;
/freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp637 KEYWORD(allocsize); in LexIdentifier()
/freebsd-13.1/contrib/expat/lib/
H A Dxmlparse.c7488 const size_t allocsize = (dtd->scaffCount * sizeof(XML_Content) in build_model() local
7491 ret = (XML_Content *)MALLOC(parser, allocsize); in build_model()