/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | mallopt.c | 58 __mallinfo.grain = roundup(value, ALIGNSIZ); 69 __mallinfo.mxfast = roundup(__mallinfo.mxfast, __mallinfo.grain);
|
H A D | memalign.c | 83 nbytes = roundup(nbytes, ALIGNSIZ); 99 x = roundup((uint)p, align); /* ccom work-around */
|
H A D | mallint.h | 109 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | nblk.c | 69 roundup(size, frsize) : 70 roundup(size, bsize);
|
/illumos-gate/usr/src/psm/stand/bootlst/common/ |
H A D | sasubr.c | 49 next = (caddr_t)roundup((uintptr_t)&_end, MINALLOC); 51 next += roundup(s, MINALLOC);
|
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf_notes.c | 98 + roundup(sizeof (psinfo_t), sizeof (Word)) 99 + roundup(sizeof (pstatus_t), sizeof (Word)) 100 + roundup(prgetprivsize(), sizeof (Word)) 101 + roundup(priv_get_implinfo_size(), sizeof (Word)) 102 + roundup(strlen(platform) + 1, sizeof (Word)) 103 + roundup(strlen(p->p_zone->zone_name) + 1, sizeof (Word)) 104 + roundup(__KERN_NAUXV_IMPL * sizeof (aux_entry_t), sizeof (Word)) 105 + roundup(sizeof (utsname), sizeof (Word)) 106 + roundup(sizeof (core_content_t), sizeof (Word)) 107 + roundup(sizeo [all...] |
H A D | old_notes.c | 71 + roundup(sizeof (prpsinfo_t), sizeof (Word)) 72 + roundup(strlen(platform) + 1, sizeof (Word)) 73 + roundup(__KERN_NAUXV_IMPL * sizeof (aux_entry_t), 75 + nlwp * roundup(sizeof (prstatus_t), sizeof (Word)); 78 + nlwp*roundup(sizeof (prfpregset_t), sizeof (Word)); 81 + nlwp * roundup(size, sizeof (Word)); 95 roundup(size, sizeof (Word));
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | memlist.c | 77 tablep = (caddr_t)roundup((uintptr_t)tablep, 8); 83 n = roundup(n, 8);
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | bootinfo32.c | 69 a += roundup(strlen(s) + 1, sizeof(u_long));\ 81 a += roundup(sizeof(s), sizeof(u_long)); \ 92 a += roundup(mm->md_size, sizeof(u_long));\ 205 addr = roundup(addr, PAGE_SIZE); 212 addr = roundup(addr, PAGE_SIZE); 228 kernend = roundup(addr + size, PAGE_SIZE);
|
H A D | bootinfo64.c | 70 a += roundup(strlen(s) + 1, sizeof(u_int64_t));\ 82 a += roundup(sizeof(s), sizeof(u_int64_t)); \ 93 a += roundup(mm->md_size, sizeof(u_int64_t));\ 222 addr = roundup(addr, PAGE_SIZE); 243 envp = roundup(addr + size, PAGE_SIZE); 247 kernend = roundup(addr, PAGE_SIZE);
|
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/ |
H A D | bootinfo32.c | 69 a += roundup(strlen(s) + 1, sizeof(uint32_t));\ 81 a += roundup(sizeof(s), sizeof(uint32_t)); \ 92 a += roundup(mm->md_size, sizeof(uint32_t));\ 184 addr = roundup(addr, PAGE_SIZE); 191 addr = roundup(addr, PAGE_SIZE); 207 kernend = roundup(addr + size, PAGE_SIZE);
|
H A D | bootinfo64.c | 70 a += roundup(strlen(s) + 1, sizeof(u_int64_t));\ 82 a += roundup(sizeof(s), sizeof(u_int64_t)); \ 93 a += roundup(mm->md_size, sizeof(u_int64_t));\ 223 addr = roundup(addr, PAGE_SIZE); 230 addr = roundup(addr, PAGE_SIZE); 246 kernend = roundup(addr + size, PAGE_SIZE);
|
/illumos-gate/usr/src/boot/sys/boot/uboot/common/ |
H A D | metadata.c | 181 a += roundup(strlen(s) + 1, sizeof(u_long));\ 193 a += roundup(sizeof(s), sizeof(u_long)); \ 204 a += roundup(mm->md_size, sizeof(u_long)); \ 300 addr = roundup(addr, PAGE_SIZE); 307 addr = roundup(addr, PAGE_SIZE); 316 addr += roundup(dtb_size, PAGE_SIZE); 341 kernend = roundup(addr + size, PAGE_SIZE);
|
/illumos-gate/usr/src/boot/sys/boot/sparc64/loader/ |
H A D | metadata.c | 212 a += roundup(strlen(s) + 1, sizeof(u_long));\ 224 a += roundup(sizeof(s), sizeof(u_long)); \ 235 a += roundup(mm->md_size, sizeof(u_long)); \ 310 addr = roundup(addr, PAGE_SIZE); 317 addr = roundup(addr, PAGE_SIZE); 337 kernend = roundup(addr + size, PAGE_SIZE);
|
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | param.h | 189 #define roundup(x, y) ((((u_int)(x)+((u_int)(y)-1))/(u_int)(y))*(u_int)(y)) macro 192 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
|
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | ofw_copy.c | 45 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro 86 dlen = roundup(nlen + resid, PAGE_SIZE);
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | startup.c | 804 aligned_end = (caddr_t)roundup((uintptr_t)end, alignsize); 996 moddata = (caddr_t)roundup((uintptr_t)e_data, MMU_PAGESIZE); 1000 nalloc_end = (caddr_t)roundup((uintptr_t)nalloc_base, MMU_PAGESIZE4M); 1017 modtext = (caddr_t)roundup((uintptr_t)e_text, MMU_PAGESIZE); 1020 modtext_sz = (caddr_t)roundup((uintptr_t)modtext, MMU_PAGESIZE4M) - 1089 alloc_base = (caddr_t)roundup((uintptr_t)nalloc_end, MMU_PAGESIZE); 1093 alloc_base = (caddr_t)roundup((uintptr_t)alloc_base, ecache_alignsize); 1101 alloc_base = (caddr_t)roundup((uintptr_t)alloc_base, ecache_alignsize); 1116 alloc_base = (caddr_t)roundup((uintptr_t)alloc_base, 1160 psetable_sz = roundup( [all...] |
/illumos-gate/usr/src/uts/common/sys/scsi/impl/ |
H A D | sense.h | 61 (roundup(sizeof (struct scsi_extended_sense), sizeof (int)))
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/ |
H A D | bootinfo.c | 177 a += roundup(strlen(s) + 1, sizeof(u_long)); \ 189 a += roundup(sizeof(s), sizeof(u_long)); \ 200 a += roundup(mm->md_size, sizeof(u_long)); \ 394 addr = roundup(addr, PAGE_SIZE); 401 addr = roundup(addr, PAGE_SIZE); 410 addr += roundup(dtb_size, PAGE_SIZE); 436 kernend = roundup(addr + size, PAGE_SIZE);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab_machelf32.c | 355 size += roundup(sizeof (shstr), SH_ADDRALIGN); 397 size += roundup(d[DI_STRSZ]->d_un.d_val, SH_ADDRALIGN); 401 size += roundup(phdr->p_filesz, SH_ADDRALIGN); 443 size += roundup(pltsz, SH_ADDRALIGN); 505 off += roundup(sp->sh_size, SH_ADDRALIGN); 560 off += roundup(sp->sh_size, SH_ADDRALIGN); 584 off += roundup(sp->sh_size, SH_ADDRALIGN); 604 off += roundup(sp->sh_size, SH_ADDRALIGN); 710 off += roundup(sp->sh_size, SH_ADDRALIGN);
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_buf.c | 89 size_t adj = roundup(off, align) - off; 142 return (roundup(off, align));
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | sun4x_standalloc.c | 91 * |-------| memlistpage (at roundup(_end, pagesize)) 250 bytes = roundup(bytes, pagesize); 309 memlistpage = (caddr_t)roundup((uintptr_t)_end, pagesize);
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | vmem_stand.c | 119 chksize = roundup(size, stand_chunksize);
|
/illumos-gate/usr/src/uts/sun4/sys/ |
H A D | ivintr.h | 51 #define IVSIZE roundup(((MAXIVNUM * sizeof (intr_vec_t *)) + \
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | bootops.c | 232 size = roundup(size, MAX(align, 8)); 240 size = roundup(size, PAGESIZE); 603 prom_free((caddr_t)(uintptr_t)eadr, roundup(esize, PAGESIZE)); 605 prom_free((caddr_t)(uintptr_t)dynseg, roundup(dynsize, PAGESIZE));
|