table of contents
DEVM_KMEMDUP(9) | Driver Basics | DEVM_KMEMDUP(9) |
NAME¶
devm_kmemdup - Resource-managed kmemdup
SYNOPSIS¶
void * devm_kmemdup(struct device * dev, const void * src, size_t len, gfp_t gfp);
ARGUMENTS¶
dev
Device 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 kmalloc
COPYRIGHT¶
June 2024 | Kernel Hackers Manual 3.10 |