linux-4.4.1/vb2_ioctl_expbuf()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#o8334594]
#backlinks
*説明 [#g9cd58ab]
-パス: [[linux-4.4.1/drivers/media/v4l2-core/videobuf2-v4...
-FIXME: これは何?
--説明
**引数 [#j24f6121]
-struct file *file
--
--[[linux-4.4.1/file]]
-void *priv
--
-struct v4l2_exportbuffer *p
--
--[[linux-4.4.1/v4l2_exportbuffer]]
**返り値 [#zeb6d835]
-int
--
**参考 [#ia824b72]
*実装 [#x8177842]
int vb2_ioctl_expbuf(struct file *file, void *priv, stru...
{
struct video_device *vdev = video_devdata(file);
-
--[[linux-4.4.1/video_device]]
--[[linux-4.4.1/video_devdata()]]
if (vb2_queue_is_busy(vdev, file))
return -EBUSY;
-
--[[linux-4.4.1/vb2_queue_is_busy()]]
return vb2_expbuf(vdev->queue, p);
-
--[[linux-4.4.1/vb2_expbuf()]]
}
EXPORT_SYMBOL_GPL(vb2_ioctl_expbuf);
-
--[[linux-4.4.1/EXPORT_SYMBOL_GPL()]]
*コメント [#s830d5a6]
終了行:
*参照元 [#o8334594]
#backlinks
*説明 [#g9cd58ab]
-パス: [[linux-4.4.1/drivers/media/v4l2-core/videobuf2-v4...
-FIXME: これは何?
--説明
**引数 [#j24f6121]
-struct file *file
--
--[[linux-4.4.1/file]]
-void *priv
--
-struct v4l2_exportbuffer *p
--
--[[linux-4.4.1/v4l2_exportbuffer]]
**返り値 [#zeb6d835]
-int
--
**参考 [#ia824b72]
*実装 [#x8177842]
int vb2_ioctl_expbuf(struct file *file, void *priv, stru...
{
struct video_device *vdev = video_devdata(file);
-
--[[linux-4.4.1/video_device]]
--[[linux-4.4.1/video_devdata()]]
if (vb2_queue_is_busy(vdev, file))
return -EBUSY;
-
--[[linux-4.4.1/vb2_queue_is_busy()]]
return vb2_expbuf(vdev->queue, p);
-
--[[linux-4.4.1/vb2_expbuf()]]
}
EXPORT_SYMBOL_GPL(vb2_ioctl_expbuf);
-
--[[linux-4.4.1/EXPORT_SYMBOL_GPL()]]
*コメント [#s830d5a6]
ページ名: