Searched refs:roundup (Results 1 - 25 of 195) sorted by relevance

12345678

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dmallopt.c58 __mallinfo.grain = roundup(value, ALIGNSIZ);
69 __mallinfo.mxfast = roundup(__mallinfo.mxfast, __mallinfo.grain);
H A Dmemalign.c83 nbytes = roundup(nbytes, ALIGNSIZ);
99 x = roundup((uint)p, align); /* ccom work-around */
H A Dmallint.h109 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dnblk.c69 roundup(size, frsize) :
70 roundup(size, bsize);
/illumos-gate/usr/src/psm/stand/bootlst/common/
H A Dsasubr.c49 next = (caddr_t)roundup((uintptr_t)&_end, MINALLOC);
51 next += roundup(s, MINALLOC);
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf_notes.c98 + 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 Dold_notes.c71 + 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 Dmemlist.c77 tablep = (caddr_t)roundup((uintptr_t)tablep, 8);
83 n = roundup(n, 8);
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dbootinfo32.c69 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 Dbootinfo64.c70 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 Dbootinfo32.c69 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 Dbootinfo64.c70 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 Dmetadata.c181 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 Dmetadata.c212 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 Dparam.h189 #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 Dofw_copy.c45 #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 Dstartup.c804 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 Dsense.h61 (roundup(sizeof (struct scsi_extended_sense), sizeof (int)))
/illumos-gate/usr/src/boot/sys/boot/efi/loader/
H A Dbootinfo.c177 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 DPsymtab_machelf32.c355 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 Ddt_buf.c89 size_t adj = roundup(off, align) - off;
142 return (roundup(off, align));
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dsun4x_standalloc.c91 * |-------| 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 Dvmem_stand.c119 chksize = roundup(size, stand_chunksize);
/illumos-gate/usr/src/uts/sun4/sys/
H A Divintr.h51 #define IVSIZE roundup(((MAXIVNUM * sizeof (intr_vec_t *)) + \
/illumos-gate/usr/src/uts/sparc/os/
H A Dbootops.c232 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));

Completed in 84 milliseconds

12345678