snd_malloc_pages
Prev | Memory Management Helpers | Next

## Name

snd_malloc_pages — allocate pages with the given size

## Synopsis

`void * snd_malloc_pages (` | size_t size,
| gfp_t gfp_flags`)`;

## Arguments

`size`

  the size to allocate in bytes

`gfp_flags`

  the allocation conditions, GFP_XXX

## Description

Allocates the physically contiguous pages with the given size.

## Return

The pointer of the buffer, or `NULL` if no enough memory.

Prev | Up | Next
copy_from_user_toio | Home | snd_free_pages