/freebsd-current/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-current/sys/dev/vmware/vmci/ |
H A D | vmci_kernel_defs.h | 27 #define ROUNDUP(x, y) roundup(x, y) macro
|
H A D | vmci_driver.c | 260 dg = (struct vmci_datagram *)ROUNDUP((uintptr_t)dg + 1,
|
/freebsd-current/contrib/ntp/libntp/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-current/usr.sbin/ppp/ |
H A D | defs.h | 118 #define ROUNDUP(x) ((x) ? (1 + (((x) - 1) | (sizeof(long) - 1))) : sizeof(long)) macro
|
H A D | route.c | 319 wp += ROUNDUP(sa[rtax]->sa_len); 707 padlen = ROUNDUP(len);
|
H A D | iface.c | 838 wp += ROUNDUP(sa[rtax]->sa_len);
|
/freebsd-current/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-current/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-current/sys/sys/ |
H A D | gmon.h | 149 #define ROUNDUP(x,y) roundup(x,y) macro
|
/freebsd-current/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-current/usr.sbin/rtsold/ |
H A D | if.c | 250 #define ROUNDUP(a, size) \ macro 254 ((caddr_t)(ap) + ((ap)->sa_len ? ROUNDUP((ap)->sa_len,\
|
/freebsd-current/crypto/openssh/ |
H A D | sshbuf.c | 264 rlen = ROUNDUP(buf->size, SSHBUF_SIZE_INC); 352 rlen = ROUNDUP(buf->alloc + need, SSHBUF_SIZE_INC);
|
H A D | misc.h | 243 #define ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y)) macro
|
H A D | packet.c | 998 out_blocks = ROUNDUP(outbound_packet_len, 1137 ROUNDUP(state->extra_pad, block_size);
|
H A D | kex.c | 1324 if ((digest = calloc(1, ROUNDUP(need, mdsz))) == NULL) {
|
/freebsd-current/lib/libc/gmon/ |
H A D | gmon.c | 74 p->highpc = ROUNDUP(highpc, HISTFRACTION * sizeof(HISTCOUNTER));
|
/freebsd-current/usr.sbin/route6d/ |
H A D | route6d.c | 79 #define ROUNDUP(a) \ macro 81 #define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len)) 1799 q += ROUNDUP(rta[i]->sin6_len); 2687 rtmp += ROUNDUP(sin6_dst->sin6_len); 2690 rtmp += ROUNDUP(sin6_gw->sin6_len); 2694 rtmp += ROUNDUP(sin6_mask->sin6_len); 2698 rtmp += ROUNDUP(sin6_genmask->sin6_len); 2702 rtmp += ROUNDUP(sin6_ifp->sin6_len); 2850 sin6 = (struct sockaddr_in6 *)(void *)((char *)sin6 + ROUNDUP(sin6->sin6_len)); 2857 sin6 = (struct sockaddr_in6 *)(void *)((char *)sin6 + ROUNDUP(sin [all...] |
/freebsd-current/usr.sbin/rtadvd/ |
H A D | if.c | 60 #define ROUNDUP(a, size) \ macro 65 ((ap)->sa_len ? ROUNDUP((ap)->sa_len, sizeof(u_long)) : \
|
/freebsd-current/contrib/bmake/ |
H A D | meta.c | 96 #ifndef ROUNDUP 97 # define ROUNDUP(n, u) (N2U((n), (u)) * (u)) macro 884 newsz = ROUNDUP(((size_t)fs.st_size / 2), BUFSIZ); 886 newsz = ROUNDUP((size_t)fs.st_size, BUFSIZ);
|
/freebsd-current/sys/dev/qlnx/qlnxe/ |
H A D | ecore_cxt.c | 371 iids->pf_cids = ROUNDUP(iids->pf_cids, TM_ALIGN); 372 iids->per_vf_cids = ROUNDUP(iids->per_vf_cids, TM_ALIGN); 373 iids->per_vf_tids = ROUNDUP(iids->per_vf_tids, TM_ALIGN); 376 iids->pf_tids[j] = ROUNDUP(iids->pf_tids[j], TM_ALIGN); 493 p_conn->cid_count = ROUNDUP(cid_count, DQ_RANGE_ALIGN); 494 p_conn->cids_per_vf = ROUNDUP(vf_cid_cnt, DQ_RANGE_ALIGN); 502 p_conn->cid_count = ROUNDUP(p_conn->cid_count, align);
|
H A D | bcm_osal.h | 401 #define ROUNDUP(value, to_what) QLNX_ROUNDUP((value), (to_what)) macro
|
/freebsd-current/contrib/ofed/opensm/complib/ |
H A D | cl_pool.c | 131 ROUNDUP(p_pool->component_sizes[i], sizeof(uintptr_t));
|
/freebsd-current/sbin/dhclient/ |
H A D | dhclient.c | 142 #define ROUNDUP(a) \ macro 144 #define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len))
|