/illumos-gate/usr/src/boot/sys/boot/arm/at91/ |
H A D | linker.cfg | 50 . = ALIGN(32 / 8); 52 . = ALIGN(32 / 8);
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/i386/ |
H A D | ldscript.i386 | 11 . = ALIGN(4096); 18 . = ALIGN(4096); 32 . = ALIGN(4096); 38 . = ALIGN(4096); 47 . = ALIGN(4096); 49 . = ALIGN(4096); 64 . = ALIGN(4096); 66 . = ALIGN(4096); 68 . = ALIGN(4096); 70 . = ALIGN(409 [all...] |
/illumos-gate/usr/src/lib/libresolv2/include/ |
H A D | sunw_port_after.h | 103 #undef ALIGN macro 105 #define ALIGN(x) (((uintptr_t)(x) + (sizeof (char *) - 1UL)) & \ macro 108 #define ALIGN(x) (((unsigned long)(x) + (sizeof (char *) - 1UL)) & \ macro
|
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmopen.c | 44 char a[3*ALIGN]; /* extra to fuss with alignment */ 86 if((a = (size_t)(VLONG(addr)%ALIGN)) != 0) 87 addr += ALIGN-a; 105 incr = MULTIPLE(incr,ALIGN); 115 if((a = (size_t)(VLONG(addr)%ALIGN)) != 0) 116 addr += ALIGN-a; 138 vd->seg = (Seg_t*)(addr + ROUND(incr,ALIGN)); 139 /**/ ASSERT(VLONG(vd->seg)%ALIGN == 0); 144 seg->addr = (Void_t*)(addr - (a ? ALIGN-a : 0)); 146 seg->baddr = addr + s - (a ? ALIGN [all...] |
H A D | vmprivate.c | 66 s = size + sizeof(Seg_t) + sizeof(Block_t) + sizeof(Head_t) + 2*ALIGN; 157 if((s = (size_t)(VLONG(addr)%ALIGN)) != 0) 158 addr += ALIGN-s; 162 seg->addr = (Void_t*)(addr - (s ? ALIGN-s : 0)); 164 seg->baddr = addr + size - (s ? 2*ALIGN : 0);
|
H A D | vmhdr.h | 240 /* ALIGN is chosen so that a block can store all primitive types. 271 #undef ALIGN /* bsd sys/param.h defines this */ macro 272 #define ALIGN sizeof(struct _align_s) macro 274 /* make sure that the head of a block is a multiple of ALIGN */ 288 #define HEADSIZE ROUND(sizeof(struct _head_s),ALIGN) 294 /* now make sure that the body of a block is a multiple of ALIGN */ 301 #define BODYSIZE ROUND(sizeof(struct _body_s),ALIGN) 308 ** sizeof(Head_t)%ALIGN == 0 309 ** sizeof(Body_t)%ALIGN == 0 322 #define TINYSIZE ROUND(sizeof(struct _tiny_s),ALIGN) [all...] |
H A D | vmlast.c | 61 size = size < ALIGN ? ALIGN : ROUND(size,ALIGN); 211 if(!seg || (VLONG(data)%ALIGN) != 0 || 236 size = size < ALIGN ? ALIGN : ROUND(size,ALIGN); 422 size = size <= TINYSIZE ? TINYSIZE : ROUND(size,ALIGN); 423 align = MULTIPLE(align,ALIGN);
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/arm/ |
H A D | ldscript.arm | 18 . = ALIGN(16); 27 . = ALIGN(4); 35 . = ALIGN(4);
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/arm64/ |
H A D | ldscript.arm64 | 19 . = ALIGN(16); 30 . = ALIGN(16); 37 . = ALIGN(16); 40 . = ALIGN(16); 46 . = ALIGN(16); 54 . = ALIGN(16); 56 . = ALIGN(16); 71 . = ALIGN(16); 73 . = ALIGN(16);
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | getdents.c | 36 #define ALIGN 4 macro 90 strlen(ndir->d_name) + ALIGN) & ~(ALIGN - 1)) < 97 dir->d_namlen + ALIGN) & -ALIGN);
|
/illumos-gate/usr/src/uts/sparc/krtld/ |
H A D | kobj_isa.c | 125 pp->size = ALIGN(pp->size, shp->sh_addralign); 126 pp->size += ALIGN(shp->sh_size, 8); 128 tp->size = ALIGN(tp->size, 8); 129 dp->size = ALIGN(dp->size, 8);
|
/illumos-gate/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_isa.c | 109 pp->size = ALIGN(pp->size, shp->sh_addralign); 110 pp->size += ALIGN(shp->sh_size, 8); 112 tp->size = ALIGN(tp->size, 8); 113 dp->size = ALIGN(dp->size, 8);
|
/illumos-gate/usr/src/uts/intel/ia32/krtld/ |
H A D | kobj_isa.c | 109 pp->size = ALIGN(pp->size, shp->sh_addralign); 110 pp->size += ALIGN(shp->sh_size, 8); 112 tp->size = ALIGN(tp->size, 8); 113 dp->size = ALIGN(dp->size, 8);
|
/illumos-gate/usr/src/boot/sys/boot/arm/at91/boot0/ |
H A D | linker.cfg | 78 . = ALIGN(32 / 8); 80 . = ALIGN(32 / 8);
|
/illumos-gate/usr/src/lib/watchmalloc/common/ |
H A D | mallint.h | 70 #define ALIGN 16 macro 72 #define ALIGN 8 macro 75 /* the proto-word; size must be ALIGN bytes */ 136 #define CORESIZE (1024*ALIGN) 137 #define MAX_GETCORE (size_t)(SSIZE_MAX & ~(ALIGN - 1)) /* round down ALIGN */ 138 #define MAX_MALLOC (size_t)(SIZE_MAX - CORESIZE - 3 * ALIGN) /* overflow chk */
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | mallint.h | 72 * Alignment (ALIGN) changed to 8 for SPARC ldd/std. 74 #define ALIGN 8 macro 98 #define ALIGN 16 macro 100 #define ALIGN 8 macro 103 /* the proto-word; size must be ALIGN bytes */ 107 char w_a[ALIGN]; /* to force size */ 166 #define CORESIZE (1024*ALIGN) 167 #define MAX_GETCORE (size_t)(SSIZE_MAX & ~(ALIGN - 1)) /* round down ALIGN */ 168 #define MAX_MALLOC (size_t)(SIZE_MAX - CORESIZE - 3 * ALIGN) /* overflo [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/include/ |
H A D | lock.h | 182 ((size_t)(sizeof(DB_LOCKREGION) + ALIGN((M * M), LOCK_HASH_ALIGN))) 191 (ALIGN(LOCK_HEADER_SIZE(M) + \ 193 (N) * ALIGN(sizeof(struct __db_lock), MUTEX_ALIGNMENT) + \ 194 ALIGN((N) * sizeof(DB_LOCKOBJ), sizeof(size_t)) + \ 195 ALIGN(STRING_SIZE(N), sizeof(size_t)))
|
/illumos-gate/usr/src/lib/libc/i386/crt/ |
H A D | _rtld.c | 49 #define ALIGN(x, a) ((int)(x) & ~((int)(a) - 1)) macro 196 ALIGN(fph->p_vaddr, page_size), page_size); 209 ALIGN(fph->p_vaddr, fph->p_align) + fph->p_align, 236 foff = ALIGN(pptr->p_offset, page_size); 242 addr = (caddr_t)ALIGN(faddr + pptr->p_vaddr, page_size);
|
/illumos-gate/usr/src/lib/libc/sparc/crt/ |
H A D | _rtld.c | 50 #define ALIGN(x, a) ((uintptr_t)(x) & ~((a) - 1)) macro 196 ALIGN(fph->p_vaddr, page_size), page_size); 209 ALIGN(fph->p_vaddr, fph->p_align) + fph->p_align, 236 foff = ALIGN(pptr->p_offset, page_size); 242 addr = (caddr_t)ALIGN(faddr + pptr->p_vaddr, page_size);
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | getprotoent_r.c | 146 len = (char *)ALIGN(buf) - buf; 161 cp = (char *)ALIGN(buf) + numptr * sizeof(char *); 170 pptr->p_aliases = (char **)ALIGN(buf);
|
/illumos-gate/usr/src/uts/common/smbsrv/ndl/ |
H A D | ndrtypes.ndl | 33 #define ALIGN(X) [align(X)] 90 #define ALIGN(X)
|
/illumos-gate/usr/src/boot/sys/i386/include/ |
H A D | param.h | 72 #define ALIGN(p) _ALIGN(p) macro
|
/illumos-gate/usr/src/cmd/sendmail/db/lock/ |
H A D | lock_region.c | 204 lrp->mem_bytes = ALIGN(STRING_SIZE(lrp->maxlocks), sizeof(size_t)); 241 curaddr += ALIGN(sizeof(struct __db_lock), MUTEX_ALIGNMENT)) { 371 usedlocks * ALIGN(sizeof(struct __db_lock), MUTEX_ALIGNMENT) + 375 ALIGN(sizeof(struct __db_lock), MUTEX_ALIGNMENT) / (float)used; 379 incr / ALIGN(sizeof(struct __db_lock), MUTEX_ALIGNMENT)); 383 newlocks * ALIGN(sizeof(struct __db_lock), MUTEX_ALIGNMENT)); 410 newmem += ALIGN(incr, sizeof(size_t)) - incr; 411 incr = ALIGN(incr, sizeof(size_t)); 420 incr += ALIGN(oldsize, MUTEX_ALIGNMENT) - oldsize; 444 curaddr += ALIGN(sizeo [all...] |
/illumos-gate/usr/src/lib/libmtmalloc/common/ |
H A D | mtmalloc.c | 137 #define ALIGN(x, a) ((((uintptr_t)(x) + ((uintptr_t)(a) - 1)) \ macro 165 #define CACHELIST_SIZE ALIGN(NUM_CACHES * sizeof (cache_head_t), \ 200 #define OVSZ_SIZE (ALIGN(sizeof (oversize_t), MTMALLOC_MIN_ALIGN)) 498 alloc_size = ALIGN(alloc_size, MTMALLOC_MIN_ALIGN); 514 taddr = ALIGN((uintptr_t)alloc_buf + size, 583 taddr = ALIGN((uintptr_t)alloc_buf + 638 taddr = ALIGN(ret_addr + size, 703 taddr = ALIGN(ret_addr + size, 833 newbrk = ALIGN(oldbrk, CACHE_COHERENCY_UNIT); 855 padding = ALIGN(newbr [all...] |
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | tls.c | 40 #define ALIGN 16 macro 42 #define ALIGN 8 macro 118 ASSERT((statictlssize & (ALIGN - 1)) == 0); 134 ASSERT((tlsp->tm_stattlsoffset & (ALIGN - 1)) == 0);
|