Home
last modified time | relevance | path

Searched refs:fh (Results 1 – 25 of 490) sorted by relevance

12345678910>>...20

/linux/include/media/
A Dv4l2-ioctl.h414 int (*vidioc_qbuf)(struct file *file, void *fh,
416 int (*vidioc_expbuf)(struct file *file, void *fh,
418 int (*vidioc_dqbuf)(struct file *file, void *fh,
427 int (*vidioc_g_fbuf)(struct file *file, void *fh,
429 int (*vidioc_s_fbuf)(struct file *file, void *fh,
464 int (*vidioc_g_ctrl)(struct file *file, void *fh,
466 int (*vidioc_s_ctrl)(struct file *file, void *fh,
520 int (*vidioc_g_parm)(struct file *file, void *fh,
522 int (*vidioc_s_parm)(struct file *file, void *fh,
575 int (*vidioc_g_edid)(struct file *file, void *fh,
[all …]
/linux/drivers/media/v4l2-core/
A Dv4l2-fh.c23 fh->vdev = vdev; in v4l2_fh_init()
48 v4l2_prio_open(fh->vdev->prio, &fh->prio); in v4l2_fh_add()
50 list_add(&fh->list, &fh->vdev->fh_list); in v4l2_fh_add()
58 struct v4l2_fh *fh = kzalloc(sizeof(*fh), GFP_KERNEL); in v4l2_fh_open() local
61 if (fh == NULL) in v4l2_fh_open()
64 v4l2_fh_add(fh); in v4l2_fh_open()
76 v4l2_prio_close(fh->vdev->prio, fh->prio); in v4l2_fh_del()
87 fh->vdev = NULL; in v4l2_fh_exit()
95 if (fh) { in v4l2_fh_release()
98 kfree(fh); in v4l2_fh_release()
[all …]
A Dv4l2-event.c44 fh->navailable--; in __v4l2_event_dequeue()
68 if (fh->vdev->lock) in v4l2_event_dequeue()
80 if (fh->vdev->lock) in v4l2_event_dequeue()
115 fh->sequence++; in __v4l2_event_queue_fh()
124 fh->navailable--; in __v4l2_event_queue_fh()
148 fh->navailable++; in __v4l2_event_queue_fh()
155 struct v4l2_fh *fh; in v4l2_event_queue() local
192 struct v4l2_fh *fh; in v4l2_event_wake_all() local
209 struct v4l2_fh *fh = sev->fh; in __v4l2_event_unsubscribe() local
218 fh->navailable--; in __v4l2_event_unsubscribe()
[all …]
/linux/drivers/media/cec/core/
A Dcec-api.c29 return &fh->adap->devnode; in cec_devnode_data()
48 if (fh->queued_msgs) in cec_poll()
257 fh->queued_msgs--; in cec_receive_msg()
361 u32 mode = fh->mode_initiator | fh->mode_follower; in cec_g_mode()
558 struct cec_fh *fh = kzalloc(sizeof(*fh), GFP_KERNEL); in cec_open() local
570 if (!fh) in cec_open()
581 fh->adap = adap; in cec_open()
585 kfree(fh); in cec_open()
596 kfree(fh); in cec_open()
671 data->fh = NULL; in cec_release()
[all …]
/linux/net/ipv6/netfilter/
A Dip6t_frag.c38 const struct frag_hdr *fh; in frag_mt6() local
51 if (fh == NULL) { in frag_mt6()
58 pr_debug("RES %02X %04X", fh->reserved, ntohs(fh->frag_off) & 0x6); in frag_mt6()
61 ntohl(fh->identification)); in frag_mt6()
65 ntohl(fh->identification), in frag_mt6()
69 ntohs(fh->frag_off) & 0x6, in frag_mt6()
71 (fh->reserved || (ntohs(fh->frag_off) & 0x06)))); in frag_mt6()
74 ntohs(fh->frag_off) & ~0x7, in frag_mt6()
79 ntohs(fh->frag_off) & IP6_MF, in frag_mt6()
89 ntohl(fh->identification), in frag_mt6()
[all …]
/linux/drivers/media/rc/
A Dlirc_dev.c41 struct lirc_fh *fh; in lirc_raw_event() local
122 struct lirc_fh *fh; in lirc_scancode_event() local
139 struct lirc_fh *fh = kzalloc(sizeof(*fh), GFP_KERNEL); in lirc_open() local
143 if (!fh) in lirc_open()
168 fh->rc = dev; in lirc_open()
197 kfree(fh); in lirc_open()
210 list_del(&fh->list); in lirc_close()
217 kfree(fh); in lirc_close()
783 struct lirc_fh *fh; in lirc_unregister() local
829 struct lirc_fh *fh; in rc_dev_get_from_fd() local
[all …]
/linux/drivers/media/common/saa7146/
A Dsaa7146_video.c14 #define IS_CAPTURE_ACTIVE(fh) \ argument
17 #define IS_OVERLAY_ACTIVE(fh) \ argument
106 if (vv->ov.fh == NULL) { in saa7146_start_preview()
152 vv->video_fh = fh; in saa7146_start_preview()
177 if (vv->video_fh != fh) { in saa7146_stop_preview()
372 vv->video_fh = fh; in video_begin()
777 vv->ov.fh = fh; in vidioc_s_fmt_vid_overlay()
924 err = video_begin(fh); in vidioc_streamon()
963 video_end(fh, file); in vidioc_streamoff()
1214 video_end(fh, file); in video_close()
[all …]
A Dsaa7146_fops.c214 fh = kzalloc(sizeof(*fh),GFP_KERNEL); in fops_open()
221 v4l2_fh_init(&fh->fh, vdev); in fops_open()
223 file->private_data = &fh->fh; in fops_open()
224 fh->dev = dev; in fops_open()
247 v4l2_fh_add(&fh->fh); in fops_open()
250 kfree(fh); in fops_open()
276 v4l2_fh_del(&fh->fh); in fops_release()
277 v4l2_fh_exit(&fh->fh); in fops_release()
280 kfree(fh); in fops_release()
306 q = &fh->vbi_q; in fops_mmap()
[all …]
/linux/drivers/media/usb/tm6000/
A Dtm6000-video.c677 *size = fh->fmt->depth * fh->width * fh->height >> 3; in buffer_setup()
728 buf->vb.size = fh->fmt->depth*fh->width*fh->height >> 3; in buffer_prepare()
1328 v4l2_fh_init(&fh->fh, vdev); in __tm6000_open()
1353 v4l2_fh_exit(&fh->fh); in __tm6000_open()
1373 v4l2_fh_add(&fh->fh); in __tm6000_open()
1398 if (!res_get(fh->dev, fh, true)) in tm6000_read()
1419 if (v4l2_event_pending(&fh->fh)) in __tm6000_poll()
1426 if (!!is_res_streaming(fh->dev, fh)) in __tm6000_poll()
1429 if (!is_res_read(fh->dev, fh)) { in __tm6000_poll()
1492 v4l2_fh_del(&fh->fh); in tm6000_release()
[all …]
/linux/fs/nfsd/
A Dnfs2acl.c36 svc_fh *fh; in nfsacld_proc_getacl() local
40 fh = fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_getacl()
98 svc_fh *fh; in nfsacld_proc_setacl() local
103 fh = fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_setacl()
114 fh_lock(fh); in nfsacld_proc_setacl()
125 fh_unlock(fh); in nfsacld_proc_setacl()
127 fh_drop_write(fh); in nfsacld_proc_setacl()
139 fh_unlock(fh); in nfsacld_proc_setacl()
140 fh_drop_write(fh); in nfsacld_proc_setacl()
156 fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_getattr()
[all …]
A Dnfs3proc.c50 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getattr()
73 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_setattr()
115 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_access()
133 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_readlink()
179 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_read()
202 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_write()
369 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_remove()
390 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_rmdir()
482 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_readdir()
515 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_readdirplus()
[all …]
A Dnfs3acl.c34 svc_fh *fh; in nfsd3_proc_getacl() local
36 fh = fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getacl()
41 inode = d_inode(fh->fh_dentry); in nfsd3_proc_getacl()
90 svc_fh *fh; in nfsd3_proc_setacl() local
93 fh = fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_setacl()
98 inode = d_inode(fh->fh_dentry); in nfsd3_proc_setacl()
100 error = fh_want_write(fh); in nfsd3_proc_setacl()
104 fh_lock(fh); in nfsd3_proc_setacl()
114 fh_unlock(fh); in nfsd3_proc_setacl()
115 fh_drop_write(fh); in nfsd3_proc_setacl()
[all …]
A Dnfsproc.c34 fh_copy(&resp->fh, &argp->fh); in nfsd_proc_getattr()
57 SVCFH_fmt(&argp->fh), in nfsd_proc_setattr()
60 fhp = fh_copy(&resp->fh, &argp->fh); in nfsd_proc_setattr()
136 &resp->fh); in nfsd_proc_lookup()
137 fh_put(&argp->fh); in nfsd_proc_lookup()
163 fh_put(&argp->fh); in nfsd_proc_readlink()
204 fh_copy(&resp->fh, &argp->fh); in nfsd_proc_read()
243 resp->status = nfsd_write(rqstp, fh_copy(&resp->fh, &argp->fh), in nfsd_proc_write()
433 fh_put(&argp->fh); in nfsd_proc_remove()
531 fh_put(&argp->fh); in nfsd_proc_mkdir()
[all …]
A Dxdr3.h14 struct svc_fh fh; member
21 struct svc_fh fh; member
27 struct svc_fh fh; member
32 struct svc_fh fh; member
38 svc_fh fh; member
47 struct svc_fh fh; member
56 struct svc_fh fh; member
91 struct svc_fh fh; member
98 struct svc_fh fh; member
104 struct svc_fh fh; member
[all …]
/linux/drivers/media/pci/bt8xx/
A Dbttv-vbi.c74 struct bttv *btv = fh->btv; in vbi_buffer_setup()
83 fh->vbi_fmt.fmt.start[0], in vbi_buffer_setup()
84 fh->vbi_fmt.fmt.start[1], in vbi_buffer_setup()
85 fh->vbi_fmt.fmt.count[0], in vbi_buffer_setup()
86 fh->vbi_fmt.fmt.count[1]); in vbi_buffer_setup()
96 struct bttv *btv = fh->btv; in vbi_buffer_prepare()
209 fh->btv->loop_irq |= 4; in vbi_buffer_queue()
302 struct bttv_fh *fh = f; in bttv_try_fmt_vbi_cap() local
320 struct bttv_fh *fh = f; in bttv_s_fmt_vbi_cap() local
353 fh->vbi_fmt.end = end; in bttv_s_fmt_vbi_cap()
[all …]
A Dbttv-driver.c1633 *size = fh->fmt->depth*fh->width*fh->height >> 3; in buffer_setup()
2265 fh->width, fh->height); in bttv_g_fmt_vid_cap()
2937 fh->cap.ops->buf_queue(&fh->cap,fh->cap.read_buf); in bttv_poll()
2979 v4l2_fh_init(&fh->fh, vdev); in bttv_open()
3017 v4l2_fh_add(&fh->fh); in bttv_open()
3061 v4l2_fh_del(&fh->fh); in bttv_release()
3062 v4l2_fh_exit(&fh->fh); in bttv_release()
3159 v4l2_fh_init(&fh->fh, vdev); in radio_open()
3164 v4l2_fh_add(&fh->fh); in radio_open()
3176 v4l2_fh_del(&fh->fh); in radio_release()
[all …]
/linux/drivers/media/platform/
A Dfsl-viu.c362 *size = fh->width * fh->height * fh->fmt->depth >> 3; in buffer_setup()
448 if (fh->width < 48 || fh->width > norm_maxw() || in buffer_prepare()
449 fh->height < 32 || fh->height > norm_maxh()) in buffer_prepare()
451 buf->vb.size = (fh->width * fh->height * fh->fmt->depth) >> 3; in buffer_prepare()
703 fh->win.w.width, fh->win.w.height); in viu_setup_preview()
1173 fh = kzalloc(sizeof(*fh), GFP_KERNEL); in viu_open()
1174 if (!fh) { in viu_open()
1180 v4l2_fh_init(&fh->fh, vdev); in viu_open()
1214 v4l2_fh_add(&fh->fh); in viu_open()
1272 v4l2_fh_del(&fh->fh); in viu_release()
[all …]
/linux/drivers/media/usb/pvrusb2/
A Dpvrusb2-v4l2.c39 struct v4l2_fh fh; member
242 fh->input_map[inp]); in pvr2_s_input()
474 if (!fh->pdi->stream) { in pvr2_streamon()
491 if (!fh->pdi->stream) { in pvr2_streamoff()
924 v4l2_fh_del(&fhp->fh); in pvr2_v4l2_release()
1030 v4l2_fh_add(&fhp->fh); in pvr2_v4l2_open()
1062 fh->rhp = pvr2_channel_create_mpeg_stream(fh->pdi->stream); in pvr2_v4l2_iosetup()
1063 if (!fh->rhp) { in pvr2_v4l2_iosetup()
1116 if (!fh->rhp) { in pvr2_v4l2_read()
1130 fh->wait_data, in pvr2_v4l2_read()
[all …]
/linux/drivers/staging/most/video/
A Dvideo.c82 fh = kzalloc(sizeof(*fh), GFP_KERNEL); in comp_vdev_open()
83 if (!fh) in comp_vdev_open()
92 fh->mdev = mdev; in comp_vdev_open()
93 v4l2_fh_init(&fh->fh, vdev); in comp_vdev_open()
96 v4l2_fh_add(&fh->fh); in comp_vdev_open()
107 v4l2_fh_del(&fh->fh); in comp_vdev_open()
108 v4l2_fh_exit(&fh->fh); in comp_vdev_open()
112 kfree(fh); in comp_vdev_open()
143 v4l2_fh_del(&fh->fh); in comp_vdev_close()
144 v4l2_fh_exit(&fh->fh); in comp_vdev_close()
[all …]
/linux/drivers/media/pci/ivtv/
A Divtv-ioctl.c311 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_fmt_sliced_vbi_out()
356 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_fmt_vbi_cap()
437 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_fmt_vid_out_overlay()
479 ivtv_g_fmt_vid_cap(file, fh, fmt); in ivtv_try_fmt_vid_cap()
547 struct ivtv *itv = fh2id(fh)->itv; in ivtv_try_fmt_vid_out_overlay()
600 struct ivtv *itv = fh2id(fh)->itv; in ivtv_s_fmt_vbi_cap()
676 struct ivtv *itv = fh2id(fh)->itv; in ivtv_s_fmt_vid_out_overlay()
713 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_register()
721 struct ivtv *itv = fh2id(fh)->itv; in ivtv_s_register()
742 struct ivtv *itv = fh2id(fh)->itv; in ivtv_enumaudio()
[all …]
/linux/scripts/
A Dgenerate_initcall_order.pl27 my $procs = <$fh>;
28 close($fh);
59 my ($fh) = @_;
64 my $data = <$fh>;
107 while (<$fh>) {
149 close($fh);
162 read_results($fh);
174 $select->remove($fh);
180 close($fh);
201 $select->add($fh);
[all …]
/linux/fs/gfs2/
A Dexport.c31 __be32 *fh = (__force __be32 *)p; in gfs2_encode_fh() local
43 fh[0] = cpu_to_be32(ip->i_no_formal_ino >> 32); in gfs2_encode_fh()
45 fh[2] = cpu_to_be32(ip->i_no_addr >> 32); in gfs2_encode_fh()
54 fh[4] = cpu_to_be32(ip->i_no_formal_ino >> 32); in gfs2_encode_fh()
56 fh[6] = cpu_to_be32(ip->i_no_addr >> 32); in gfs2_encode_fh()
150 __be32 *fh = (__force __be32 *)fid->raw; in gfs2_fh_to_dentry() local
159 this.no_formal_ino |= be32_to_cpu(fh[1]); in gfs2_fh_to_dentry()
161 this.no_addr |= be32_to_cpu(fh[3]); in gfs2_fh_to_dentry()
172 __be32 *fh = (__force __be32 *)fid->raw; in gfs2_fh_to_parent() local
180 parent.no_formal_ino |= be32_to_cpu(fh[5]); in gfs2_fh_to_parent()
[all …]
/linux/drivers/media/pci/cx18/
A Dcx18-ioctl.c161 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_fmt_vbi_cap()
180 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_fmt_sliced_vbi_cap()
235 struct cx18 *cx = fh2id(fh)->cx; in cx18_try_fmt_sliced_vbi_cap()
359 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_register()
373 struct cx18 *cx = fh2id(fh)->cx; in cx18_s_register()
400 struct cx18 *cx = fh2id(fh)->cx; in cx18_enumaudio()
407 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_audio()
415 struct cx18 *cx = fh2id(fh)->cx; in cx18_s_audio()
426 struct cx18 *cx = fh2id(fh)->cx; in cx18_enum_input()
435 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_pixelaspect()
[all …]
/linux/fs/overlayfs/
A Dnamei.c125 if (!fh) in ovl_get_fh()
139 return fh; in ovl_get_fh()
142 kfree(fh); in ovl_get_fh()
408 kfree(fh); in ovl_check_origin()
435 if (fh->fb.len != ofh->fb.len || memcmp(&fh->fb, &ofh->fb, fh->fb.len)) in ovl_verify_fh()
472 kfree(fh); in ovl_verify_set_fh()
497 kfree(fh); in ovl_index_upper()
536 if (!fh) in ovl_verify_index()
602 kfree(fh); in ovl_verify_index()
626 s = bin2hex(n, fh->buf, fh->fb.len); in ovl_get_index_name_fh()
[all …]
/linux/drivers/media/pci/saa7164/
A Dsaa7164-vbi.c190 saa7164_vbi_initialize(fh->port); in vidioc_s_frequency()
417 struct saa7164_vbi_fh *fh; in fops_open() local
428 fh = kzalloc(sizeof(*fh), GFP_KERNEL); in fops_open()
429 if (NULL == fh) in fops_open()
432 fh->port = port; in fops_open()
433 v4l2_fh_init(&fh->fh, video_devdata(file)); in fops_open()
434 v4l2_fh_add(&fh->fh); in fops_open()
435 file->private_data = fh; in fops_open()
456 v4l2_fh_del(&fh->fh); in fops_release()
457 v4l2_fh_exit(&fh->fh); in fops_release()
[all …]

Completed in 90 milliseconds

12345678910>>...20