1SND_MALLOC_PAGES(9) Management of Cards and Device SND_MALLOC_PAGES(9)
23
4
NAME
6snd_malloc_pages - allocate pages with the given size
7
SYNOPSIS
9void * snd_malloc_pages(size_t size, gfp_t gfp_flags);
10
ARGUMENTS
12size
13the size to allocate in bytes
1415
gfp_flags
16the allocation conditions, GFP_XXX
17
DESCRIPTION
19Allocates the physically contiguous pages with the given size.
20
RETURN
22The pointer of the buffer, or NULL if no enough memory.
23
COPYRIGHT
25Kernel Hackers Manual 3.10 June 2019 SND_MALLOC_PAGES(9)