Duplicate region of memory
void * kmemdup(const void * src, size_t len, gfp_t gfp);
src
memory region to duplicate
len
memory region length
gfp
GFP mask to use