Searched refs:fh (Results 1 - 25 of 529) sorted by relevance

1234567891011>>

/linux-master/drivers/media/v4l2-core/
H A Dv4l2-fh.c3 * v4l2-fh.c
16 #include <media/v4l2-fh.h>
21 void v4l2_fh_init(struct v4l2_fh *fh, struct video_device *vdev) argument
23 fh->vdev = vdev;
25 fh->ctrl_handler = vdev->ctrl_handler;
26 INIT_LIST_HEAD(&fh->list);
27 set_bit(V4L2_FL_USES_V4L2_FH, &fh->vdev->flags);
35 fh->prio = V4L2_PRIORITY_UNSET;
36 init_waitqueue_head(&fh->wait);
37 INIT_LIST_HEAD(&fh
44 v4l2_fh_add(struct v4l2_fh *fh) argument
58 struct v4l2_fh *fh = kzalloc(sizeof(*fh), GFP_KERNEL); local
69 v4l2_fh_del(struct v4l2_fh *fh) argument
80 v4l2_fh_exit(struct v4l2_fh *fh) argument
93 struct v4l2_fh *fh = filp->private_data; local
105 v4l2_fh_is_singular(struct v4l2_fh *fh) argument
[all...]
H A Dv4l2-event.c13 #include <media/v4l2-fh.h>
27 static int __v4l2_event_dequeue(struct v4l2_fh *fh, struct v4l2_event *event) argument
33 spin_lock_irqsave(&fh->vdev->fh_lock, flags);
35 if (list_empty(&fh->available)) {
36 spin_unlock_irqrestore(&fh->vdev->fh_lock, flags);
40 WARN_ON(fh->navailable == 0);
42 kev = list_first_entry(&fh->available, struct v4l2_kevent, list);
44 fh->navailable--;
46 kev->event.pending = fh->navailable;
54 spin_unlock_irqrestore(&fh
59 v4l2_event_dequeue(struct v4l2_fh *fh, struct v4l2_event *event, int nonblocking) argument
88 v4l2_event_subscribed( struct v4l2_fh *fh, u32 type, u32 id) argument
102 __v4l2_event_queue_fh(struct v4l2_fh *fh, const struct v4l2_event *ev, u64 ts) argument
155 struct v4l2_fh *fh; local
173 v4l2_event_queue_fh(struct v4l2_fh *fh, const struct v4l2_event *ev) argument
184 v4l2_event_pending(struct v4l2_fh *fh) argument
192 struct v4l2_fh *fh; local
209 struct v4l2_fh *fh = sev->fh; local
223 v4l2_event_subscribe(struct v4l2_fh *fh, const struct v4l2_event_subscription *sub, unsigned int elems, const struct v4l2_subscribed_event_ops *ops) argument
277 v4l2_event_unsubscribe_all(struct v4l2_fh *fh) argument
300 v4l2_event_unsubscribe(struct v4l2_fh *fh, const struct v4l2_event_subscription *sub) argument
332 v4l2_event_subdev_unsubscribe(struct v4l2_subdev *sd, struct v4l2_fh *fh, struct v4l2_event_subscription *sub) argument
359 v4l2_src_change_event_subscribe(struct v4l2_fh *fh, const struct v4l2_event_subscription *sub) argument
368 v4l2_src_change_event_subdev_subscribe(struct v4l2_subdev *sd, struct v4l2_fh *fh, struct v4l2_event_subscription *sub) argument
[all...]
/linux-master/drivers/media/test-drivers/vivid/
H 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);
H A Dvivid-radio-rx.h14 int vivid_radio_rx_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band);
15 int vivid_radio_rx_s_hw_freq_seek(struct file *file, void *fh, const struct v4l2_hw_freq_seek *a);
16 int vivid_radio_rx_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt);
17 int vivid_radio_rx_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt);
H A Dvivid-vbi-out.h16 int vidioc_g_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt);
17 int vidioc_try_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt);
18 int vidioc_s_fmt_sliced_vbi_out(struct file *file, void *fh, struct v4l2_format *fmt);
H A Dvivid-radio-tx.h14 int vidioc_g_modulator(struct file *file, void *fh, struct v4l2_modulator *a);
15 int vidioc_s_modulator(struct file *file, void *fh, const struct v4l2_modulator *a);
H A Dvivid-vbi-cap.h19 int vidioc_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt);
20 int vidioc_try_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt);
21 int vidioc_s_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt);
22 int vidioc_g_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_sliced_vbi_cap *cap);
H A Dvivid-vid-cap.h30 int vivid_vid_cap_s_selection(struct file *file, void *fh, struct v4l2_selection *s);
39 int vidioc_enumaudio(struct file *file, void *fh, struct v4l2_audio *vin);
40 int vidioc_g_audio(struct file *file, void *fh, struct v4l2_audio *vin);
41 int vidioc_s_audio(struct file *file, void *fh, const struct v4l2_audio *vin);
42 int vivid_video_g_frequency(struct file *file, void *fh, struct v4l2_frequency *vf);
43 int vivid_video_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf);
44 int vivid_video_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt);
45 int vivid_video_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt);
51 int vidioc_enum_framesizes(struct file *file, void *fh, struct v4l2_frmsizeenum *fsize);
/linux-master/drivers/media/pci/cx23885/
H A Dcx23885-ioctl.h13 int cx23885_g_chip_info(struct file *file, void *fh,
17 int cx23885_g_register(struct file *file, void *fh,
21 int cx23885_s_register(struct file *file, void *fh,
/linux-master/include/media/
H A Dv4l2-ioctl.h300 int (*vidioc_querycap)(struct file *file, void *fh,
304 int (*vidioc_enum_fmt_vid_cap)(struct file *file, void *fh,
306 int (*vidioc_enum_fmt_vid_overlay)(struct file *file, void *fh,
308 int (*vidioc_enum_fmt_vid_out)(struct file *file, void *fh,
310 int (*vidioc_enum_fmt_sdr_cap)(struct file *file, void *fh,
312 int (*vidioc_enum_fmt_sdr_out)(struct file *file, void *fh,
314 int (*vidioc_enum_fmt_meta_cap)(struct file *file, void *fh,
316 int (*vidioc_enum_fmt_meta_out)(struct file *file, void *fh,
320 int (*vidioc_g_fmt_vid_cap)(struct file *file, void *fh,
322 int (*vidioc_g_fmt_vid_overlay)(struct file *file, void *fh,
[all...]
H A Dv4l2-event.h61 * @fh: Filehandle that subscribed to this event.
75 struct v4l2_fh *fh; member in struct:v4l2_subscribed_event
87 * @fh: pointer to struct v4l2_fh
91 int v4l2_event_dequeue(struct v4l2_fh *fh, struct v4l2_event *event,
111 * @fh: pointer to &struct v4l2_fh
121 void v4l2_event_queue_fh(struct v4l2_fh *fh, const struct v4l2_event *ev);
135 * @fh: pointer to &struct v4l2_fh
139 int v4l2_event_pending(struct v4l2_fh *fh);
144 * @fh: pointer to &struct v4l2_fh
154 int v4l2_event_subscribe(struct v4l2_fh *fh,
[all...]
H A Dv4l2-fh.h3 * v4l2-fh.h
62 * @fh: pointer to &struct v4l2_fh
70 void v4l2_fh_init(struct v4l2_fh *fh, struct video_device *vdev);
73 * v4l2_fh_add - Add the fh to the list of file handles on a video_device.
75 * @fh: pointer to &struct v4l2_fh
78 * The @fh file handle must be initialised first.
80 void v4l2_fh_add(struct v4l2_fh *fh);
96 * @fh: pointer to &struct v4l2_fh
105 void v4l2_fh_del(struct v4l2_fh *fh);
110 * @fh
[all...]
/linux-master/net/ipv6/netfilter/
H A Dip6t_frag.c38 const struct frag_hdr *fh; local
50 fh = skb_header_pointer(skb, ptr, sizeof(_frag), &_frag);
51 if (fh == NULL) {
56 pr_debug("INFO %04X ", fh->frag_off);
57 pr_debug("OFFSET %04X ", ntohs(fh->frag_off) & ~0x7);
58 pr_debug("RES %02X %04X", fh->reserved, ntohs(fh->frag_off) & 0x6);
59 pr_debug("MF %04X ", fh->frag_off & htons(IP6_MF));
60 pr_debug("ID %u %08X\n", ntohl(fh->identification),
61 ntohl(fh
[all...]
/linux-master/drivers/media/cec/core/
H A Dcec-api.c27 struct cec_fh *fh = filp->private_data; local
29 return &fh->adap->devnode;
37 struct cec_fh *fh = filp->private_data; local
38 struct cec_adapter *adap = fh->adap;
41 poll_wait(filp, &fh->wait, poll);
48 if (fh->queued_msgs)
50 if (fh->total_queued_events)
57 const struct cec_fh *fh)
59 bool valid_initiator = adap->cec_initiator && adap->cec_initiator == fh;
60 bool valid_follower = adap->cec_follower && adap->cec_follower == fh;
56 cec_is_busy(const struct cec_adapter *adap, const struct cec_fh *fh) argument
121 cec_adap_s_phys_addr(struct cec_adapter *adap, struct cec_fh *fh, bool block, __u16 __user *parg) argument
167 cec_adap_s_log_addrs(struct cec_adapter *adap, struct cec_fh *fh, bool block, struct cec_log_addrs __user *parg) argument
211 cec_transmit(struct cec_adapter *adap, struct cec_fh *fh, bool block, struct cec_msg __user *parg) argument
240 cec_receive_msg(struct cec_fh *fh, struct cec_msg *msg, bool block) argument
290 cec_receive(struct cec_adapter *adap, struct cec_fh *fh, bool block, struct cec_msg __user *parg) argument
308 cec_dqevent(struct cec_adapter *adap, struct cec_fh *fh, bool block, struct cec_event __user *parg) argument
358 cec_g_mode(struct cec_adapter *adap, struct cec_fh *fh, u32 __user *parg) argument
368 cec_s_mode(struct cec_adapter *adap, struct cec_fh *fh, u32 __user *parg) argument
506 struct cec_fh *fh = filp->private_data; local
558 struct cec_fh *fh = kzalloc(sizeof(*fh), GFP_KERNEL); local
632 struct cec_fh *fh = filp->private_data; local
[all...]
/linux-master/scripts/
H A Dgenerate_initcall_order.pl25 open(my $fh, "getconf _NPROCESSORS_ONLN 2>/dev/null |")
27 my $procs = <$fh>;
28 close($fh);
59 my ($fh) = @_;
64 my $data = <$fh>;
102 open(my $fh, "\"$nm\" --defined-only \"$file\" 2>/dev/null |")
107 while (<$fh>) {
149 close($fh);
161 foreach my $fh ($select->can_read(0)) {
162 read_results($fh);
[all...]
/linux-master/drivers/media/pci/cx18/
H A Dcx18-ioctl.h15 int cx18_s_std(struct file *file, void *fh, v4l2_std_id std);
16 int cx18_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf);
17 int cx18_s_input(struct file *file, void *fh, unsigned int inp);
/linux-master/tools/build/feature/
H A Dtest-file-handle.c10 struct file_handle fh; member in struct:__anon156
15 name_to_handle_at(AT_FDCWD, "/", &handle.fh, &mount_id, 0);
/linux-master/fs/nfsd/
H A Dnfs2acl.c36 svc_fh *fh; local
38 dprintk("nfsd: GETACL(2acl) %s\n", SVCFH_fmt(&argp->fh));
40 fh = fh_copy(&resp->fh, &argp->fh);
41 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP);
45 inode = d_inode(fh->fh_dentry);
53 resp->status = fh_getattr(fh, &resp->stat);
98 svc_fh *fh; local
101 dprintk("nfsd: SETACL(2acl) %s\n", SVCFH_fmt(&argp->fh));
[all...]
H A Dlockd.c33 struct svc_fh fh; local
36 fh_init(&fh,0);
37 fh.fh_handle.fh_size = f->size;
38 memcpy(&fh.fh_handle.fh_raw, f->data, f->size);
39 fh.fh_export = NULL;
43 nfserr = nfsd_open(rqstp, &fh, S_IFREG, access, filp);
44 fh_put(&fh);
H A Dnfs3acl.c34 svc_fh *fh; local
36 fh = fh_copy(&resp->fh, &argp->fh);
37 resp->status = fh_verify(rqstp, &resp->fh, 0, NFSD_MAY_NOP);
41 inode = d_inode(fh->fh_dentry);
90 svc_fh *fh; local
93 fh = fh_copy(&resp->fh, &argp->fh);
[all...]
H A Dxdr3.h14 struct svc_fh fh; member in struct:nfsd3_sattrargs
21 struct svc_fh fh; member in struct:nfsd3_diropargs
27 struct svc_fh fh; member in struct:nfsd3_accessargs
32 struct svc_fh fh; member in struct:nfsd3_readargs
38 svc_fh fh; member in struct:nfsd3_writeargs
47 struct svc_fh fh; member in struct:nfsd3_createargs
56 struct svc_fh fh; member in struct:nfsd3_mknodargs
91 struct svc_fh fh; member in struct:nfsd3_readdirargs
98 struct svc_fh fh; member in struct:nfsd3_commitargs
104 struct svc_fh fh; member in struct:nfsd3_getaclargs
110 struct svc_fh fh; member in struct:nfsd3_setaclargs
118 struct svc_fh fh; member in struct:nfsd3_attrstat
126 struct svc_fh fh; member in struct:nfsd3_diropres
131 struct svc_fh fh; member in struct:nfsd3_accessres
138 struct svc_fh fh; member in struct:nfsd3_readlinkres
145 struct svc_fh fh; member in struct:nfsd3_readres
153 struct svc_fh fh; member in struct:nfsd3_writeres
168 struct svc_fh fh; member in struct:nfsd3_linkres
174 struct svc_fh fh; member in struct:nfsd3_readdirres
218 struct svc_fh fh; member in struct:nfsd3_commitres
224 struct svc_fh fh; member in struct:nfsd3_getaclres
[all...]
H A Dnfs3proc.c50 SVCFH_fmt(&argp->fh));
52 fh_copy(&resp->fh, &argp->fh);
53 resp->status = fh_verify(rqstp, &resp->fh, 0,
58 resp->status = fh_getattr(&resp->fh, &resp->stat);
77 SVCFH_fmt(&argp->fh));
79 fh_copy(&resp->fh, &argp->fh);
82 resp->status = nfsd_setattr(rqstp, &resp->fh, &attrs, guardtime);
96 SVCFH_fmt(&argp->fh),
[all...]
/linux-master/include/linux/
H A Dnfs.h52 * @fh - pointer to filehandle
57 static inline u32 nfs_fhandle_hash(const struct nfs_fh *fh) argument
59 return ~crc32_le(0xFFFFFFFF, &fh->data[0], fh->size);
62 static inline u32 nfs_fhandle_hash(const struct nfs_fh *fh) argument
/linux-master/usr/include/
H A Dheaders_check.pl36 open(my $fh, '<', $filename)
39 while ($line = <$fh>) {
47 close $fh;
119 my $fh;
122 if (not $import_stack{$possible} and open($fh, '<', $possible)) {
128 if (eof $fh) {
133 while ($line = <$fh>) {
142 close $fh;
/linux-master/samples/fanotify/
H A Dfs-monitor.c35 static void print_fh(struct file_handle *fh) argument
38 uint32_t *h = (uint32_t *) fh->f_handle;
41 for (i = 0; i < fh->handle_bytes; i++)
42 printf("%hhx", fh->f_handle[i]);
45 printf("\tdecoded fh: ");
46 if (fh->handle_type == FILEID_INO32_GEN)
48 else if (fh->handle_type == FILEID_INVALID && !fh->handle_bytes)
49 printf("Type %d (Superblock error)\n", fh->handle_type);
51 printf("Type %d (Unknown)\n", fh
[all...]

Completed in 205 milliseconds

1234567891011>>