Home
last modified time | relevance | path

Searched refs:ROUNDUP (Results 1 – 25 of 28) sorted by relevance

12

/freebsd-14-stable/contrib/ntp/libntp/lib/isc/unix/
HDifiter_sysctl.c35 #define ROUNDUP(a) ((a) > 0 ? \ macro
39 #define ROUNDUP(a) ((a) > 0 ? (1 + (((a) - 1) | (sizeof(long) - 1))) \ macro
235 + ROUNDUP(sa->sa_len)); in internal_current()
242 + ROUNDUP(_FAKE_SA_LEN_DST(sa))); in internal_current()
246 + ROUNDUP(sizeof(struct sockaddr))); in internal_current()
/freebsd-14-stable/contrib/tcsh/
HDtc.alloc.c107 #define MEMALIGN(a) (((a) + ROUNDUP) & ~ROUNDUP)
135 #define ROUNDUP 15 macro
137 #define ROUNDUP 7 macro
287 if (((U_long) op) & ROUNDUP) { in morecore()
288 op = (union overhead *) (((U_long) op + (ROUNDUP + 1)) & ~ROUNDUP); in morecore()
/freebsd-14-stable/contrib/ofed/opensm/include/complib/
HDcl_math.h133 #ifndef ROUNDUP
134 #define ROUNDUP(val, align) \ macro
/freebsd-14-stable/sys/dev/vmware/vmci/
HDvmci_kernel_defs.h27 #define ROUNDUP(x, y) roundup(x, y) macro
HDvmci_driver.c260 dg = (struct vmci_datagram *)ROUNDUP((uintptr_t)dg + 1, in vmci_read_datagrams_from_port()
/freebsd-14-stable/contrib/ofed/opensm/opensm/
HDosm_mcast_tbl.c77 (uint8_t) ((ROUNDUP(num_ports, IB_MCAST_MASK_SIZE) / in osm_mcast_tbl_init()
80 p_tbl->max_block = (uint16_t) ((ROUNDUP(p_tbl->num_entries, in osm_mcast_tbl_init()
/freebsd-14-stable/usr.sbin/rtsold/
HDif.c250 #define ROUNDUP(a, size) \ macro
254 ((caddr_t)(ap) + ((ap)->sa_len ? ROUNDUP((ap)->sa_len,\
/freebsd-14-stable/usr.sbin/ppp/
HDdefs.h118 #define ROUNDUP(x) ((x) ? (1 + (((x) - 1) | (sizeof(long) - 1))) : sizeof(long)) macro
HDroute.c319 wp += ROUNDUP(sa[rtax]->sa_len); in route_ParseHdr()
707 padlen = ROUNDUP(len); in memcpy_roundup()
HDiface.c838 wp += ROUNDUP(sa[rtax]->sa_len); in iface_ParseHdr()
/freebsd-14-stable/usr.sbin/route6d/
HDroute6d.c82 #define ROUNDUP(a) \ macro
84 #define ADVANCE(x, n) (x += ROUNDUP((n)->sa_len))
1802 q += ROUNDUP(rta[i]->sin6_len); in rtrecv()
2690 rtmp += ROUNDUP(sin6_dst->sin6_len); in rt_entry()
2693 rtmp += ROUNDUP(sin6_gw->sin6_len); in rt_entry()
2697 rtmp += ROUNDUP(sin6_mask->sin6_len); in rt_entry()
2701 rtmp += ROUNDUP(sin6_genmask->sin6_len); in rt_entry()
2705 rtmp += ROUNDUP(sin6_ifp->sin6_len); in rt_entry()
2853 sin6 = (struct sockaddr_in6 *)(void *)((char *)sin6 + ROUNDUP(sin6->sin6_len)); in addroute()
2860 sin6 = (struct sockaddr_in6 *)(void *)((char *)sin6 + ROUNDUP(sin6->sin6_len)); in addroute()
[all …]
/freebsd-14-stable/contrib/netbsd-tests/fs/puffs/h_dtfs/
HDdtfs.h41 #define ROUNDUP(a,b) ((a) & ((b)-1)) macro
HDdtfs_subr.c245 needalloc = newsize > ROUNDUP(df->df_datalen, DTFS_BLOCKSIZE); in dtfs_setsize()
/freebsd-14-stable/sys/sys/
HDgmon.h151 #define ROUNDUP(x,y) roundup(x,y) macro
/freebsd-14-stable/crypto/openssh/
HDsshbuf.c264 rlen = ROUNDUP(buf->size, SSHBUF_SIZE_INC); in sshbuf_set_max_size()
352 rlen = ROUNDUP(buf->alloc + need, SSHBUF_SIZE_INC); in sshbuf_allocate()
HDmisc.h252 #define ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y)) macro
HDpacket.c1089 out_blocks = ROUNDUP(outbound_packet_len, in ssh_packet_need_rekeying()
1228 ROUNDUP(state->extra_pad, block_size); in ssh_packet_send2_wrapped()
HDkex.c1072 if ((digest = calloc(1, ROUNDUP(need, mdsz))) == NULL) { in derive_key()
HDsshd.c751 sz = ROUNDUP(sshbuf_len(m) + 5, 16*1024); in send_rexec_state()
/freebsd-14-stable/contrib/bmake/
HDmeta.c96 #ifndef ROUNDUP
97 # define ROUNDUP(n, u) (N2U((n), (u)) * (u)) macro
884 newsz = ROUNDUP(((size_t)fs.st_size / 2), BUFSIZ); in fgetLine()
886 newsz = ROUNDUP((size_t)fs.st_size, BUFSIZ); in fgetLine()
/freebsd-14-stable/usr.sbin/rtadvd/
HDif.c60 #define ROUNDUP(a, size) \ macro
65 ((ap)->sa_len ? ROUNDUP((ap)->sa_len, sizeof(u_long)) : \
/freebsd-14-stable/lib/libc/gmon/
HDgmon.c77 p->highpc = ROUNDUP(highpc, HISTFRACTION * sizeof(HISTCOUNTER)); in monstartup()
/freebsd-14-stable/sys/dev/qlnx/qlnxe/
HDecore_cxt.c371 iids->pf_cids = ROUNDUP(iids->pf_cids, TM_ALIGN); in ecore_cxt_tm_iids()
372 iids->per_vf_cids = ROUNDUP(iids->per_vf_cids, TM_ALIGN); in ecore_cxt_tm_iids()
373 iids->per_vf_tids = ROUNDUP(iids->per_vf_tids, TM_ALIGN); in ecore_cxt_tm_iids()
376 iids->pf_tids[j] = ROUNDUP(iids->pf_tids[j], TM_ALIGN); in ecore_cxt_tm_iids()
493 p_conn->cid_count = ROUNDUP(cid_count, DQ_RANGE_ALIGN); in ecore_cxt_set_proto_cid_count()
494 p_conn->cids_per_vf = ROUNDUP(vf_cid_cnt, DQ_RANGE_ALIGN); in ecore_cxt_set_proto_cid_count()
502 p_conn->cid_count = ROUNDUP(p_conn->cid_count, align); in ecore_cxt_set_proto_cid_count()
HDbcm_osal.h383 #define ROUNDUP(value, to_what) QLNX_ROUNDUP((value), (to_what)) macro
/freebsd-14-stable/contrib/ofed/opensm/complib/
HDcl_pool.c131 ROUNDUP(p_pool->component_sizes[i], sizeof(uintptr_t)); in cl_qcpool_init()

12