Name

kmemdup — duplicate region of memory

Synopsis

void * kmemdup (const void * src,
 size_t len,
 gfp_t gfp);
 

Arguments

src

memory region to duplicate

len

memory region length

gfp

GFP mask to use