Searched refs:allocsize (Results 1 – 10 of 10) sorted by relevance
| /freebsd-14.2/sys/dev/sound/pcm/ |
| H A D | buffer.c | 165 unsigned int bufsize, allocsize; in sndbuf_resize() local 184 if (bufsize > b->allocsize || in sndbuf_resize() 186 allocsize = round_page(bufsize); in sndbuf_resize() 193 b->allocsize, allocsize, bufsize); in sndbuf_resize() 197 b->allocsize = allocsize; in sndbuf_resize() 215 unsigned int bufsize, allocsize; in sndbuf_remalloc() local 223 if (bufsize > b->allocsize || in sndbuf_remalloc() 225 allocsize = round_page(bufsize); in sndbuf_remalloc() 242 __func__, b, b->allocsize, allocsize, bufsize); in sndbuf_remalloc() 243 b->allocsize = allocsize; in sndbuf_remalloc() [all …]
|
| H A D | buffer.h | 40 unsigned int bufsize, maxsize, allocsize; member
|
| /freebsd-14.2/bin/sh/ |
| H A D | memalloc.c | 145 int allocsize; in stnewblock() local 150 allocsize = ALIGN(sizeof(struct stack_block)) + ALIGN(nbytes); in stnewblock() 153 sp = ckmalloc(allocsize); in stnewblock() 156 stacknleft = allocsize - (stacknxt - (char*)sp); in stnewblock()
|
| /freebsd-14.2/sys/powerpc/pseries/ |
| H A D | plpar_iommu.c | 167 bus_size_t allocsize; in phyp_iommu_map() local 179 allocsize = round_page(segs[i].ds_len + in phyp_iommu_map() 181 error = vmem_xalloc(window->map->vmem, allocsize, in phyp_iommu_map() 195 for (j = 0; j < allocsize; j += PAGE_SIZE) { in phyp_iommu_map()
|
| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | zcp.c | 730 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-14.2/lib/libmemstat/ |
| H A D | memstat_malloc.c | 480 int numzones, objsize, allocsize, ret; in memstat_malloc_zone_init_kvm() local 497 allocsize = objsize * memstat_malloc_zone_count; in memstat_malloc_zone_init_kvm() 498 kmemzones = malloc(allocsize); in memstat_malloc_zone_init_kvm() 502 ret = kread_symbol(kvm, X_KMEMZONES, kmemzones, allocsize, 0); in memstat_malloc_zone_init_kvm()
|
| /freebsd-14.2/sbin/restore/ |
| H A D | symtab.c | 375 #define allocsize(size) roundup2((size) + 1, STRTBLINCR) macro 377 static struct strhdr strtblhdr[allocsize(NAME_MAX) / STRTBLINCR]; 398 cp = malloc(allocsize(len)); in savename() 465 (int)allocsize(ep->e_namlen), fd); in dumpsymtable() 477 stroff += allocsize(ep->e_namlen); in dumpsymtable()
|
| /freebsd-14.2/sys/contrib/dev/iwlwifi/pcie/ |
| H A D | rx.c | 370 unsigned int allocsize = PAGE_SIZE << trans_pcie->rx_page_order; 384 if (trans_pcie->alloc_page_used >= allocsize) 410 if (2 * rbsize <= allocsize) {
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Attributes.td | 65 def AllocSize : IntAttr<"allocsize", [FnAttr]>;
|
| /freebsd-14.2/contrib/expat/lib/ |
| H A D | xmlparse.c | 7941 const size_t allocsize = (dtd->scaffCount * sizeof(XML_Content) in build_model() local 7944 ret = (XML_Content *)MALLOC(parser, allocsize); in build_model()
|