Lines Matching defs:handle
1296 struct isp_video_fh *handle;
1300 handle = kzalloc(sizeof(*handle), GFP_KERNEL);
1301 if (handle == NULL)
1304 v4l2_fh_init(&handle->vfh, &video->video);
1305 v4l2_fh_add(&handle->vfh);
1319 queue = &handle->queue;
1322 queue->drv_priv = handle;
1329 ret = vb2_queue_init(&handle->queue);
1335 memset(&handle->format, 0, sizeof(handle->format));
1336 handle->format.type = video->type;
1337 handle->timeperframe.denominator = 1;
1339 handle->video = video;
1340 file->private_data = &handle->vfh;
1344 v4l2_fh_del(&handle->vfh);
1345 v4l2_fh_exit(&handle->vfh);
1346 kfree(handle);
1356 struct isp_video_fh *handle = to_isp_video_fh(vfh);
1362 vb2_queue_release(&handle->queue);
1367 /* Release the file handle. */
1370 kfree(handle);