__krealloc(9)

__krealloc9

Like krealloc but don't free p.

Usage

void * __krealloc(const void * p, size_t new_size, gfp_t flags);

Arguments

p

object to reallocate memory for.

new_size

how many bytes of memory are required.

flags

the type of memory to allocate.

Overview

This function is like krealloc except it never frees the originally allocated buffer. Use this if you don't want to free the buffer immediately like, for example, with RCU.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.