/linux-6.3-rc2/drivers/media/v4l2-core/ |
A D | v4l2-fh.c | 23 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 D | v4l2-event.c | 44 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-6.3-rc2/include/media/ |
A D | v4l2-ioctl.h | 414 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 …]
|
A D | v4l2-event.h | 75 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-6.3-rc2/drivers/media/cec/core/ |
A D | cec-api.c | 29 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-6.3-rc2/net/ipv6/netfilter/ |
A D | ip6t_frag.c | 38 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-6.3-rc2/drivers/media/rc/ |
A D | lirc_dev.c | 41 struct lirc_fh *fh; in lirc_raw_event() local 112 struct lirc_fh *fh; in lirc_scancode_event() local 129 struct lirc_fh *fh = kzalloc(sizeof(*fh), GFP_KERNEL); in lirc_open() local 133 if (!fh) in lirc_open() 158 fh->rc = dev; in lirc_open() 186 kfree(fh); in lirc_open() 199 list_del(&fh->list); in lirc_close() 206 kfree(fh); in lirc_close() 770 struct lirc_fh *fh; in lirc_unregister() local 816 struct lirc_fh *fh; in rc_dev_get_from_fd() local [all …]
|
/linux-6.3-rc2/drivers/media/common/saa7146/ |
A D | saa7146_video.c | 14 #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() 776 vv->ov.fh = fh; in vidioc_s_fmt_vid_overlay() 923 err = video_begin(fh); in vidioc_streamon() 962 video_end(fh, file); in vidioc_streamoff() 1213 video_end(fh, file); in video_close() [all …]
|
A D | saa7146_fops.c | 214 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-6.3-rc2/fs/nfsd/ |
A D | nfs2acl.c | 36 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 D | nfs3acl.c | 34 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 D | nfs3proc.c | 52 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getattr() 78 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_setattr() 120 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_access() 138 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_readlink() 188 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_read() 216 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_write() 493 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_remove() 513 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_rmdir() 597 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_readdir() 630 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_readdirplus() [all …]
|
A D | nfsproc.c | 34 fh_copy(&resp->fh, &argp->fh); in nfsd_proc_getattr() 60 SVCFH_fmt(&argp->fh), in nfsd_proc_setattr() 63 fhp = fh_copy(&resp->fh, &argp->fh); in nfsd_proc_setattr() 139 &resp->fh); in nfsd_proc_lookup() 140 fh_put(&argp->fh); in nfsd_proc_lookup() 166 fh_put(&argp->fh); in nfsd_proc_readlink() 208 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() 537 fh_put(&argp->fh); in nfsd_proc_mkdir() [all …]
|
A D | xdr3.h | 14 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-6.3-rc2/drivers/media/pci/bt8xx/ |
A D | bttv-vbi.c | 74 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 D | bttv-driver.c | 1633 *size = fh->fmt->depth*fh->width*fh->height >> 3; in buffer_setup() 2265 fh->width, fh->height); in bttv_g_fmt_vid_cap() 2935 fh->cap.ops->buf_queue(&fh->cap,fh->cap.read_buf); in bttv_poll() 2977 v4l2_fh_init(&fh->fh, vdev); in bttv_open() 3015 v4l2_fh_add(&fh->fh); in bttv_open() 3059 v4l2_fh_del(&fh->fh); in bttv_release() 3060 v4l2_fh_exit(&fh->fh); in bttv_release() 3157 v4l2_fh_init(&fh->fh, vdev); in radio_open() 3162 v4l2_fh_add(&fh->fh); in radio_open() 3174 v4l2_fh_del(&fh->fh); in radio_release() [all …]
|
/linux-6.3-rc2/drivers/media/usb/pvrusb2/ |
A D | pvrusb2-v4l2.c | 39 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-6.3-rc2/scripts/ |
A D | generate_initcall_order.pl | 27 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-6.3-rc2/drivers/staging/most/video/ |
A D | video.c | 82 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-6.3-rc2/drivers/media/pci/ivtv/ |
A D | ivtv-ioctl.c | 311 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-6.3-rc2/fs/gfs2/ |
A D | export.c | 31 __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-6.3-rc2/drivers/media/pci/cx18/ |
A D | cx18-ioctl.c | 161 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() 398 struct cx18 *cx = fh2id(fh)->cx; in cx18_enumaudio() 405 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_audio() 413 struct cx18 *cx = fh2id(fh)->cx; in cx18_s_audio() 424 struct cx18 *cx = fh2id(fh)->cx; in cx18_enum_input() 433 struct cx18 *cx = fh2id(fh)->cx; in cx18_g_pixelaspect() [all …]
|
/linux-6.3-rc2/drivers/media/test-drivers/vivid/ |
A D | vivid-sdr-cap.h | 11 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-6.3-rc2/fs/overlayfs/ |
A D | namei.c | 126 if (!fh) in ovl_get_fh() 140 return fh; in ovl_get_fh() 143 kfree(fh); in ovl_get_fh() 414 kfree(fh); in ovl_check_origin() 441 if (fh->fb.len != ofh->fb.len || memcmp(&fh->fb, &ofh->fb, fh->fb.len)) in ovl_verify_fh() 478 kfree(fh); in ovl_verify_set_fh() 504 kfree(fh); in ovl_index_upper() 543 if (!fh) in ovl_verify_index() 609 kfree(fh); in ovl_verify_index() 633 s = bin2hex(n, fh->buf, fh->fb.len); in ovl_get_index_name_fh() [all …]
|
/linux-6.3-rc2/drivers/clk/mediatek/ |
A D | clk-pllfh.c | 37 return fh->ops->hopping(fh, pcw, postdiv); in mtk_fhctl_set_rate() 129 fh->lock = &pllfh_lock; in pllfh_init() 131 fh->ops = fhctl_get_ops(); in pllfh_init() 144 struct mtk_fh *fh; in mtk_clk_register_pllfh() local 146 fh = kzalloc(sizeof(*fh), GFP_KERNEL); in mtk_clk_register_pllfh() 147 if (!fh) in mtk_clk_register_pllfh() 156 kfree(fh); in mtk_clk_register_pllfh() 158 fhctl_hw_init(fh); in mtk_clk_register_pllfh() 165 struct mtk_fh *fh; in mtk_clk_unregister_pllfh() local 170 fh = to_mtk_fh(hw); in mtk_clk_unregister_pllfh() [all …]
|