.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "SND_MALLOC_PAGES_FALLBACK" "" "06 October 2005" "" "" .SH NAME snd_malloc_pages_fallback \- allocate pages with the given size with fallback .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void * snd_malloc_pages_fallback (size_t \fIsize\fB, unsigned int \fIgfp_flags\fB, size_t * \fIres_size\fB); \fR .SH "ARGUMENTS" .TP \fB\fIsize\fB\fR the requested size to allocate in bytes .TP \fB\fIgfp_flags\fB\fR the allocation conditions, GFP_XXX .TP \fB\fIres_size\fB\fR the pointer to store the size of buffer actually allocated .SH "DESCRIPTION" .PP 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. .PP Returns the pointer of the buffer, or NULL if no enoguh memory.