devm_kmemdup(9) 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