linux-4.4.1/snd_pcm_lib_preallocate_pages1()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#t614bb40]
#backlinks
*説明 [#v8e90810]
-パス: [[linux-4.4.1/sound/core/pcm_memory.c]]
-FIXME: これは何?
--説明
**引数 [#b4cde96e]
-struct snd_pcm_substream *substream
--
--[[linux-4.4.1/snd_pcm_substream]]
-size_t size
--
-size_t max
--
**返り値 [#ee623eb6]
-int
--
**参考 [#ze916737]
*実装 [#p000cf48]
/*
* pre-allocate the buffer and create a proc file for th...
*/
static int snd_pcm_lib_preallocate_pages1(struct snd_pcm...
size_t size, size_t max)
{
if (size > 0 && preallocate_dma && substream->number < ...
preallocate_pcm_pages(substream, size);
-
--[[linux-4.4.1/preallocate_dma(global)]]
--[[linux-4.4.1/preallocate_pcm_pages()]]
if (substream->dma_buffer.bytes > 0)
substream->buffer_bytes_max = substream->dma_buffer.by...
substream->dma_max = max;
preallocate_info_init(substream);
-substream->dma_buffer は struct snd_dma_buffer 型
--[[linux-4.4.1/snd_dma_buffer]]
--[[linux-4.4.1/preallocate_info_init()]]
return 0;
}
*コメント [#d0858553]
終了行:
*参照元 [#t614bb40]
#backlinks
*説明 [#v8e90810]
-パス: [[linux-4.4.1/sound/core/pcm_memory.c]]
-FIXME: これは何?
--説明
**引数 [#b4cde96e]
-struct snd_pcm_substream *substream
--
--[[linux-4.4.1/snd_pcm_substream]]
-size_t size
--
-size_t max
--
**返り値 [#ee623eb6]
-int
--
**参考 [#ze916737]
*実装 [#p000cf48]
/*
* pre-allocate the buffer and create a proc file for th...
*/
static int snd_pcm_lib_preallocate_pages1(struct snd_pcm...
size_t size, size_t max)
{
if (size > 0 && preallocate_dma && substream->number < ...
preallocate_pcm_pages(substream, size);
-
--[[linux-4.4.1/preallocate_dma(global)]]
--[[linux-4.4.1/preallocate_pcm_pages()]]
if (substream->dma_buffer.bytes > 0)
substream->buffer_bytes_max = substream->dma_buffer.by...
substream->dma_max = max;
preallocate_info_init(substream);
-substream->dma_buffer は struct snd_dma_buffer 型
--[[linux-4.4.1/snd_dma_buffer]]
--[[linux-4.4.1/preallocate_info_init()]]
return 0;
}
*コメント [#d0858553]
ページ名: