| /netbsd-src/external/gpl2/libmalloc/dist/ |
| H A D | ralloc.c | 117 #define ROUNDUP(size) (((unsigned long int) (size) + page_size - 1) \ macro 295 get = (char *) ROUNDUP ((char *)last_heap->end + get) 348 - (char *) ROUNDUP ((char *)last_heap->end - excess); in relinquish() 744 SIZE get = ROUNDUP (size); 746 address = (POINTER) ROUNDUP (virtual_break_value); 754 address = (POINTER) ROUNDUP (h->start); 766 address = (POINTER) ROUNDUP (virtual_break_value); 768 address = (POINTER) ROUNDUP (last_heap->start); 983 extra_bytes = ROUNDUP (50000); in r_alloc_init() 985 first_heap->end = (POINTER) ROUNDUP (first_heap->start); in r_alloc_init() [all …]
|
| /netbsd-src/external/bsd/tradcpp/dist/ |
| H A D | utils.c | 51 #define ROUNDUP(len, size) ((size) * (((len) + (size) - 1) / (size))) macro 65 return ROUNDUP(len, sz) + 2*sz; in adjustsize() 76 roundedlen = ROUNDUP(len, sizeof(struct mallocheader)); in placeheaders() 99 roundedlen = ROUNDUP(len, sizeof(struct mallocheader)); in checkheaders()
|
| /netbsd-src/external/bsd/pcc/dist/pcc/mip/ |
| H A D | common.c | 660 #define ROUNDUP(x) (((x) + ((ALIGNMENT)-1)) & ~((ALIGNMENT)-1)) macro 685 size = ROUNDUP(size); in permalloc() 723 #define NELEM ((MEMCHUNKSZ-ROUNDUP(sizeof(struct xalloc *)))/ALIGNMENT) 742 nelem = ROUNDUP(size)/ELEMSZ; in tmpalloc() 745 size += ROUNDUP(sizeof(struct xalloc *)); in tmpalloc() 840 allocleft -= ROUNDUP(len); in newstring() 841 permallocsize += ROUNDUP(len); in newstring()
|
| /netbsd-src/sys/arch/hpcmips/stand/pbsdboot/ |
| H A D | elf.c | 48 #define ROUNDUP(a, n) ((((int)(a)) + (n)-1)/(n)*(n)) macro 281 dbg_eh.e_entry = ROUNDUP(dbg_hdr_size + in scanfile() 337 int dbg_info_size = ROUNDUP(dbg_hdr_size + in scanfile()
|
| /netbsd-src/usr.sbin/rarpd/ |
| H A D | mkarp.c | 80 #define ROUNDUP(a) \ macro 246 cp += ROUNDUP(((struct sockaddr *)s)->sa_len);} in rtmsg()
|
| /netbsd-src/external/gpl3/binutils.old/dist/gprof/ |
| H A D | gmon.h | 155 #define ROUNDUP(x,y) ((((x)+(y)-1)/(y))*(y)) macro
|
| /netbsd-src/external/gpl3/binutils/dist/gprof/ |
| H A D | gmon.h | 155 #define ROUNDUP(x,y) ((((x)+(y)-1)/(y))*(y)) macro
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/config/sol2/ |
| H A D | gmon.c | 75 #define ROUNDUP(x, y) ((((x) + (y) - 1) / (y)) * (y)) macro 106 highpc = (char *) ROUNDUP ((size_t) highpc, in monstartup()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/sol2/ |
| H A D | gmon.c | 75 #define ROUNDUP(x, y) ((((x) + (y) - 1) / (y)) * (y)) macro 106 highpc = (char *) ROUNDUP ((size_t) highpc, in monstartup()
|
| /netbsd-src/usr.sbin/route6d/ |
| H A D | route6d.c | 84 #define ROUNDUP(a) RT_ROUNDUP(a) macro 86 #define ROUNDUP(a) \ macro 1527 q += ROUNDUP(rta[i]->sin6_len); in rtrecv() 2433 rtmp += ROUNDUP(sin6_dst->sin6_len); in rt_entry() 2436 rtmp += ROUNDUP(sin6_gw->sin6_len); in rt_entry() 2440 rtmp += ROUNDUP(sin6_mask->sin6_len); in rt_entry() 2444 rtmp += ROUNDUP(sin6_genmask->sin6_len); in rt_entry() 2448 rtmp += ROUNDUP(sin6_ifp->sin6_len); in rt_entry() 2590 sin6 = (struct sockaddr_in6 *)((char *)sin6 + ROUNDUP(sin6->sin6_len)); in addroute() 2595 sin6 = (struct sockaddr_in6 *)((char *)sin6 + ROUNDUP(sin6->sin6_len)); in addroute() [all …]
|
| /netbsd-src/tests/fs/puffs/h_dtfs/ |
| H A D | dtfs.h | 41 #define ROUNDUP(a,b) ((a) & ((b)-1)) macro
|
| H A D | dtfs_subr.c | 245 needalloc = newsize > ROUNDUP(df->df_datalen, DTFS_BLOCKSIZE); in dtfs_setsize()
|
| /netbsd-src/sbin/routed/ |
| H A D | if.c | 645 #define ROUNDUP(a) RT_ROUNDUP(a) in rt_xaddrs() macro 648 #define ROUNDUP(a) ((a) > 0 ? (1 + (((a) - 1) | (sizeof(__uint64_t) - 1))) \ in rt_xaddrs() macro 651 #define ROUNDUP(a) ((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) \ in rt_xaddrs() macro 665 + ROUNDUP(sa->sa_len)); in rt_xaddrs() 669 + ROUNDUP(_FAKE_SA_LEN_DST(sa))); in rt_xaddrs()
|
| /netbsd-src/usr.bin/make/ |
| H A D | meta.c | 92 #ifndef ROUNDUP 93 # define ROUNDUP(n, u) (N2U((n), (u)) * (u)) macro 877 newsz = ROUNDUP(((size_t)fs.st_size / 2), BUFSIZ); in fgetLine() 879 newsz = ROUNDUP((size_t)fs.st_size, BUFSIZ); in fgetLine()
|
| /netbsd-src/usr.sbin/rwhod/ |
| H A D | rwhod.c | 448 #define ROUNDUP(a) \ macro 450 #define ADVANCE(x, n) ((char *)(x) + ROUNDUP((n)->sa_len))
|
| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| H A D | misc.h | 254 #define ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y)) macro
|
| /netbsd-src/external/gpl3/gcc/dist/libdecnumber/ |
| H A D | decNumberLocal.h | 138 #define ROUNDUP(i, n) ((((i)+(n)-1)/n)*n) macro 361 #define DECPMAX9 (ROUNDUP(DECPMAX, 9)/9) /* 'Pmax' in 10**9s */
|
| H A D | decCommon.c | 471 uByte buffer[ROUNDUP(DECPMAX+3, 4)]; /* [+3 allows uInt padding] */ in decFinalize() 798 uByte buffer[ROUNDUP(DECSTRING+11, 8)]; /* room for most coefficents, */ in decFloatFromString()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libdecnumber/ |
| H A D | decNumberLocal.h | 138 #define ROUNDUP(i, n) ((((i)+(n)-1)/n)*n) macro 361 #define DECPMAX9 (ROUNDUP(DECPMAX, 9)/9) /* 'Pmax' in 10**9s */
|
| H A D | decCommon.c | 471 uByte buffer[ROUNDUP(DECPMAX+3, 4)]; /* [+3 allows uInt padding] */ in decFinalize() 798 uByte buffer[ROUNDUP(DECSTRING+11, 8)]; /* room for most coefficents, */ in decFloatFromString()
|
| /netbsd-src/external/gpl3/gdb/dist/libdecnumber/ |
| H A D | decNumberLocal.h | 138 #define ROUNDUP(i, n) ((((i)+(n)-1)/n)*n) macro 361 #define DECPMAX9 (ROUNDUP(DECPMAX, 9)/9) /* 'Pmax' in 10**9s */
|
| H A D | decCommon.c | 471 uByte buffer[ROUNDUP(DECPMAX+3, 4)]; /* [+3 allows uInt padding] */ in decFinalize() 798 uByte buffer[ROUNDUP(DECSTRING+11, 8)]; /* room for most coefficents, */ in decFloatFromString()
|
| /netbsd-src/external/gpl3/gdb.old/dist/libdecnumber/ |
| H A D | decNumberLocal.h | 138 #define ROUNDUP(i, n) ((((i)+(n)-1)/n)*n) macro 361 #define DECPMAX9 (ROUNDUP(DECPMAX, 9)/9) /* 'Pmax' in 10**9s */
|
| H A D | decCommon.c | 471 uByte buffer[ROUNDUP(DECPMAX+3, 4)]; /* [+3 allows uInt padding] */ in decFinalize() 798 uByte buffer[ROUNDUP(DECSTRING+11, 8)]; /* room for most coefficents, */ in decFloatFromString()
|
| /netbsd-src/sys/dev/pci/ |
| H A D | radeonfb.c | 213 #define ROUNDUP(x,y) (((x) + ((y) - 1)) & ~((y) - 1)) macro 672 ROUNDUP(ROUNDUP(sc->sc_maxx * sc->sc_maxbpp / 8 , in radeonfb_attach() 892 dp->rd_stride = ROUNDUP(dp->rd_stride, RADEON_STRIDEALIGN); in radeonfb_attach()
|