Home
last modified time | relevance | path

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

12345678910>>...21

/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/include/media/
A Dv4l2-ioctl.h416 int (*vidioc_qbuf)(struct file *file, void *fh,
418 int (*vidioc_expbuf)(struct file *file, void *fh,
420 int (*vidioc_dqbuf)(struct file *file, void *fh,
431 int (*vidioc_g_fbuf)(struct file *file, void *fh,
433 int (*vidioc_s_fbuf)(struct file *file, void *fh,
468 int (*vidioc_g_ctrl)(struct file *file, void *fh,
470 int (*vidioc_s_ctrl)(struct file *file, void *fh,
524 int (*vidioc_g_parm)(struct file *file, void *fh,
526 int (*vidioc_s_parm)(struct file *file, void *fh,
579 int (*vidioc_g_edid)(struct file *file, void *fh,
[all …]
A Dv4l2-event.h75 struct v4l2_fh *fh; member
91 int v4l2_event_dequeue(struct v4l2_fh *fh, struct v4l2_event *event,
121 void v4l2_event_queue_fh(struct v4l2_fh *fh, const struct v4l2_event *ev);
139 int v4l2_event_pending(struct v4l2_fh *fh);
154 int v4l2_event_subscribe(struct v4l2_fh *fh,
164 int v4l2_event_unsubscribe(struct v4l2_fh *fh,
171 void v4l2_event_unsubscribe_all(struct v4l2_fh *fh);
186 struct v4l2_fh *fh,
195 int v4l2_src_change_event_subscribe(struct v4l2_fh *fh,
206 struct v4l2_fh *fh,
/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()
652 list_del(&fh->list); in cec_release()
663 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.c43 struct lirc_fh *fh; in lirc_raw_event() local
114 struct lirc_fh *fh; in lirc_scancode_event() local
131 struct lirc_fh *fh = kzalloc(sizeof(*fh), GFP_KERNEL); in lirc_open() local
135 if (!fh) in lirc_open()
160 fh->rc = dev; in lirc_open()
188 kfree(fh); in lirc_open()
201 list_del(&fh->list); in lirc_close()
208 kfree(fh); in lirc_close()
775 struct lirc_fh *fh; in lirc_unregister() local
819 struct lirc_fh *fh; in rc_dev_get_from_fd() local
[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()
127 fh_drop_write(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()
174 SVCFH_fmt(&argp->fh), in nfsacld_proc_access()
177 fh_copy(&resp->fh, &argp->fh); in nfsacld_proc_access()
299 fh_put(&resp->fh); in nfsaclsvc_release_getacl()
[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()
115 fh_drop_write(fh); in nfsd3_proc_setacl()
135 if (!svcxdr_decode_nfs_fh3(xdr, &args->fh)) in nfs3svc_decode_getaclargs()
148 if (!svcxdr_decode_nfs_fh3(xdr, &argp->fh)) in nfs3svc_decode_setaclargs()
[all …]
A Dnfs3proc.c75 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getattr()
103 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_setattr()
148 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_access()
167 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_readlink()
207 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_read()
236 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_write()
520 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_remove()
541 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_rmdir()
628 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_readdir()
662 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_readdirplus()
[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 …]
A Dnfsproc.c59 fh_copy(&resp->fh, &argp->fh); in nfsd_proc_getattr()
89 fhp = fh_copy(&resp->fh, &argp->fh); in nfsd_proc_setattr()
166 &resp->fh); in nfsd_proc_lookup()
167 fh_put(&argp->fh); in nfsd_proc_lookup()
194 fh_put(&argp->fh); in nfsd_proc_readlink()
225 fh_copy(&resp->fh, &argp->fh); in nfsd_proc_read()
261 resp->status = nfsd_write(rqstp, fh_copy(&resp->fh, &argp->fh), in nfsd_proc_write()
454 fh_put(&argp->fh); in nfsd_proc_remove()
562 fh_put(&argp->fh); in nfsd_proc_mkdir()
585 fh_put(&argp->fh); in nfsd_proc_rmdir()
[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()
1064 fh->rhp = pvr2_channel_create_mpeg_stream(fh->pdi->stream); in pvr2_v4l2_iosetup()
1065 if (!fh->rhp) { in pvr2_v4l2_iosetup()
1118 if (!fh->rhp) { in pvr2_v4l2_read()
1132 fh->wait_data, in pvr2_v4l2_read()
[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 …]
A Dleaking_addresses.pl162 select $fh;
167 while (<$fh>) {
181 close $fh;
292 while (my $line = <$fh> ) {
300 close $fh;
481 my $bytes = <$fh>;
482 close $fh;
516 while ( <$fh> ) {
522 close $fh;
602 while (<$fh>) {
[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()
741 struct ivtv *itv = fh2id(fh)->itv; in ivtv_enumaudio()
[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()
148 __be32 *fh = (__force __be32 *)fid->raw; in gfs2_fh_to_dentry() local
157 this.no_formal_ino |= be32_to_cpu(fh[1]); in gfs2_fh_to_dentry()
159 this.no_addr |= be32_to_cpu(fh[3]); in gfs2_fh_to_dentry()
170 __be32 *fh = (__force __be32 *)fid->raw; in gfs2_fh_to_parent() local
178 parent.no_formal_ino |= be32_to_cpu(fh[5]); in gfs2_fh_to_parent()
[all …]
/linux/drivers/media/pci/cx18/
A Dcx18-ioctl.c55 struct cx18_open_id *id = fh2id(fh); in cx18_g_fmt_vid_cap()
264 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_fmt_vbi_cap()
283 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_fmt_sliced_vbi_cap()
314 struct cx18 *cx = fh2id(fh)->cx; in cx18_try_fmt_sliced_vbi_cap()
395 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_register()
409 struct cx18 *cx = fh2id(fh)->cx; in cx18_s_register()
434 struct cx18 *cx = fh2id(fh)->cx; in cx18_enumaudio()
441 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_audio()
449 struct cx18 *cx = fh2id(fh)->cx; in cx18_s_audio()
460 struct cx18 *cx = fh2id(fh)->cx; in cx18_enum_input()
[all …]
/linux/drivers/media/test-drivers/vivid/
A Dvivid-sdr-cap.h11 int vivid_sdr_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band);
12 int vivid_sdr_g_frequency(struct file *file, void *fh, struct v4l2_frequency *vf);
13 int vivid_sdr_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf);
14 int vivid_sdr_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt);
15 int vivid_sdr_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt);
16 int vidioc_enum_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_fmtdesc *f);
17 int vidioc_g_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
18 int vidioc_s_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
19 int vidioc_try_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
/linux/fs/overlayfs/
A Dnamei.c133 if (!fh) in ovl_get_fh()
147 return fh; in ovl_get_fh()
150 kfree(fh); in ovl_get_fh()
482 kfree(fh); in ovl_check_origin()
509 if (fh->fb.len != ofh->fb.len || memcmp(&fh->fb, &ofh->fb, fh->fb.len)) in ovl_verify_fh()
557 kfree(fh); in ovl_verify_origin_xattr()
584 kfree(fh); in ovl_index_upper()
623 if (!fh) in ovl_verify_index()
689 kfree(fh); in ovl_verify_index()
713 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()
416 struct saa7164_vbi_fh *fh; in fops_open() local
427 fh = kzalloc(sizeof(*fh), GFP_KERNEL); in fops_open()
428 if (NULL == fh) in fops_open()
431 fh->port = port; in fops_open()
432 v4l2_fh_init(&fh->fh, video_devdata(file)); in fops_open()
433 v4l2_fh_add(&fh->fh); in fops_open()
434 file->private_data = fh; in fops_open()
455 v4l2_fh_del(&fh->fh); in fops_release()
456 v4l2_fh_exit(&fh->fh); in fops_release()
[all …]
/linux/drivers/clk/mediatek/
A Dclk-pllfh.c37 return fh->ops->hopping(fh, pcw, postdiv); in mtk_fhctl_set_rate()
139 fh->lock = &pllfh_lock; in pllfh_init()
141 fh->ops = fhctl_get_ops(); in pllfh_init()
156 struct mtk_fh *fh; in mtk_clk_register_pllfh() local
159 fh = kzalloc(sizeof(*fh), GFP_KERNEL); in mtk_clk_register_pllfh()
160 if (!fh) in mtk_clk_register_pllfh()
175 fhctl_hw_init(fh); in mtk_clk_register_pllfh()
179 kfree(fh); in mtk_clk_register_pllfh()
186 struct mtk_fh *fh; in mtk_clk_unregister_pllfh() local
191 fh = to_mtk_fh(hw); in mtk_clk_unregister_pllfh()
[all …]
/linux/drivers/scsi/libfc/
A Dfc_libfc.c157 struct fc_frame_header *fh; in fc_fill_hdr() local
162 fh = __fc_frame_header_get(fp); in fc_fill_hdr()
178 fh->fh_r_ctl = r_ctl; in fc_fill_hdr()
179 memcpy(fh->fh_d_id, in_fh->fh_s_id, sizeof(fh->fh_d_id)); in fc_fill_hdr()
180 memcpy(fh->fh_s_id, in_fh->fh_d_id, sizeof(fh->fh_s_id)); in fc_fill_hdr()
181 fh->fh_type = in_fh->fh_type; in fc_fill_hdr()
182 hton24(fh->fh_f_ctl, f_ctl); in fc_fill_hdr()
185 fh->fh_cs_ctl = 0; in fc_fill_hdr()
186 fh->fh_df_ctl = 0; in fc_fill_hdr()
192 fh->fh_seq_id = sp->id; in fc_fill_hdr()
[all …]
A Dfc_exch.c470 u8 fh_type = fh->fh_type; in fc_seq_send_locked()
1114 sp->id = fh->fh_seq_id; in fc_seq_lookup_recip()
1179 xid = ntohs((f_ctl & FC_FC_EX_CTX) ? fh->fh_ox_id : fh->fh_rx_id); in fc_seq_lookup_orig()
1360 memset(fh, 0, sizeof(*fh) + sizeof(*rp)); in fc_exch_send_ba_rjt()
1604 sp->id = fh->fh_seq_id; in fc_exch_recv_seq_resp()
1707 switch (fh->fh_r_ctl) { in fc_exch_abts_resp()
1775 ntohs(fh->fh_ox_id) : ntohs(fh->fh_rx_id)); in fc_exch_recv_bls()
1786 switch (fh->fh_r_ctl) { in fc_exch_recv_bls()
1793 fh->fh_r_ctl, in fc_exch_recv_bls()
1799 switch (fh->fh_r_ctl) { in fc_exch_recv_bls()
[all …]

Completed in 65 milliseconds

12345678910>>...21