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

1234567

/freebsd-10.1-release/sys/kern/
H A Dsubr_module.c66 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 Dutil.c141 #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 Dfindsaddr-socket.c81 #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 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));\
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 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);
/freebsd-10.1-release/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);
/freebsd-10.1-release/sys/boot/amd64/efi/
H A Dbootinfo.c167 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 Dmetadata.c171 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 Dmetadata.c170 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 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)); \
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 Dofw_copy.c45 #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 Dcpuvar.h68 #define CPUC_SIZE1 roundup(CPUC_SIZE, CPU_CACHE_COHERENCE_SIZE)
/freebsd-10.1-release/sys/fs/ext2fs/
H A Dfs.h142 #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 Dtimer.h87 return roundup(j, hz);
/freebsd-10.1-release/sys/powerpc/include/
H A Dframe.h79 #define FRAMELEN roundup(sizeof(struct trapframe) + \
/freebsd-10.1-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_buf.c89 size_t adj = roundup(off, align) - off;
142 return (roundup(off, align));
/freebsd-10.1-release/crypto/openssh/
H A Dbuffer.c131 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 Dar9300_beacon.c129 HALASSERT(roundup(bs->bs_sleepduration, beaconintval) ==
136 roundup(bs->bs_sleepduration, dtimperiod) ==
/freebsd-10.1-release/sys/mips/mips/
H A Dmachdep.c405 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 Dgmon.h150 #define ROUNDUP(x,y) roundup(x,y)
/freebsd-10.1-release/sys/boot/i386/efi/
H A Dbootinfo.c149 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 Dbootinfo.c147 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 Ddb_capture.c105 db_capture_maxbufsize = roundup(db_capture_maxbufsize,
107 db_capture_bufsize = roundup(db_capture_bufsize, TEXTDUMP_BLOCKSIZE);
131 size = roundup(size, TEXTDUMP_BLOCKSIZE);

Completed in 293 milliseconds

1234567