Query: snd_pcm_lib_alloc_vmalloc_buffer
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SND_PCM_LIB_ALLOC_VM(9) Sound Devices SND_PCM_LIB_ALLOC_VM(9)NAMEsnd_pcm_lib_alloc_vmalloc_buffer - allocate virtual DMA bufferSYNOPSISint snd_pcm_lib_alloc_vmalloc_buffer(struct snd_pcm_substream * substream, size_t size);ARGUMENTSsubstream the substream to allocate the buffer to size the requested buffer size, in bytesDESCRIPTIONAllocates the PCM substream buffer using vmalloc, i.e., the memory is contiguous in kernel virtual space, but not in physical memory. Use this if the buffer is accessed by kernel code but not by device DMA.RETURN1 if the buffer was changed, 0 if not changed, or a negative error code.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SND_PCM_LIB_ALLOC_VM(9)