Lines Matching refs:mp
66 bufseg_new(mem_pool_t mp) in bufseg_new() argument
69 return (tcpbufseg_t *)MPAllocateChunk(mp); in bufseg_new()
73 bufseg_del(mem_pool_t mp, tcpbufseg_t *b) in bufseg_del() argument
76 MPFreeChunk(mp, b); in bufseg_del()
89 if ((rb->lbufsegs == 0) || ((tmp = bufseg_new(rb->mp)) == NULL)) in buf_first()
106 if ((rb->lbufsegs <= buf->id + 1) || ((tmp = bufseg_new(rb->mp)) == NULL)) in buf_next()
180 tcpbufseg_t *seg = bufseg_new(rb->mp); in buf_try_resize()
190 tcpbufseg_t *seg = bufseg_new(rb->mp); in buf_try_resize()
254 bufseg_del(rb->mp, seg); in buf_try_resize()
265 bufseg_del(rb->mp, seg); in buf_try_resize()
275 bufseg_del(rb->mp, headseg); in buf_try_resize()
355 tcprb_new(mem_pool_t mp, int len, unsigned buf_mgmt) in tcprb_new() argument
371 tcpbufseg_t *bufseg = bufseg_new(mp); in tcprb_new()
374 bufseg_del(mp, bufseg); in tcprb_new()
383 rb->mp = mp; in tcprb_new()
398 bufseg_del(rb->mp, bwalk); in tcprb_del()
577 bufseg_del(rb->mp, bwalk); in tcprb_resize()