/freebsd-10.1-release/sys/kern/ |
H A D | subr_module.c | 66 next = roundup(next, sizeof(u_long)); 103 next = roundup(next, sizeof(u_long)); 128 next = roundup(next, sizeof(u_long)); 144 next = roundup(next, sizeof(u_long)); 190 next = roundup(next, sizeof(u_long)); 228 next = roundup(next, sizeof(u_long)); 286 next = roundup(next, sizeof(u_long));
|
/freebsd-10.1-release/crypto/heimdal/appl/rcp/ |
H A D | util.c | 141 #ifndef roundup 142 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro 158 size = roundup(stb.st_blksize, blksize);
|
/freebsd-10.1-release/contrib/traceroute/ |
H A D | findsaddr-socket.c | 81 #ifndef roundup 82 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ macro 132 cp += roundup(SALEN((struct sockaddr *)sp), sizeof(u_int32_t)); 198 cp += roundup(SALEN(sa), sizeof(long));
|
/freebsd-10.1-release/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));\ 220 addr = roundup(addr, PAGE_SIZE); 227 addr = roundup(addr, PAGE_SIZE); 243 kernend = roundup(addr + size, PAGE_SIZE);
|
/freebsd-10.1-release/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);
|
/freebsd-10.1-release/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);
|
/freebsd-10.1-release/sys/boot/amd64/efi/ |
H A D | bootinfo.c | 167 a += roundup(strlen(s) + 1, sizeof(uint64_t)); \ 179 a += roundup(sizeof(s), sizeof(uint64_t)); \ 190 a += roundup(mm->md_size, sizeof(uint64_t)); \ 334 addr = roundup(addr, PAGE_SIZE); 341 addr = roundup(addr, PAGE_SIZE); 358 kernend = roundup(addr + size, PAGE_SIZE);
|
/freebsd-10.1-release/sys/boot/powerpc/ofw/ |
H A D | metadata.c | 171 a += roundup(strlen(s) + 1, align); \ 183 a += roundup(sizeof(s), align); \ 194 a += roundup(mm->md_size, align); \ 280 addr = roundup(addr, PAGE_SIZE); 287 addr = roundup(addr, PAGE_SIZE); 308 kernend = roundup(addr + size, PAGE_SIZE);
|
/freebsd-10.1-release/sys/boot/powerpc/ps3/ |
H A D | metadata.c | 170 a += roundup(strlen(s) + 1, align); \ 182 a += roundup(sizeof(s), align); \ 193 a += roundup(mm->md_size, align); \ 279 addr = roundup(addr, PAGE_SIZE); 286 addr = roundup(addr, PAGE_SIZE); 307 kernend = roundup(addr + size, PAGE_SIZE);
|
/freebsd-10.1-release/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)); \ 309 addr = roundup(addr, PAGE_SIZE); 316 addr = roundup(addr, PAGE_SIZE); 336 kernend = roundup(addr + size, PAGE_SIZE);
|
/freebsd-10.1-release/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);
|
/freebsd-10.1-release/sys/cddl/compat/opensolaris/sys/ |
H A D | cpuvar.h | 68 #define CPUC_SIZE1 roundup(CPUC_SIZE, CPU_CACHE_COHERENCE_SIZE)
|
/freebsd-10.1-release/sys/fs/ext2fs/ |
H A D | fs.h | 142 #define fragroundup(fs, size) /* calculates roundup(size, fs->fs_fsize) */ \ 143 roundup(size, fs->e2fs_fsize)
|
/freebsd-10.1-release/sys/ofed/include/linux/ |
H A D | timer.h | 87 return roundup(j, hz);
|
/freebsd-10.1-release/sys/powerpc/include/ |
H A D | frame.h | 79 #define FRAMELEN roundup(sizeof(struct trapframe) + \
|
/freebsd-10.1-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_buf.c | 89 size_t adj = roundup(off, align) - off; 142 return (roundup(off, align));
|
/freebsd-10.1-release/crypto/openssh/ |
H A D | buffer.c | 131 newlen = roundup(buffer->alloc + len, BUFFER_ALLOCSZ); 157 if (roundup(buffer->alloc + len, BUFFER_ALLOCSZ) <= BUFFER_MAX_LEN)
|
/freebsd-10.1-release/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_beacon.c | 129 HALASSERT(roundup(bs->bs_sleepduration, beaconintval) == 136 roundup(bs->bs_sleepduration, dtimperiod) ==
|
/freebsd-10.1-release/sys/mips/mips/ |
H A D | machdep.c | 405 size = roundup(size, sizeof(u_long)); 411 size = roundup(size, sizeof(u_long)); 416 size = roundup(size, sizeof(u_long)); 421 size = roundup(size, sizeof(u_long));
|
/freebsd-10.1-release/sys/sys/ |
H A D | gmon.h | 150 #define ROUNDUP(x,y) roundup(x,y)
|
/freebsd-10.1-release/sys/boot/i386/efi/ |
H A D | bootinfo.c | 149 a += roundup(strlen(s) + 1, sizeof(u_int64_t));\ 160 a += roundup(sizeof(s), sizeof(u_int64_t)); \ 170 a += roundup(mm->md_size, sizeof(u_int64_t));\
|
/freebsd-10.1-release/sys/boot/ia64/common/ |
H A D | bootinfo.c | 147 a += roundup(strlen(s) + 1, sizeof(u_int64_t));\ 158 a += roundup(sizeof(s), sizeof(u_int64_t)); \ 168 a += roundup(mm->md_size, sizeof(u_int64_t));\
|
/freebsd-10.1-release/sys/ddb/ |
H A D | db_capture.c | 105 db_capture_maxbufsize = roundup(db_capture_maxbufsize, 107 db_capture_bufsize = roundup(db_capture_bufsize, TEXTDUMP_BLOCKSIZE); 131 size = roundup(size, TEXTDUMP_BLOCKSIZE);
|