/illumos-gate/usr/src/lib/libmapmalloc/common/ |
H A D | valloc.c | 45 * memalign(align,nbytes) - do nothing 50 memalign(size_t align, size_t nbytes) argument
|
H A D | textmem.c | 93 static size_t align(size_t, int); 115 size = align(size, MINSZ); 133 size_t totpage = align(totsize, pagesize); 170 size = align(size, MINSZ); 216 align(size_t size, int bound) function
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | door_support.c | 57 door_final_sp(uintptr_t resultsp, size_t align, int datamodel) argument
|
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_alloc.c | 36 * is chosen. In either case, align is not ignored. 49 prom_alloc(caddr_t virthint, size_t size, u_int align) argument 55 if (align == 0) 56 align = (u_int)1; 63 virt = prom_allocate_virt(align, size); 76 if (prom_allocate_phys(size, align, &physaddr) == -1) { 109 prom_malloc(caddr_t virt, size_t size, u_int align) argument 119 ci[5] = p1275_uint2cell(align); /* Arg3: align */
|
H A D | prom_retain.c | 38 prom_retain(char *id, size_t size, u_int align, unsigned long long *physaddr) argument 52 ci[5] = p1275_uint2cell(align); /* Arg2: SA1: align */
|
H A D | prom_mem.c | 64 prom_allocate_phys(size_t size, uint_t align, unsigned long long *physaddr) argument 73 if (align == 0) 74 align = (uint_t)1; 81 ci[5] = p1275_uint2cell(align); /* Arg3: SA1: align */ 120 ci[5] = 0; /* Arg3: SA1: align */
|
H A D | prom_mmu.c | 105 prom_allocate_virt(uint_t align, size_t size) argument 114 if (align == 0) 115 align = 1; 122 ci[5] = p1275_uint2cell(align); /* Arg3: SA1: align */ 154 ci[5] = (cell_t)0; /* Arg3: align */
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | door_support.c | 85 door_final_sp(uintptr_t resultsp, size_t align, int datamodel) argument 89 return (P2ALIGN(resultsp - minframe, align));
|
/illumos-gate/usr/src/lib/efcode/packages/ |
H A D | memalloc.c | 46 int align; local 53 align = POP(DS); 55 fc_int2cell(align), fc_size2cell(size), fc_ptr2cell(hint), &vaddr);
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | standalloc.c | 44 size_t bytes, caddr_t virthint, int align); 58 kern_resalloc(caddr_t virthint, size_t size, int align) argument 61 return (resalloc(RES_CHILDVIRT, size, virthint, align)); 78 get_progmemory(caddr_t vaddr, size_t size, int align) argument 95 if (resalloc(RES_CHILDVIRT, size, vaddr, align) != vaddr)
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | memalign.c | 40 * memalign(align, nbytes) 61 memalign(size_t align, size_t nbytes) argument 81 if (nbytes == 0 || _misaligned(align) || align == 0 || 82 align > MAX_ALIGN) { 105 ROUND(align); 106 while (align < MINSIZE + WORDSIZE) 107 align <<= 1; 108 reqsize = nbytes + align + (MINSIZE + WORDSIZE); 134 if (x % align ! 193 aligned_alloc(size_t align, size_t size) argument [all...] |
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | audio.h | 52 uint16_t align; member in struct:__anon67
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_buf.c | 86 const void *buf, size_t len, size_t align) 89 size_t adj = roundup(off, align) - off; 127 const dt_buf_t *src, size_t align) 134 (size_t)(src->dbu_ptr - src->dbu_buf), align); 139 dt_buf_offset(const dt_buf_t *bp, size_t align) argument 142 return (roundup(off, align)); 85 dt_buf_write(dtrace_hdl_t *dtp, dt_buf_t *bp, const void *buf, size_t len, size_t align) argument 126 dt_buf_concat(dtrace_hdl_t *dtp, dt_buf_t *dst, const dt_buf_t *src, size_t align) argument
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | inet6_opt.c | 72 socklen_t len, uint_t align, void **databufp) 78 if (align > len || 79 (align != 1 && align != 2 && align != 4 && align != 8) || 94 remainder = (offset + 2 + len) % align; 98 padbytes = align - remainder; 71 inet6_opt_append(void *extbuf, socklen_t extlen, int offset, uint8_t type, socklen_t len, uint_t align, void **databufp) argument
|
/illumos-gate/usr/src/lib/libtnfprobe/ |
H A D | tnf_args.c | 70 size_t align; local 89 align = tag_p->tag_align - 1; 90 assert(align != 0); 91 offset = ALIGN_ROUNDUP(offset, align);
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | rpool.c | 34 char align[SM_ALIGN_SIZE]; member in union:__anon1376
|
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmlast.c | 392 static Void_t* lastalign(Vmalloc_t* vm, size_t size, size_t align) argument 394 static Void_t* lastalign(vm, size, align) 397 size_t align; 407 if(size <= 0 || align <= 0) 419 orgalign = align; 423 align = MULTIPLE(align,ALIGN); 425 s = size + align; 436 if((s = (size_t)(VLONG(data)%align)) != 0) 437 data += align [all...] |
H A D | vmpool.c | 337 static Void_t* poolalign(Vmalloc_t* vm, size_t size, size_t align) argument 339 static Void_t* poolalign(vm, size, align) 342 size_t align; 347 NOTUSED(align);
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_umem.c | 63 mdb_umem_handler(size_t nbytes, size_t align, uint_t flags) argument 103 if (align != 0) 104 ptr = memalign(align, nbytes); 167 mdb_alloc_align(size_t nbytes, size_t align, uint_t flags) argument 179 if (align != 0) 180 ptr = memalign(align, nbytes); 186 ptr = mdb_umem_handler(nbytes, align, flags);
|
/illumos-gate/usr/src/lib/libtnf/ |
H A D | info.c | 184 info->align = _tnf_get_align(tnf, tag); 370 size_t ref_size, align; local 388 align = INFO_ALIGN(elt_info); /* XXX */ 391 offset = ALIGN(offset, align);
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | malloc.c | 149 memalign(size_t align, size_t size_arg) argument 159 if (size_arg == 0 || align == 0 || (align & (align - 1)) != 0) { 167 if (align <= UMEM_ALIGN || 168 (align <= UMEM_SECOND_ALIGN && size_arg >= UMEM_SECOND_ALIGN)) 177 ASSERT(overhead <= align); 180 phase = align - overhead; 192 buf = vmem_xalloc(umem_memalign_arena, size, align, phase, 196 if ((size_arg + align) < [all...] |
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | kmem.c | 81 size_t align, /* required object alignment */ 100 uc = umem_cache_create(name, bufsize, align, 78 kmem_cache_create( char *name, size_t bufsize, size_t align, int (*constructor)(void *, void *, int), void (*destructor)(void *, void *), void (*reclaim)(void *), void *private, vmem_t *vmp, int kcflags) argument
|
/illumos-gate/usr/src/lib/nsswitch/dns/common/ |
H A D | gethostent.c | 68 } align; typedef in typeref:union:__anon4248
|
H A D | gethostent6.c | 61 } align; typedef in typeref:union:__anon4249
|
/illumos-gate/usr/src/lib/efcode/gp2/ |
H A D | gp2.c | 203 fstack_t portid, bar, align, type, size_hi, size_lo; local 212 align = POP(DS); 218 fc_int2cell(portid), fc_int2cell(bar), fc_int2cell(align), 227 (int)bar, (int)align, (int)type, (int)size_hi, (int)size_lo,
|