Searched refs:fh (Results 201 - 225 of 529) sorted by relevance

1234567891011>>

/linux-master/include/linux/lockd/
H A Dxdr.h42 struct nfs_fh fh; member in struct:nlm_lock
/linux-master/fs/nfs/
H A Dcallback_xdr.c87 static __be32 decode_fh(struct xdr_stream *xdr, struct nfs_fh *fh) argument
94 fh->size = ntohl(*p);
95 if (fh->size > NFS4_FHSIZE)
97 p = xdr_inline_decode(xdr, fh->size);
100 memcpy(&fh->data[0], p, fh->size);
101 memset(&fh->data[fh->size], 0, sizeof(fh->data) - fh
[all...]
H A Dinode.c304 struct nfs_fh *fh; member in struct:nfs_find_desc
318 struct nfs_fh *fh = desc->fh; local
325 if (nfs_compare_fh(NFS_FH(inode), fh))
340 nfs_copy_fh(NFS_FH(inode), desc->fh);
400 /* Search for inode identified by fh, fileid and i_mode in inode cache. */
402 nfs_ilookup(struct super_block *sb, struct nfs_fattr *fattr, struct nfs_fh *fh) argument
405 .fh = fh,
444 nfs_fhget(struct super_block *sb, struct nfs_fh *fh, struc argument
1619 struct nfs_fh *fh; local
1637 _nfs_display_fhandle_hash(const struct nfs_fh *fh) argument
1653 _nfs_display_fhandle(const struct nfs_fh *fh, const char *caption) argument
[all...]
/linux-master/drivers/media/platform/rockchip/rga/
H A Drga-buf.c155 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf);
177 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx);
179 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx);
/linux-master/fs/overlayfs/
H A Doverlayfs.h103 * The tuple (fh,uuid) is a universal unique identifier for a copy up origin,
105 * origin.fh - exported file handle of the lower file
154 #define OVL_FH_LEN(fh) (OVL_FH_WIRE_OFFSET + (fh)->fb.len)
666 static inline int ovl_check_fh_len(struct ovl_fh *fh, int fh_len) argument
671 return ovl_check_fb_len(&fh->fb, fh_len - OVL_FH_WIRE_OFFSET);
674 struct dentry *ovl_decode_real_fh(struct ovl_fs *ofs, struct ovl_fh *fh,
676 int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, bool connected,
679 enum ovl_xattr ox, const struct ovl_fh *fh,
687 int ovl_get_index_name_fh(const struct ovl_fh *fh, struc
700 ovl_verify_origin_fh(struct ovl_fs *ofs, struct dentry *upper, const struct ovl_fh *fh, bool set) argument
[all...]
/linux-master/fs/lockd/
H A Dclntlock.c164 const struct nfs_fh *fh = &lock->fh; local
188 if (nfs_compare_fh(NFS_FH(file_inode(fl_blocked->c.flc_file)), fh) != 0)
H A Dsvcsubs.c40 /* print the first 32 bytes of the fh */
113 nlm_debug_print_fh("nlm_lookup_file", &lock->fh);
115 hash = file_hash(&lock->fh);
122 if (!nfs_compare_fh(&file->f_handle, &lock->fh)) {
128 nlm_debug_print_fh("creating file for", &lock->fh);
135 memcpy(&file->f_handle, &lock->fh, sizeof(struct nfs_fh));
/linux-master/drivers/media/platform/samsung/s5p-jpeg/
H A Djpeg-core.c583 static inline struct s5p_jpeg_ctx *fh_to_ctx(struct v4l2_fh *fh) argument
585 return container_of(fh, struct s5p_jpeg_ctx, fh);
768 struct vb2_v4l2_buffer *vb = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx);
805 struct vb2_v4l2_buffer *vb = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx);
864 struct vb2_v4l2_buffer *vb = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx);
895 struct vb2_v4l2_buffer *vb = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx);
962 v4l2_fh_init(&ctx->fh, vfd);
964 ctx->fh.ctrl_handler = &ctx->ctrl_handler;
965 file->private_data = &ctx->fh;
1695 s5p_jpeg_subscribe_event(struct v4l2_fh *fh, const struct v4l2_event_subscription *sub) argument
1823 s5p_jpeg_s_selection(struct file *file, void *fh, struct v4l2_selection *s) argument
[all...]
/linux-master/drivers/media/platform/renesas/
H A Drcar_fdp1.c580 struct v4l2_fh fh; member in struct:fdp1_ctx
633 static inline struct fdp1_ctx *fh_to_ctx(struct v4l2_fh *fh) argument
635 return container_of(fh, struct fdp1_ctx, fh);
1144 v4l2_m2m_num_src_bufs_ready(ctx->fh.m2m_ctx),
1145 v4l2_m2m_num_dst_bufs_ready(ctx->fh.m2m_ctx));
1151 if (v4l2_m2m_num_src_bufs_ready(ctx->fh.m2m_ctx) < srcbufs
1152 || v4l2_m2m_num_dst_bufs_ready(ctx->fh.m2m_ctx) < dstbufs) {
1216 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx);
1275 src_vb = v4l2_m2m_src_buf_remove(ctx->fh
[all...]
/linux-master/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c220 struct fc_frame_header *fh; local
223 fh = fc_frame_header_get(fp);
226 ntohs(fh->fh_ox_id), fh->fh_r_ctl);
227 if ((fh->fh_type == FC_TYPE_ELS) &&
228 (fh->fh_r_ctl == FC_RCTL_ELS_REQ)) {
243 } else if ((fh->fh_type == FC_TYPE_BLS) &&
244 (fh->fh_r_ctl == FC_RCTL_BA_ABTS))
249 fh->fh_type, fh
269 struct fc_frame_header *fh; local
509 struct fc_frame_header *fh; local
[all...]
/linux-master/drivers/media/platform/chips-media/wave5/
H A Dwave5-vpu-enc.c340 static int wave5_vpu_enc_querycap(struct file *file, void *fh, struct v4l2_capability *cap) argument
348 static int wave5_vpu_enc_enum_framesizes(struct file *f, void *fh, struct v4l2_frmsizeenum *fsize) argument
373 static int wave5_vpu_enc_enum_fmt_cap(struct file *file, void *fh, struct v4l2_fmtdesc *f) argument
375 struct vpu_instance *inst = wave5_to_vpu_inst(fh);
390 static int wave5_vpu_enc_try_fmt_cap(struct file *file, void *fh, struct v4l2_format *f) argument
392 struct vpu_instance *inst = wave5_to_vpu_inst(fh);
423 static int wave5_vpu_enc_s_fmt_cap(struct file *file, void *fh, struct v4l2_format *f) argument
425 struct vpu_instance *inst = wave5_to_vpu_inst(fh);
432 ret = wave5_vpu_enc_try_fmt_cap(file, fh, f);
457 static int wave5_vpu_enc_g_fmt_cap(struct file *file, void *fh, struc argument
481 wave5_vpu_enc_enum_fmt_out(struct file *file, void *fh, struct v4l2_fmtdesc *f) argument
498 wave5_vpu_enc_try_fmt_out(struct file *file, void *fh, struct v4l2_format *f) argument
528 wave5_vpu_enc_s_fmt_out(struct file *file, void *fh, struct v4l2_format *f) argument
575 wave5_vpu_enc_g_selection(struct file *file, void *fh, struct v4l2_selection *s) argument
599 wave5_vpu_enc_s_selection(struct file *file, void *fh, struct v4l2_selection *s) argument
620 wave5_vpu_enc_encoder_cmd(struct file *file, void *fh, struct v4l2_encoder_cmd *ec) argument
653 wave5_vpu_enc_g_parm(struct file *file, void *fh, struct v4l2_streamparm *a) argument
673 wave5_vpu_enc_s_parm(struct file *file, void *fh, struct v4l2_streamparm *a) argument
[all...]
H A Dwave5-vpu-dec.c361 struct v4l2_fh *fh = &inst->v4l2_fh; local
404 v4l2_event_queue_fh(fh, &vpu_event_src_ch);
525 static int wave5_vpu_dec_querycap(struct file *file, void *fh, struct v4l2_capability *cap) argument
533 static int wave5_vpu_dec_enum_framesizes(struct file *f, void *fh, struct v4l2_frmsizeenum *fsize) argument
558 static int wave5_vpu_dec_enum_fmt_cap(struct file *file, void *fh, struct v4l2_fmtdesc *f) argument
572 static int wave5_vpu_dec_try_fmt_cap(struct file *file, void *fh, struct v4l2_format *f) argument
574 struct vpu_instance *inst = wave5_to_vpu_inst(fh);
615 static int wave5_vpu_dec_s_fmt_cap(struct file *file, void *fh, struct v4l2_format *f) argument
617 struct vpu_instance *inst = wave5_to_vpu_inst(fh);
625 ret = wave5_vpu_dec_try_fmt_cap(file, fh,
674 wave5_vpu_dec_g_fmt_cap(struct file *file, void *fh, struct v4l2_format *f) argument
698 wave5_vpu_dec_enum_fmt_out(struct file *file, void *fh, struct v4l2_fmtdesc *f) argument
715 wave5_vpu_dec_try_fmt_out(struct file *file, void *fh, struct v4l2_format *f) argument
745 wave5_vpu_dec_s_fmt_out(struct file *file, void *fh, struct v4l2_format *f) argument
787 wave5_vpu_dec_g_selection(struct file *file, void *fh, struct v4l2_selection *s) argument
821 wave5_vpu_dec_s_selection(struct file *file, void *fh, struct v4l2_selection *s) argument
932 wave5_vpu_dec_decoder_cmd(struct file *file, void *fh, struct v4l2_decoder_cmd *dc) argument
[all...]
/linux-master/include/media/
H A Dv4l2-ctrls.h1286 * @fh: unused. Kept just to be compatible to the arguments expected by
1292 int v4l2_ctrl_log_status(struct file *file, void *fh);
1298 * @fh: pointer to struct v4l2_fh
1304 int v4l2_ctrl_subscribe_event(struct v4l2_fh *fh,
1445 * @fh: pointer to &struct v4l2_fh
1452 int v4l2_s_ctrl(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl,
1489 * @fh: pointer to &struct v4l2_fh
1497 int v4l2_s_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl,
1508 * @fh: pointer to &struct v4l2_fh
1511 int v4l2_ctrl_subdev_subscribe_event(struct v4l2_subdev *sd, struct v4l2_fh *fh,
[all...]
H A Dv4l2-subdev.h17 #include <media/v4l2-fh.h>
216 int (*subscribe_event)(struct v4l2_subdev *sd, struct v4l2_fh *fh,
218 int (*unsubscribe_event)(struct v4l2_subdev *sd, struct v4l2_fh *fh,
951 int (*open)(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh);
952 int (*close)(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh);
1142 * @fh: pointer to &struct v4l2_fh
1144 #define to_v4l2_subdev_fh(fh) \
1145 container_of(fh, struct v4l2_subdev_fh, vfh)
/linux-master/Documentation/driver-api/media/drivers/ccs/
H A Dmk-ccs-regs77 for my $fh ($A, $LC) {
78 print $fh "// $license\n$copyright$note\n" if defined $fh;
81 for my $fh ($H, $LH) {
82 print $fh "/* $license */\n$copyright$note\n";
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-vbi-cap.c284 int vidioc_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument
296 int vidioc_try_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument
312 int vidioc_s_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt) argument
316 int ret = vidioc_try_fmt_sliced_vbi_cap(file, fh, fmt);
326 int vidioc_g_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_sliced_vbi_cap *cap) argument
/linux-master/tools/perf/util/
H A Dstat-display.c360 FILE *fh; member in struct:outstate
382 fputc('\n', os->fh);
384 fputs(os->prefix, os->fh);
390 fprintf(os->fh, " ");
398 fprintf(os->fh, " ");
407 FILE *out = os->fh;
436 fputs(config->csv_sep, os->fh);
445 FILE *out = os->fh;
467 FILE *out = os->fh;
479 fputs("\n{", os->fh);
[all...]
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-mc.c17 #include <media/v4l2-fh.h>
316 struct v4l2_fh *fh = q->owner; local
318 if (fh && fh->vdev)
319 return v4l_enable_media_source(fh->vdev);
/linux-master/drivers/media/common/saa7146/
H A Dsaa7146_video.c254 static int vidioc_querycap(struct file *file, void *fh, struct v4l2_capability *cap) argument
267 static int vidioc_enum_fmt_vid_cap(struct file *file, void *fh, struct v4l2_fmtdesc *f) argument
326 static int vidioc_g_parm(struct file *file, void *fh, argument
340 static int vidioc_g_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *f) argument
349 static int vidioc_g_fmt_vbi_cap(struct file *file, void *fh, struct v4l2_format *f) argument
358 static int vidioc_try_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *f) argument
367 DEB_EE("V4L2_BUF_TYPE_VIDEO_CAPTURE: dev:%p, fh:%p\n", dev, fh);
420 static int vidioc_s_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *f) argument
431 err = vidioc_try_fmt_vid_cap(file, fh,
448 vidioc_g_std(struct file *file, void *fh, v4l2_std_id *norm) argument
457 vidioc_s_std(struct file *file, void *fh, v4l2_std_id id) argument
[all...]
/linux-master/drivers/scsi/qedf/
H A Dqedf_main.c229 struct fc_frame_header *fh = fc_frame_header_get(fp); local
254 qedf->data_src_addr[3] = fh->fh_d_id[0];
255 qedf->data_src_addr[4] = fh->fh_d_id[1];
256 qedf->data_src_addr[5] = fh->fh_d_id[2];
259 fc_fcoe_set_mac(qedf->data_src_addr, fh->fh_d_id);
1039 struct fc_frame_header *fh; local
1042 fh = fc_frame_header_get(fp);
1043 if ((fh->fh_type == FC_TYPE_ELS) &&
1044 (fh->fh_r_ctl == FC_RCTL_ELS_REQ)) {
1066 struct fc_frame_header *fh; local
2464 struct fc_frame_header *fh; local
[all...]
/linux-master/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c107 static int decode_nfs_fh(struct xdr_stream *xdr, struct nfs_fh *fh) argument
114 fh->size = be32_to_cpup(p++);
115 if (fh->size > NFS_MAXFHSIZE) {
116 printk(KERN_ERR "NFS flexfiles: Too big fh received %d\n",
117 fh->size);
120 /* fh.data */
121 p = xdr_inline_decode(xdr, fh->size);
124 memcpy(&fh->data, p, fh->size);
125 dprintk("%s: fh le
1772 struct nfs_fh *fh; local
1841 struct nfs_fh *fh; local
1923 struct nfs_fh *fh; local
2429 struct nfs_fh *fh = &mirror->fh_versions[0]; local
[all...]
/linux-master/drivers/media/pci/cx18/
H A Dcx18-fileops.c617 if (v4l2_event_pending(&id->fh))
681 struct v4l2_fh *fh = filp->private_data; local
682 struct cx18_open_id *id = fh2id(fh);
716 v4l2_fh_del(fh);
717 v4l2_fh_exit(fh);
740 v4l2_fh_init(&item->fh, &s->video_dev);
746 filp->private_data = &item->fh;
747 v4l2_fh_add(&item->fh);
755 v4l2_fh_del(&item->fh);
756 v4l2_fh_exit(&item->fh);
[all...]
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fcoe.c390 struct fc_frame_header *fh; local
404 fh = (struct fc_frame_header *)(skb->data +
407 fh = (struct fc_frame_header *)(skb->data +
410 fctl = ntoh24(fh->fh_f_ctl);
412 xid = be16_to_cpu(fh->fh_ox_id);
414 xid = be16_to_cpu(fh->fh_rx_id);
468 if ((fh->fh_r_ctl == FC_RCTL_DD_SOL_DATA) &&
493 struct fc_frame_header *fh; local
558 fh = (struct fc_frame_header *)skb_transport_header(skb);
559 if (fh
[all...]
/linux-master/drivers/staging/media/ipu3/
H A Dipu3-v4l2.c18 static int imgu_subdev_open(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh) argument
39 v4l2_subdev_state_get_format(fh->state, i);
47 *v4l2_subdev_state_get_crop(fh->state, IMGU_NODE_IN) = try_crop;
48 *v4l2_subdev_state_get_compose(fh->state, IMGU_NODE_IN) = try_crop;
601 static int imgu_vidioc_querycap(struct file *file, void *fh, argument
656 static int imgu_vidioc_g_fmt(struct file *file, void *fh, argument
778 static int imgu_try_fmt(struct file *file, void *fh, struct v4l2_format *f) argument
795 static int imgu_vidioc_try_fmt(struct file *file, void *fh, argument
807 r = imgu_try_fmt(file, fh, f);
814 static int imgu_vidioc_s_fmt(struct file *file, void *fh, struc argument
843 imgu_meta_enum_format(struct file *file, void *fh, struct v4l2_fmtdesc *fmt) argument
862 imgu_vidioc_g_meta_fmt(struct file *file, void *fh, struct v4l2_format *f) argument
[all...]
/linux-master/drivers/media/platform/ti/vpe/
H A Dvpe.c396 struct v4l2_fh fh; member in struct:vpe_ctx
938 if (v4l2_m2m_num_src_bufs_ready(ctx->fh.m2m_ctx) <= 0 ||
939 v4l2_m2m_num_dst_bufs_ready(ctx->fh.m2m_ctx) <= 0)
1229 ctx->src_vbs[0] = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx);
1232 ctx->src_vbs[0] = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx);
1236 ctx->dst_vb = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx);
1512 v4l2_m2m_job_finish(dev->m2m_dev, ctx->fh.m2m_ctx);
1569 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type);
1738 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type);
1871 static int vpe_g_selection(struct file *file, void *fh, argument
1935 vpe_s_selection(struct file *file, void *fh, struct v4l2_selection *s) argument
[all...]

Completed in 260 milliseconds

1234567891011>>