linux-4.4.1/ion_heap_buffer_zero()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#ia9b2311]
#backlinks
*説明 [#lc0bcfbd]
-パス: [[linux-4.4.1/drivers/staging/android/ion/ion_heap...
-FIXME: これは何?
--説明
**引数 [#v967c669]
-struct ion_buffer *buffer
--
--[[linux-4.4.1/ion_buffer]]
**返り値 [#mf616750]
-int
--
**参考 [#vc36dd8d]
*実装 [#k34761e7]
int ion_heap_buffer_zero(struct ion_buffer *buffer)
{
struct sg_table *table = buffer->sg_table;
pgprot_t pgprot;
-
--[[linux-4.4.1/sg_table]]
--[[linux-4.4.1/pgprot_t]]
if (buffer->flags & ION_FLAG_CACHED)
pgprot = PAGE_KERNEL;
else
pgprot = pgprot_writecombine(PAGE_KERNEL);
-
--[[linux-4.4.1/ION_FLAG_CACHED]]
--[[linux-4.4.1/PAGE_KERNEL]]
--[[linux-4.4.1/pgprot_writecombine()]]
return ion_heap_sglist_zero(table->sgl, table->n...
-
--[[linux-4.4.1/ion_heap_sglist_zero()]]
}
*コメント [#d45a5321]
終了行:
*参照元 [#ia9b2311]
#backlinks
*説明 [#lc0bcfbd]
-パス: [[linux-4.4.1/drivers/staging/android/ion/ion_heap...
-FIXME: これは何?
--説明
**引数 [#v967c669]
-struct ion_buffer *buffer
--
--[[linux-4.4.1/ion_buffer]]
**返り値 [#mf616750]
-int
--
**参考 [#vc36dd8d]
*実装 [#k34761e7]
int ion_heap_buffer_zero(struct ion_buffer *buffer)
{
struct sg_table *table = buffer->sg_table;
pgprot_t pgprot;
-
--[[linux-4.4.1/sg_table]]
--[[linux-4.4.1/pgprot_t]]
if (buffer->flags & ION_FLAG_CACHED)
pgprot = PAGE_KERNEL;
else
pgprot = pgprot_writecombine(PAGE_KERNEL);
-
--[[linux-4.4.1/ION_FLAG_CACHED]]
--[[linux-4.4.1/PAGE_KERNEL]]
--[[linux-4.4.1/pgprot_writecombine()]]
return ion_heap_sglist_zero(table->sgl, table->n...
-
--[[linux-4.4.1/ion_heap_sglist_zero()]]
}
*コメント [#d45a5321]
ページ名: