1SND_PCM_LIB_ALLOC_VM(9)          Sound Devices         SND_PCM_LIB_ALLOC_VM(9)
2
3
4

NAME

6       snd_pcm_lib_alloc_vmalloc_32_buffer - allocate 32-bit-addressable
7       buffer
8

SYNOPSIS

10       int
11                                               snd_pcm_lib_alloc_vmalloc_32_buffer(struct snd_pcm_substream * substream,
12                                               size_t size);
13

ARGUMENTS

15       substream
16           the substream to allocate the buffer to
17
18       size
19           the requested buffer size, in bytes
20

DESCRIPTION

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

RETURN

27       1 if the buffer was changed, 0 if not changed, or a negative error
28       code.
29
31Kernel Hackers Manual 3.10         June 2019           SND_PCM_LIB_ALLOC_VM(9)
Impressum