linux-4.4.1/dma_buf_unmap_attachment()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#m1a54649]
#backlinks
*説明 [#yfc4b859]
-パス: [[linux-4.4.1/drivers/dma-buf/dma-buf.c]]
-FIXME: これは何?
--説明
**引数 [#p6a53d76]
-struct dma_buf_attachment *attach
--
--[[linux-4.4.1/dma_buf_attachment]]
-struct sg_table *sg_table
--
--[[linux-4.4.1/sg_table]]
-enum dma_data_direction direction
--
--[[linux-4.4.1/dma_data_direction]]
**返り値 [#x8dfd0c5]
-なし
**参考 [#f08287a9]
*実装 [#oc9a6b31]
/**
* dma_buf_unmap_attachment - unmaps and decreases useco...
* deallocate the scatterlist associated. Is a wrapper f...
* dma_buf_ops.
* @attach: [in] attachment to unmap buffer from
* @sg_table: [in] scatterlist info of the buffer t...
* @direction: [in] direction of DMA transfer
*
*/
void dma_buf_unmap_attachment(struct dma_buf_attachment ...
struct sg_table *sg_table,
enum dma_data_direction ...
{
might_sleep();
-
--[[linux-4.4.1/might_sleep()]]
if (WARN_ON(!attach || !attach->dmabuf || !sg_ta...
return;
-
--[[linux-4.4.1/WARN_ON()]]
attach->dmabuf->ops->unmap_dma_buf(attach, sg_ta...
directio...
-
--attach->dmabuf は struct dma_buf * 型
--[[linux-4.4.1/dma_buf]]
--attach->dmabuf->ops は const struct dma_buf_ops * 型
--[[linux-4.4.1/dma_buf_ops]]
}
EXPORT_SYMBOL_GPL(dma_buf_unmap_attachment);
-
--[[linux-4.4.1/EXPORT_SYMBOL_GPL()]]
*コメント [#h039fc62]
終了行:
*参照元 [#m1a54649]
#backlinks
*説明 [#yfc4b859]
-パス: [[linux-4.4.1/drivers/dma-buf/dma-buf.c]]
-FIXME: これは何?
--説明
**引数 [#p6a53d76]
-struct dma_buf_attachment *attach
--
--[[linux-4.4.1/dma_buf_attachment]]
-struct sg_table *sg_table
--
--[[linux-4.4.1/sg_table]]
-enum dma_data_direction direction
--
--[[linux-4.4.1/dma_data_direction]]
**返り値 [#x8dfd0c5]
-なし
**参考 [#f08287a9]
*実装 [#oc9a6b31]
/**
* dma_buf_unmap_attachment - unmaps and decreases useco...
* deallocate the scatterlist associated. Is a wrapper f...
* dma_buf_ops.
* @attach: [in] attachment to unmap buffer from
* @sg_table: [in] scatterlist info of the buffer t...
* @direction: [in] direction of DMA transfer
*
*/
void dma_buf_unmap_attachment(struct dma_buf_attachment ...
struct sg_table *sg_table,
enum dma_data_direction ...
{
might_sleep();
-
--[[linux-4.4.1/might_sleep()]]
if (WARN_ON(!attach || !attach->dmabuf || !sg_ta...
return;
-
--[[linux-4.4.1/WARN_ON()]]
attach->dmabuf->ops->unmap_dma_buf(attach, sg_ta...
directio...
-
--attach->dmabuf は struct dma_buf * 型
--[[linux-4.4.1/dma_buf]]
--attach->dmabuf->ops は const struct dma_buf_ops * 型
--[[linux-4.4.1/dma_buf_ops]]
}
EXPORT_SYMBOL_GPL(dma_buf_unmap_attachment);
-
--[[linux-4.4.1/EXPORT_SYMBOL_GPL()]]
*コメント [#h039fc62]
ページ名: