Searched refs:oldbuf (Results 1 – 1 of 1) sorted by relevance
298 xb_realloc(void *oldbuf, size_t old_size, size_t new_size) in xb_realloc() argument303 buf = krealloc_data(oldbuf, old_size, new_size, Z_WAITOK); in xb_realloc()306 buf = realloc(oldbuf, new_size); in xb_realloc()344 char *newbuf, *oldbuf; in xb_grow() local350 oldbuf = xbp->xb_u.xb_buffer.xbb_base; in xb_grow()355 newbuf = xb_realloc(oldbuf, oldsize, newsize); in xb_grow()