*参照元 [#p8c6718a]
#backlinks

*説明 [#pcc32c4c]
-パス: [[linux-4.4.1/drivers/staging/android/ion/ion_cma_heap.c]]

-FIXME: これは何?
--説明


**引数 [#gef092d4]
-struct ion_heap *mapper
--
--[[linux-4.4.1/ion_heap]]
-struct ion_buffer *buffer
--
--[[linux-4.4.1/ion_buffer]]
-struct vm_area_struct *vma
--
--[[linux-4.4.1/vm_area_struct]]


**返り値 [#p5c855dd]
-int
--


**参考 [#rcb2f8d1]


*実装 [#ofab0e65]
 static int ion_cma_mmap(struct ion_heap *mapper, struct ion_buffer *buffer,
                         struct vm_area_struct *vma)
 {
         struct ion_cma_heap *cma_heap = to_cma_heap(buffer->heap);
         struct device *dev = cma_heap->dev;
         struct ion_cma_buffer_info *info = buffer->priv_virt;
 
-
--[[linux-4.4.1/ion_cma_heap]]
--[[linux-4.4.1/to_cma_heap()]]
--[[linux-4.4.1/device]]
--[[linux-4.4.1/ion_cma_buffer_info]]

         return dma_mmap_coherent(dev, vma, info->cpu_addr, info->handle,
                                  buffer->size);
-
--[[linux-4.4.1/dma_mmap_coherent()]]

 }


*コメント [#h41e5517]


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS