1DEVM_KMEMDUP(9) Driver Basics DEVM_KMEMDUP(9)
23
4
NAME
6devm_kmemdup - Resource-managed kmemdup
7
SYNOPSIS
9void * devm_kmemdup(struct device * dev, const void * src, size_t len,
10gfp_t gfp);
11
ARGUMENTS
13dev
14Device this memory belongs to
1516
src
17Memory region to duplicate
1819
len
20Memory region length
2122
gfp
23GFP mask to use
24
DESCRIPTION
26Duplicate region of a memory using resource managed kmalloc
27
COPYRIGHT
29Kernel Hackers Manual 3.10 June 2019 DEVM_KMEMDUP(9)