Lines Matching refs:ab
57 buf_t* ab; in buf_alloc() local
59 ab = buf_freelist; in buf_alloc()
60 if (ab != NULL) in buf_alloc()
61 buf_freelist = ab->next; in buf_alloc()
63 ab = malloc(size + sizeof(*ab)); in buf_alloc()
64 ab->uv_buf_t.len = size; in buf_alloc()
65 ab->uv_buf_t.base = (char*) (ab + 1); in buf_alloc()
68 *buf = ab->uv_buf_t; in buf_alloc()
73 buf_t* ab = (buf_t*) buf->base - 1; in buf_free() local
74 ab->next = buf_freelist; in buf_free()
75 buf_freelist = ab; in buf_free()