devres_alloc(9) centos man page | unix.com

Man Page: devres_alloc

Operating Environment: centos

Section: 9

DEVRES_ALLOC(9) 						   Driver Basics						   DEVRES_ALLOC(9)

NAME
devres_alloc - Allocate device resource data
SYNOPSIS
void * devres_alloc(dr_release_t release, size_t size, gfp_t gfp);
ARGUMENTS
release Release function devres will be associated with size Allocation size gfp Allocation flags
DESCRIPTION
Allocate devres of size bytes. The allocated area is zeroed, then associated with release. The returned pointer can be passed to other devres_*() functions.
RETURNS
Pointer to allocated devres on success, NULL on failure.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 DEVRES_ALLOC(9)
Related Man Pages
kmem_cache_create(9) - suse
usb_alloc_coherent(9) - centos
memalign(3) - redhat
posix_memalign(3) - redhat
valloc(3) - redhat
Similar Topics in the Unix Linux Community
Weird 'find' results
How to increment version inside a file?
Docker learning Phase-I
Controlling user input
[TIP] Processing YAML files with yq