*参照元 [#mbbc1c78]
#backlinks

*説明 [#qfe13570]
-パス: [[linux-4.4.1/drivers/base/dma-contiguous.c]]

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


**引数 [#kbf40984]
-struct device *dev
--
--[[linux-4.4.1/device]]
-struct page *pages
--
--[[linux-4.4.1/page]]
-int count
--


**返り値 [#j568be8b]
-bool
--


**参考 [#xbf33745]


*実装 [#d24eaa2c]
 /**
  * dma_release_from_contiguous() - release allocated pages
  * @dev:   Pointer to device for which the pages were allocated.
  * @pages: Allocated pages.
  * @count: Number of allocated pages.
  *
  * This function releases memory allocated by dma_alloc_from_contiguous().
  * It returns false when provided pages do not belong to contiguous area and
  * true otherwise.
  */
 bool dma_release_from_contiguous(struct device *dev, struct page *pages,
                                  int count)
 {
         return cma_release(dev_get_cma_area(dev), pages, count);
-
--[[linux-4.4.1/cma_release()]]
--[[linux-4.4.1/dev_get_cma_area()]]

 }


*コメント [#y979a013]


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