/freebsd-11-stable/contrib/ofed/opensm/include/complib/ |
H A D | cl_math.h | 76 * MIN, ROUNDUP 102 * MAX, ROUNDUP 107 /****d* Component Library: Math/ROUNDUP 109 * ROUNDUP 112 * The ROUNDUP macro rounds a value up to a given multiple. 115 * ROUNDUP( val, align ); 133 #ifndef ROUNDUP 134 #define ROUNDUP(val, align) \ macro
|
/freebsd-11-stable/contrib/ntp/lib/isc/unix/ |
H A D | ifiter_sysctl.c | 35 #define ROUNDUP(a) ((a) > 0 ? \ macro 39 #define ROUNDUP(a) ((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) \ macro 235 + ROUNDUP(sa->sa_len)); 242 + ROUNDUP(_FAKE_SA_LEN_DST(sa))); 246 + ROUNDUP(sizeof(struct sockaddr)));
|
/freebsd-11-stable/sys/dev/snc/ |
H A D | dp83932var.h | 34 #define ROUNDUP(p, N) (((int) p + N - 1) & ~(N - 1)) macro 36 #define SOALIGN(m, array) (m ? (ROUNDUP(array, 4)) : (ROUNDUP(array, 2)))
|
/freebsd-11-stable/usr.sbin/rtsold/ |
H A D | rtsock.c | 58 #define ROUNDUP(a, size) \ macro 63 ((ap)->sa_len ? ROUNDUP((ap)->sa_len, sizeof(u_long)) \
|
H A D | if.c | 237 #define ROUNDUP(a, size) \ macro 241 ((caddr_t)(ap) + ((ap)->sa_len ? ROUNDUP((ap)->sa_len,\
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | defs.h | 120 #define ROUNDUP(x) ((x) ? (1 + (((x) - 1) | (sizeof(long) - 1))) : sizeof(long)) macro
|
H A D | route.c | 321 wp += ROUNDUP(sa[rtax]->sa_len); 709 padlen = ROUNDUP(len);
|
/freebsd-11-stable/contrib/tcsh/ |
H A D | tc.alloc.c | 107 #define MEMALIGN(a) (((a) + ROUNDUP) & ~ROUNDUP) 135 #define ROUNDUP 15 macro 137 #define ROUNDUP 7 macro 287 if (((U_long) op) & ROUNDUP) { 288 op = (union overhead *) (((U_long) op + (ROUNDUP + 1)) & ~ROUNDUP);
|
/freebsd-11-stable/contrib/netbsd-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);
|
/freebsd-11-stable/sys/sys/ |
H A D | gmon.h | 150 #define ROUNDUP(x,y) roundup(x,y) macro
|
/freebsd-11-stable/crypto/openssh/ |
H A D | misc.h | 148 #define ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y)) macro
|
H A D | sshbuf.c | 253 rlen = ROUNDUP(buf->size, SSHBUF_SIZE_INC); 342 rlen = ROUNDUP(buf->alloc + need, SSHBUF_SIZE_INC);
|
/freebsd-11-stable/contrib/gcc/config/i386/ |
H A D | gmon-sol2.c | 97 #define ROUNDUP(x,y) ((((x)+(y)-1)/(y))*(y)) macro 137 ROUNDUP((unsigned long)highpc, HISTFRACTION*sizeof(HISTCOUNTER));
|
/freebsd-11-stable/contrib/gcc/config/sparc/ |
H A D | gmon-sol2.c | 65 #define ROUNDUP(x,y) ((((x)+(y)-1)/(y))*(y)) macro 109 ROUNDUP((unsigned long)highpc, HISTFRACTION*sizeof(HISTCOUNTER));
|
/freebsd-11-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_mcast_tbl.c | 77 (uint8_t) ((ROUNDUP(num_ports, IB_MCAST_MASK_SIZE) / 80 p_tbl->max_block = (uint16_t) ((ROUNDUP(p_tbl->num_entries,
|
/freebsd-11-stable/lib/libc/gmon/ |
H A D | gmon.c | 78 p->highpc = ROUNDUP(highpc, HISTFRACTION * sizeof(HISTCOUNTER));
|
/freebsd-11-stable/usr.sbin/route6d/ |
H A D | route6d.c | 84 #define ROUNDUP(a) \ macro 86 #define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len)) 1783 q += ROUNDUP(rta[i]->sin6_len); 2671 rtmp += ROUNDUP(sin6_dst->sin6_len); 2674 rtmp += ROUNDUP(sin6_gw->sin6_len); 2678 rtmp += ROUNDUP(sin6_mask->sin6_len); 2682 rtmp += ROUNDUP(sin6_genmask->sin6_len); 2686 rtmp += ROUNDUP(sin6_ifp->sin6_len); 2834 sin6 = (struct sockaddr_in6 *)((char *)sin6 + ROUNDUP(sin6->sin6_len)); 2841 sin6 = (struct sockaddr_in6 *)((char *)sin6 + ROUNDUP(sin [all...] |
/freebsd-11-stable/release/picobsd/tinyware/ns/ |
H A D | ns.c | 176 #define ROUNDUP(a,size) (((a) & ((size)-1))?(1+((a)|((size)-1))):(a)) macro 180 ((caddr_t)ap+(ap->sa_len?ROUNDUP(ap->sa_len,sizeof(u_long)):\
|
/freebsd-11-stable/sys/kern/ |
H A D | subr_prof.c | 92 np.highpc = ROUNDUP(nhighpc, HISTFRACTION * sizeof(HISTCOUNTER)); 161 p->highpc = ROUNDUP((u_long)etext, HISTFRACTION * sizeof(HISTCOUNTER));
|
/freebsd-11-stable/usr.sbin/rtadvd/ |
H A D | if.c | 59 #define ROUNDUP(a, size) \ macro 64 ((ap)->sa_len ? ROUNDUP((ap)->sa_len, sizeof(u_long)) : \
|
/freebsd-11-stable/contrib/bmake/ |
H A D | meta.c | 98 #ifndef ROUNDUP 99 # define ROUNDUP(n, u) (N2U((n), (u)) * (u)) macro 871 newsz = ROUNDUP((fs.st_size / 2), BUFSIZ); 873 newsz = ROUNDUP(fs.st_size, BUFSIZ);
|
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | ecore_cxt.c | 373 iids->pf_cids = ROUNDUP(iids->pf_cids, TM_ALIGN); 374 iids->per_vf_cids = ROUNDUP(iids->per_vf_cids, TM_ALIGN); 375 iids->per_vf_tids = ROUNDUP(iids->per_vf_tids, TM_ALIGN); 378 iids->pf_tids[j] = ROUNDUP(iids->pf_tids[j], TM_ALIGN); 495 p_conn->cid_count = ROUNDUP(cid_count, DQ_RANGE_ALIGN); 496 p_conn->cids_per_vf = ROUNDUP(vf_cid_cnt, DQ_RANGE_ALIGN); 504 p_conn->cid_count = ROUNDUP(p_conn->cid_count, align);
|
H A D | bcm_osal.h | 419 #define ROUNDUP(value, to_what) QLNX_ROUNDUP((value), (to_what)) macro
|
/freebsd-11-stable/contrib/ofed/opensm/complib/ |
H A D | cl_pool.c | 131 ROUNDUP(p_pool->component_sizes[i], sizeof(uintptr_t));
|