Searched refs:_SBUF_ALIGN (Results 1 – 2 of 2) sorted by relevance
119 #define _SBUF_ALIGN(x, y) (((x) + ((y)-1)) & ~((y)-1)) macro121 sbuf_advance(buf, _SBUF_ALIGN(sbuf_needed(buf), align) - sbuf_needed(buf)); in sbuf_align()
252 #define ALIGNB(sz) ((sz) == 0 ? MIN_BUF_SIZE : _SBUF_ALIGN((sz), MIN_BUF_SIZE))317 int size = _SBUF_ALIGN(inBufsLenReq, MIN_BUF_SIZE); in listener2()