__krealloc(9) like krealloc but don't free p.

SYNOPSIS

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.

DESCRIPTION

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.

COPYRIGHT