Query: devres_alloc
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DEVRES_ALLOC(9) Driver Basics DEVRES_ALLOC(9)NAMEdevres_alloc - Allocate device resource dataSYNOPSISvoid * devres_alloc(dr_release_t release, size_t size, gfp_t gfp);ARGUMENTSrelease Release function devres will be associated with size Allocation size gfp Allocation flagsDESCRIPTIONAllocate devres of size bytes. The allocated area is zeroed, then associated with release. The returned pointer can be passed to other devres_*() functions.RETURNSPointer to allocated devres on success, NULL on failure.COPYRIGHTKernel Hackers Manual 2.6. July 2010 DEVRES_ALLOC(9)