Name
devm_alloc_percpu —
Resource-managed alloc_percpu
Synopsis
devm_alloc_percpu ( | dev, |
| type) ; |
Arguments
dev
Device to allocate per-cpu memory for
type
Type to allocate per-cpu memory for
Description
Managed alloc_percpu. Per-cpu memory allocated with this function is
automatically freed on driver detach.
RETURNS
Pointer to allocated memory on success, NULL on failure.