Name
__krealloc —
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.