'\" t .\" Title: snd_pcm_lib_get_vmalloc_page .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: PCM API .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "SND_PCM_LIB_GET_VMAL" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "PCM API" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" snd_pcm_lib_get_vmalloc_page \- map vmalloc buffer offset to page struct .SH "SYNOPSIS" .HP \w'struct\ page\ *\ snd_pcm_lib_get_vmalloc_page('u .BI "struct page * snd_pcm_lib_get_vmalloc_page(struct\ snd_pcm_substream\ *\ " "substream" ", unsigned\ long\ " "offset" ");" .SH "ARGUMENTS" .PP \fIsubstream\fR .RS 4 the substream with a buffer allocated by \fBsnd_pcm_lib_alloc_vmalloc_buffer\fR .RE .PP \fIoffset\fR .RS 4 offset in the buffer .RE .SH "DESCRIPTION" .PP This function is to be used as the page callback in the PCM ops\&. .SH "RETURN" .PP The page struct, or \fBNULL\fR on failure\&. .SH "COPYRIGHT" .br