Name
kmalloc —
allocate memory
Synopsis
void * kmalloc ( | size_t size, |
| gfp_t flags) ; |
Arguments
size
how many bytes of memory are required.
flags
the type of memory to allocate (see kcalloc).
Description
kmalloc is the normal method of allocating memory
for objects smaller than page size in the kernel.