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.
2021
Returns the pointer of the buffer, or NULL if no enoguh memory.
22
COPYRIGHT
24Kernel Hackers Manual 2.6. June 2019 SND_MALLOC_PAGES(9)