linux-4.4.1/vb2_ioctl_reqbufs()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#vc6679f1]
#backlinks
*説明 [#f03d03a6]
-パス: [[linux-4.4.1/drivers/media/v4l2-core/videobuf2-v4...
-FIXME: これは何?
--説明
**引数 [#r3d80416]
-struct file *file
--
--[[linux-4.4.1/file]]
-void *priv
--
-struct v4l2_requestbuffers *p
--
--[[linux-4.4.1/v4l2_requestbuffers]]
**返り値 [#l366ddb7]
-int
--
**参考 [#m5d8f594]
*実装 [#b8478c02]
int vb2_ioctl_reqbufs(struct file *file, void *priv,
struct v4l2_requestbuffers *p)
{
struct video_device *vdev = video_devdata(file);
int res = vb2_verify_memory_type(vdev->queue, p-...
-
--[[linux-4.4.1/video_device]]
--[[linux-4.4.1/video_devdata()]]
--[[linux-4.4.1/vb2_verify_memory_type()]]
if (res)
return res;
if (vb2_queue_is_busy(vdev, file))
return -EBUSY;
-
--[[linux-4.4.1/vb2_queue_is_busy()]]
res = vb2_core_reqbufs(vdev->queue, p->memory, &...
/* If count == 0, then the owner has released al...
is no longer owner of the queue. Otherwise we...
if (res == 0)
vdev->queue->owner = p->count ? file->pr...
-
--[[linux-4.4.1/vb2_core_reqbufs()]]
return res;
}
EXPORT_SYMBOL_GPL(vb2_ioctl_reqbufs);
-
--[[linux-4.4.1/EXPORT_SYMBOL_GPL()]]
*コメント [#w0815b40]
終了行:
*参照元 [#vc6679f1]
#backlinks
*説明 [#f03d03a6]
-パス: [[linux-4.4.1/drivers/media/v4l2-core/videobuf2-v4...
-FIXME: これは何?
--説明
**引数 [#r3d80416]
-struct file *file
--
--[[linux-4.4.1/file]]
-void *priv
--
-struct v4l2_requestbuffers *p
--
--[[linux-4.4.1/v4l2_requestbuffers]]
**返り値 [#l366ddb7]
-int
--
**参考 [#m5d8f594]
*実装 [#b8478c02]
int vb2_ioctl_reqbufs(struct file *file, void *priv,
struct v4l2_requestbuffers *p)
{
struct video_device *vdev = video_devdata(file);
int res = vb2_verify_memory_type(vdev->queue, p-...
-
--[[linux-4.4.1/video_device]]
--[[linux-4.4.1/video_devdata()]]
--[[linux-4.4.1/vb2_verify_memory_type()]]
if (res)
return res;
if (vb2_queue_is_busy(vdev, file))
return -EBUSY;
-
--[[linux-4.4.1/vb2_queue_is_busy()]]
res = vb2_core_reqbufs(vdev->queue, p->memory, &...
/* If count == 0, then the owner has released al...
is no longer owner of the queue. Otherwise we...
if (res == 0)
vdev->queue->owner = p->count ? file->pr...
-
--[[linux-4.4.1/vb2_core_reqbufs()]]
return res;
}
EXPORT_SYMBOL_GPL(vb2_ioctl_reqbufs);
-
--[[linux-4.4.1/EXPORT_SYMBOL_GPL()]]
*コメント [#w0815b40]
ページ名: