SND_MALLOC_PAGES_FALLBACK

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

snd_malloc_pages_fallback - allocate pages with the given size with fallback  

SYNOPSIS

"SYNOPSIS"

void * snd_malloc_pages_fallback (size_t size, unsigned int gfp_flags, size_t * res_size);  

ARGUMENTS

size
the requested size to allocate in bytes
gfp_flags
the allocation conditions, GFP_XXX
res_size
the pointer to store the size of buffer actually allocated
 

DESCRIPTION

Allocates the physically contiguous pages with the given request size. When no space is left, this function reduces the size and tries to allocate again. The size actually allocated is stored in res_size argument.

Returns the pointer of the buffer, or NULL if no enoguh memory.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 04:41:07 GMT, October 06, 2005