table of contents
other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
__KREALLOC(9) | Memory Management in Linux | __KREALLOC(9) |
NAME¶
__krealloc - like krealloc but don't free p.SYNOPSIS¶
void *
__krealloc(const void * p,
size_t new_size, gfp_t flags);
ARGUMENTS¶
pobject 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¶
February 2017 | Kernel Hackers Manual 3.16 |