snd_pcm_lib_alloc_vmalloc_32_buffer(9)

snd_pcm_lib_alloc_vmalloc_32_buffer9

Allocate 32-bit-addressable buffer

Usage

int snd_pcm_lib_alloc_vmalloc_32_buffer(struct snd_pcm_substream * substream, size_t size);

Arguments

substream

the substream to allocate the buffer to

size

the requested buffer size, in bytes

Overview

This function works like snd_pcm_lib_alloc_vmalloc_buffer, but uses vmalloc_32, i.e., the pages are allocated from 32-bit-addressable memory.

Return

1 if the buffer was changed, 0 if not changed, or a negative error code.

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.