*参照元 [#fcc2ff69] #backlinks *説明 [#vcfd0615] -パス: [[linux-4.4.1/sound/core/pcm_memory.c]] -FIXME: これは何? --説明 **引数 [#q45f15bc] -struct snd_pcm_substream *substream -- --[[linux-4.4.1/snd_pcm_substream]] **返り値 [#v07b9d41] -int -- **参考 [#we8c24b8] *実装 [#ad59c6a3] /** * snd_pcm_lib_preallocate_free - release the preallocated buffer of the specified substream. * @substream: the pcm substream instance * * Releases the pre-allocated buffer of the given substream. * * Return: Zero if successful, or a negative error code on failure. */ int snd_pcm_lib_preallocate_free(struct snd_pcm_substream *substream) { snd_pcm_lib_preallocate_dma_free(substream); - --[[linux-4.4.1/snd_pcm_lib_preallocate_dma_free()]] #ifdef CONFIG_SND_VERBOSE_PROCFS snd_info_free_entry(substream->proc_prealloc_max_entry); substream->proc_prealloc_max_entry = NULL; snd_info_free_entry(substream->proc_prealloc_entry); substream->proc_prealloc_entry = NULL; #endif - --[[linux-4.4.1/CONFIG_SND_VERBOSE_PROCFS]] --[[linux-4.4.1/snd_info_free_entry()]] return 0; } *コメント [#x3cf5c67]