Searched refs:allocsize (Results 1 – 11 of 11) sorted by relevance
| /freebsd-12.1/sys/dev/sound/pcm/ |
| H A D | buffer.c | 166 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 D | buffer.h | 46 unsigned int bufsize, maxsize, allocsize; member
|
| /freebsd-12.1/bin/sh/ |
| H A D | memalloc.c | 140 int allocsize; in stnewblock() local 145 allocsize = ALIGN(sizeof(struct stack_block)) + ALIGN(nbytes); in stnewblock() 148 sp = ckmalloc(allocsize); in stnewblock() 151 stacknleft = allocsize - (stacknxt - (char*)sp); in stnewblock()
|
| /freebsd-12.1/sys/powerpc/pseries/ |
| H A D | plpar_iommu.c | 169 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-12.1/usr.bin/rs/ |
| H A D | rs.c | 85 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-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| H A D | zcp.c | 749 int64_t allocsize = *allocbuf; in zcp_lua_alloc() local 750 ASSERT3S(allocsize, >, 0); in zcp_lua_alloc() 751 ASSERT3S(allocargs->aa_alloc_remaining + allocsize, <=, in zcp_lua_alloc() 753 allocargs->aa_alloc_remaining += allocsize; in zcp_lua_alloc() 754 kmem_free(allocbuf, allocsize); in zcp_lua_alloc() 759 int64_t allocsize = nsize + sizeof (int64_t); in zcp_lua_alloc() local 762 (allocsize <= 0 || in zcp_lua_alloc() 763 allocsize > allocargs->aa_alloc_remaining)) { in zcp_lua_alloc() 767 allocbuf = kmem_alloc(allocsize, flags); in zcp_lua_alloc() 771 allocargs->aa_alloc_remaining -= allocsize; in zcp_lua_alloc() [all …]
|
| /freebsd-12.1/sbin/restore/ |
| H A D | symtab.c | 377 #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-12.1/contrib/binutils/bfd/ |
| H A D | archive.c | 377 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-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Attributes.td | 21 def AllocSize : EnumAttr<"allocsize">;
|
| /freebsd-12.1/contrib/llvm/lib/AsmParser/ |
| H A D | LLLexer.cpp | 632 KEYWORD(allocsize); in LexIdentifier()
|
| /freebsd-12.1/contrib/expat/lib/ |
| H A D | xmlparse.c | 6429 int allocsize = (dtd->scaffCount * sizeof(XML_Content) in build_model() local 6432 ret = (XML_Content *)MALLOC(allocsize); in build_model()
|