1SND_PCM_LIB_GET_VMAL(9)             PCM API            SND_PCM_LIB_GET_VMAL(9)
2
3
4

NAME

6       snd_pcm_lib_get_vmalloc_page - map vmalloc buffer offset to page struct
7

SYNOPSIS

9       struct page *
10                                                  snd_pcm_lib_get_vmalloc_page(struct snd_pcm_substream * substream,
11                                                  unsigned long offset);
12

ARGUMENTS

14       substream
15           the substream with a buffer allocated by
16           snd_pcm_lib_alloc_vmalloc_buffer
17
18       offset
19           offset in the buffer
20

DESCRIPTION

22       This function is to be used as the page callback in the PCM ops.
23

RETURN

25       The page struct, or NULL on failure.
26
28Kernel Hackers Manual 3.10         June 2019           SND_PCM_LIB_GET_VMAL(9)
Impressum