snd_pcm_lib_get_vmalloc_page(9)

snd_pcm_lib_get_vmalloc_page9

Map vmalloc buffer offset to page struct

Usage

struct page * snd_pcm_lib_get_vmalloc_page(struct snd_pcm_substream * substream, unsigned long offset);

Arguments

substream

the substream with a buffer allocated by snd_pcm_lib_alloc_vmalloc_buffer

offset

offset in the buffer

Overview

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

Return

The page struct, or NULL on failure.

Releases

3 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.