Lines Matching refs:b_buf
105 free(m->b_buf, M_UNIMSG); in uni_msg_extend()
107 m->b_buf = b; in uni_msg_extend()
108 m->b_rptr = m->b_buf + lead; in uni_msg_extend()
110 m->b_lim = m->b_buf + s; in uni_msg_extend()
256 if((m->msg.b_buf = malloc(s, M_UNIMSG, M_NOWAIT | M_ZERO)) == NULL) { in _uni_msg_alloc()
262 m->msg.b_rptr = m->msg.b_wptr = m->msg.b_buf; in _uni_msg_alloc()
263 m->msg.b_lim = m->msg.b_buf + s; in _uni_msg_alloc()
305 free(m->b_buf, M_UNIMSG); in _uni_msg_destroy()
370 if((m->b_buf = malloc(s, M_UNIMSG, M_NOWAIT | M_ZERO)) == NULL) { in uni_msg_alloc()
376 m->b_rptr = m->b_wptr = m->b_buf; in uni_msg_alloc()
377 m->b_lim = m->b_buf + s; in uni_msg_alloc()
393 free(m->b_buf, M_UNIMSG); in uni_msg_destroy()