- void * __krealloc(const void * p, size_t new_size, gfp_t flags);
- object to reallocate memory for.
- how many bytes of memory are required.
- the type of memory to allocate.
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.