Lines Matching refs:fh
495 struct vpfe_fh *fh;
505 fh = kmalloc(sizeof(struct vpfe_fh), GFP_KERNEL);
506 if (NULL == fh) {
511 /* store pointer to fh in private_data member of file */
512 file->private_data = fh;
513 fh->vpfe_dev = vpfe_dev;
525 fh->io_allowed = 0;
527 fh->prio = V4L2_PRIORITY_UNSET;
528 v4l2_prio_open(&vpfe_dev->prio, &fh->prio);
710 struct vpfe_fh *fh = file->private_data;
719 if (fh->io_allowed) {
739 v4l2_prio_close(&vpfe_dev->prio, fh->prio);
750 kfree(fh);
1239 struct vpfe_fh *fh = vq->priv_data;
1240 struct vpfe_device *vpfe_dev = fh->vpfe_dev;
1259 struct vpfe_fh *fh = vq->priv_data;
1260 struct vpfe_device *vpfe_dev = fh->vpfe_dev;
1291 struct vpfe_fh *fh = vq->priv_data;
1292 struct vpfe_device *vpfe_dev = fh->vpfe_dev;
1309 struct vpfe_fh *fh = vq->priv_data;
1310 struct vpfe_device *vpfe_dev = fh->vpfe_dev;
1341 struct vpfe_fh *fh = file->private_data;
1369 fh);
1371 fh->io_allowed = 1;
1404 struct vpfe_fh *fh = file->private_data;
1417 if (!fh->io_allowed) {
1418 v4l2_err(&vpfe_dev->v4l2_dev, "fh->io_allowed\n");
1506 struct vpfe_fh *fh = file->private_data;
1519 if (!fh->io_allowed) {
1520 v4l2_err(&vpfe_dev->v4l2_dev, "fh->io_allowed\n");
1590 struct vpfe_fh *fh = file->private_data;
1602 if (!fh->io_allowed) {
1603 v4l2_err(&vpfe_dev->v4l2_dev, "fh->io_allowed\n");