Searched refs:UNITBUFSIZE (Results 1 – 4 of 4) sorted by relevance
119 int id = off / UNITBUFSIZE; in buf_getbuf()184 UNITBUFSIZE - (head % UNITBUFSIZE)); in buf_try_resize()214 (UNITBUFSIZE - (loff2boff(rb, data) % UNITBUFSIZE)); in buf_try_resize()270 assert((tail % UNITBUFSIZE) < (head % UNITBUFSIZE)); in buf_try_resize()273 UNITBUFSIZE - (head % UNITBUFSIZE)); in buf_try_resize()307 off = UNITBUFSIZE - (from % UNITBUFSIZE); \313 off += UNITBUFSIZE; \319 off += UNITBUFSIZE; \325 off = UNITBUFSIZE - (from % UNITBUFSIZE); \331 off += UNITBUFSIZE; \[all …]
363 (((int)rb->metalen - 1) / UNITBUFSIZE + 1) * UNITBUFSIZE); in mtcp_setsockopt()392 (((int)rb->metalen - 1) / UNITBUFSIZE + 1) * UNITBUFSIZE); in mtcp_setsockopt()
1117 ((g_config.mos->rmem_size - 1) / UNITBUFSIZE + 1), 0))) { in InitializeMTCPManager()
14 #define UNITBUFSIZE 1024 macro15 #if UNITBUFSIZE < 216 #error UNITBUFSIZE cannot be smaller than 242 uint8_t buf[UNITBUFSIZE];