table of contents
other versions
DEVM_KMEMDUP(9) | Driver Basics | DEVM_KMEMDUP(9) |
NAME¶
devm_kmemdup - Resource-managed kmemdupSYNOPSIS¶
void *
devm_kmemdup(struct device * dev,
const void * src,
size_t len, gfp_t gfp);
ARGUMENTS¶
devDevice this memory belongs to
src
Memory region to duplicate
len
Memory region length
gfp
GFP mask to use
DESCRIPTION¶
Duplicate region of a memory using resource managed kmallocCOPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |