Searched refs:ROUNDUP2 (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/io/hme/
H A Dhme.h276 #define ROUNDUP2(a, n) (uchar_t *)((((uintptr_t)(a)) + ((n) - 1)) & ~((n) - 1)) macro
/illumos-gate/usr/src/uts/sun/io/eri/
H A Deri.h682 #define ROUNDUP2(a, n) (uchar_t *)((((uintptr_t)(a)) + ((n) - 1)) & ~((n) - 1)) macro
H A Deri.c3240 mp->b_wptr = (uint8_t *)ROUNDUP2(mp->b_wptr, ERI_BURSTSIZE);
3254 mp->b_wptr = (uint8_t *)ROUNDUP2(mp->b_wptr, ERI_BURSTSIZE);
/illumos-gate/usr/src/uts/common/io/sfe/
H A Dsfe.c82 #define ROUNDUP2(x, a) (((x) + (a) - 1) & ~((a) - 1)) macro
1080 lp->tx_drain_threshold = ROUNDUP2(dp->txthr, TXCFG_FIFO_UNIT);
1106 val = ROUNDUP2(max(dp->rxthr, ETHERMIN), RXCFG_FIFO_UNIT);
/illumos-gate/usr/src/uts/common/io/urf/
H A Durf_usbgem.c75 #define ROUNDUP2(x, y) (((x)+(y)-1) & ~((y)-1)) macro

Completed in 77 milliseconds