/linux-master/fs/overlayfs/ |
H A D | copy_up.c | 405 struct ovl_fh *fh; local 415 fh = kzalloc(buflen + OVL_FH_FID_OFFSET, GFP_KERNEL); 416 if (!fh) 425 fh_type = exportfs_encode_fh(real, (void *)fh->fb.fid, &dwords, 0); 434 fh->fb.version = OVL_FH_VERSION; 435 fh->fb.magic = OVL_FH_MAGIC; 436 fh->fb.type = fh_type; 437 fh->fb.flags = OVL_FH_FLAG_CPU_ENDIAN; 445 fh->fb.flags |= OVL_FH_FLAG_PATH_UPPER; 446 fh 470 ovl_set_origin_fh(struct ovl_fs *ofs, const struct ovl_fh *fh, struct dentry *upper) argument 489 const struct ovl_fh *fh; local 507 ovl_create_index(struct dentry *dentry, const struct ovl_fh *fh, struct dentry *upper) argument 919 struct ovl_fh *fh = NULL; local [all...] |
/linux-master/drivers/s390/char/ |
H A D | sclp_pci.c | 40 u32 fh; member in struct:err_notify_evbuf 130 int sclp_pci_report(struct zpci_report_error_header *report, u32 fh, u32 fid) argument 170 sccb->evbuf.fh = fh;
|
/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-vid-common.h | 36 int vidioc_subscribe_event(struct v4l2_fh *fh, const struct v4l2_event_subscription *sub);
|
/linux-master/include/uapi/linux/ |
H A D | vfio_zdev.h | 33 __u32 fh; /* PCI function handle */ member in struct:vfio_device_info_cap_zpci_base
|
/linux-master/fs/nfsd/ |
H A D | flexfilelayoutxdr.h | 42 struct nfs_fh fh; member in struct:pnfs_ff_layout
|
H A D | nfsxdr.c | 280 return svcxdr_decode_fhandle(xdr, &args->fh); 288 return svcxdr_decode_fhandle(xdr, &args->fh) && 297 return svcxdr_decode_diropargs(xdr, &args->fh, &args->name, &args->len); 306 if (!svcxdr_decode_fhandle(xdr, &args->fh)) 325 if (!svcxdr_decode_fhandle(xdr, &args->fh)) 350 return svcxdr_decode_diropargs(xdr, &args->fh, 401 if (!svcxdr_decode_fhandle(xdr, &args->fh)) 432 if (!svcxdr_encode_fattr(rqstp, xdr, &resp->fh, &resp->stat)) 449 if (!svcxdr_encode_fhandle(xdr, &resp->fh)) 451 if (!svcxdr_encode_fattr(rqstp, xdr, &resp->fh, [all...] |
/linux-master/net/ipv6/ |
H A D | xfrm6_output.c | 50 struct frag_hdr *fh; local 55 fh = (struct frag_hdr *)(skb->data + sizeof(struct ipv6hdr)); 56 if (fh->nexthdr == NEXTHDR_ESP || fh->nexthdr == NEXTHDR_AUTH)
|
/linux-master/arch/s390/include/asm/ |
H A D | pci_clp.h | 23 u32 fh; /* PCI function handle */ member in struct:clp_fh_list_entry 104 u32 fh; /* function handle */ member in struct:clp_req_query_pci 177 u32 fh; /* function handle */ member in struct:clp_req_set_pci 188 u32 fh; /* function handle */ member in struct:clp_rsp_set_pci
|
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_drv.h | 136 * @fh: struct v4l2_fh 183 struct v4l2_fh fh; member in struct:mtk_vcodec_dec_ctx 310 static inline struct mtk_vcodec_dec_ctx *fh_to_dec_ctx(struct v4l2_fh *fh) argument 312 return container_of(fh, struct mtk_vcodec_dec_ctx, fh);
|
/linux-master/drivers/scsi/libfc/ |
H A D | fc_lport.c | 799 struct fc_frame_header *fh; local 851 fh = fc_frame_header_get(fp); 852 hton24(fh->fh_s_id, local_fid); 853 hton24(fh->fh_d_id, remote_fid); 947 struct fc_frame_header *fh = fc_frame_header_get(fp); local 960 if (fh->fh_type >= FC_FC4_PROV_SIZE) 962 prov = rcu_dereference(fc_passive_prov[fh->fh_type]); 971 FC_LPORT_DBG(lport, "dropping unexpected frame type %x\n", fh->fh_type); 1119 struct fc_frame_header *fh; local 1142 fh 1195 struct fc_frame_header *fh; local 1738 struct fc_frame_header *fh; local 1961 struct fc_frame_header *fh; local 2025 struct fc_frame_header *fh; local 2084 struct fc_frame_header *fh; local [all...] |
/linux-master/arch/alpha/include/uapi/asm/ |
H A D | a.out.h | 57 struct filehdr fh; member in struct:exec 90 (sizeof(struct exec) + (x).fh.f_nscns*SCNHSZ + SCNROUND - 1) & ~(SCNROUND - 1))
|
/linux-master/drivers/media/platform/st/sti/delta/ |
H A D | delta-v4l2.c | 27 #define to_ctx(__fh) container_of(__fh, struct delta_ctx, fh) 128 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); 148 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); 424 static int delta_g_fmt_stream(struct file *file, void *fh, argument 453 static int delta_g_fmt_frame(struct file *file, void *fh, struct v4l2_format *f) argument 605 static int delta_s_fmt_stream(struct file *file, void *fh, argument 614 ret = delta_try_fmt_stream(file, fh, f); 622 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); 642 static int delta_s_fmt_frame(struct file *file, void *fh, struct v4l2_format *f) argument 653 vq = v4l2_m2m_get_vq(ctx->fh 721 delta_g_selection(struct file *file, void *fh, struct v4l2_selection *s) argument 790 delta_try_decoder_cmd(struct file *file, void *fh, struct v4l2_decoder_cmd *cmd) argument 806 delta_decoder_stop_cmd(struct delta_ctx *ctx, void *fh) argument 866 delta_decoder_cmd(struct file *file, void *fh, struct v4l2_decoder_cmd *cmd) argument 879 delta_subscribe_event(struct v4l2_fh *fh, const struct v4l2_event_subscription *sub) argument [all...] |
/linux-master/drivers/media/usb/uvc/ |
H A D | uvc_metadata.c | 25 static int uvc_meta_v4l2_querycap(struct file *file, void *fh, argument 41 static int uvc_meta_v4l2_get_format(struct file *file, void *fh, argument 59 static int uvc_meta_v4l2_try_format(struct file *file, void *fh, argument 80 static int uvc_meta_v4l2_set_format(struct file *file, void *fh, argument 88 ret = uvc_meta_v4l2_try_format(file, fh, format); 109 static int uvc_meta_v4l2_enum_formats(struct file *file, void *fh, argument
|
/linux-master/drivers/media/platform/amlogic/meson-ge2d/ |
H A D | ge2d.c | 71 struct v4l2_fh fh; member in struct:ge2d_ctx 282 ctx->in.buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); 283 ctx->out.buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); 301 src = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); 302 dst = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); 313 v4l2_m2m_job_finish(ge2d->m2m_dev, ctx->fh.m2m_ctx); 357 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); 379 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); 381 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); 608 vq = v4l2_m2m_get_vq(ctx->fh [all...] |
/linux-master/drivers/media/platform/sunxi/sun8i-rotate/ |
H A D | sun8i_rotate.c | 70 src = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); 71 dst = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); 160 buffer = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); 163 buffer = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); 166 v4l2_m2m_job_finish(ctx->dev->m2m_dev, ctx->fh.m2m_ctx); 173 return container_of(file->private_data, struct rotate_ctx, fh); 350 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); 370 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); 378 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE); 471 v4l2_m2m_buf_queue(ctx->fh [all...] |
/linux-master/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_els.c | 185 struct fc_frame_header *fh; local 191 fh = fc_frame_header_get(fp); 198 cb_arg->l2_oxid = ntohs(fh->fh_ox_id); 213 struct fc_frame_header *fh; local 219 fh = fc_frame_header_get(fp); 226 cb_arg->l2_oxid = ntohs(fh->fh_ox_id); 241 struct fc_frame_header *fh; local 247 fh = fc_frame_header_get(fp); 254 cb_arg->l2_oxid = ntohs(fh->fh_ox_id); 268 struct fc_frame_header *fc_hdr, *fh; local 380 struct fc_frame_header *fc_hdr, *fh; local 867 struct fc_frame_header *fh; local 935 struct fc_frame_header *fh = fc_frame_header_get(fp); local [all...] |
/linux-master/drivers/media/platform/ |
H A D | m2m-deinterlace.c | 135 struct v4l2_fh fh; member in struct:deinterlace_ctx 153 if (v4l2_m2m_num_src_bufs_ready(ctx->fh.m2m_ctx) > 0 && 154 v4l2_m2m_num_dst_bufs_ready(ctx->fh.m2m_ctx) > 0 && 174 v4l2_m2m_job_finish(pcdev->m2m_dev, ctx->fh.m2m_ctx); 185 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); 186 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); 197 v4l2_m2m_job_finish(pcdev->m2m_dev, curr_ctx->fh.m2m_ctx); 216 src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); 217 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); 486 vq = v4l2_m2m_get_vq(ctx->fh [all...] |
/linux-master/drivers/staging/media/imx/ |
H A D | imx-media-capture.c | 81 static int capture_querycap(struct file *file, void *fh, argument 94 static int capture_enum_fmt_vid_cap(struct file *file, void *fh, argument 101 static int capture_enum_framesizes(struct file *file, void *fh, argument 129 static int capture_g_fmt_vid_cap(struct file *file, void *fh, argument 182 static int capture_try_fmt_vid_cap(struct file *file, void *fh, argument 189 static int capture_s_fmt_vid_cap(struct file *file, void *fh, argument 208 static int capture_g_selection(struct file *file, void *fh, argument 238 static int capture_subscribe_event(struct v4l2_fh *fh, argument 243 return v4l2_event_subscribe(fh, sub, 0, NULL); 279 static int capture_legacy_enum_framesizes(struct file *file, void *fh, argument 319 capture_legacy_enum_frameintervals(struct file *file, void *fh, struct v4l2_frmivalenum *fival) argument 350 capture_legacy_enum_fmt_vid_cap(struct file *file, void *fh, struct v4l2_fmtdesc *f) argument 425 capture_legacy_try_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *f) argument 445 capture_legacy_s_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *f) argument 477 capture_legacy_querystd(struct file *file, void *fh, v4l2_std_id *std) argument 485 capture_legacy_g_std(struct file *file, void *fh, v4l2_std_id *std) argument 492 capture_legacy_s_std(struct file *file, void *fh, v4l2_std_id std) argument 502 capture_legacy_g_parm(struct file *file, void *fh, struct v4l2_streamparm *a) argument 525 capture_legacy_s_parm(struct file *file, void *fh, struct v4l2_streamparm *a) argument 549 capture_legacy_subscribe_event(struct v4l2_fh *fh, const struct v4l2_event_subscription *sub) argument [all...] |
/linux-master/drivers/media/platform/sunxi/sun8i-di/ |
H A D | sun8i-di.c | 71 src = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); 72 dst = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); 205 return v4l2_m2m_num_src_bufs_ready(ctx->fh.m2m_ctx) >= 1 && 206 v4l2_m2m_num_dst_bufs_ready(ctx->fh.m2m_ctx) >= 2; 249 dst = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); 255 src = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); 260 v4l2_m2m_job_finish(ctx->dev->m2m_dev, ctx->fh.m2m_ctx); 312 return container_of(file->private_data, struct deinterlace_ctx, fh); 454 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); 474 vq = v4l2_m2m_get_vq(ctx->fh [all...] |
/linux-master/drivers/media/platform/mediatek/mdp/ |
H A D | mtk_mdp_m2m.c | 351 static inline struct mtk_mdp_ctx *fh_to_ctx(struct v4l2_fh *fh) argument 353 return container_of(fh, struct mtk_mdp_ctx, fh); 591 static int mtk_mdp_m2m_querycap(struct file *file, void *fh, argument 594 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); 629 static int mtk_mdp_m2m_g_fmt_mplane(struct file *file, void *fh, argument 632 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); 668 static int mtk_mdp_m2m_try_fmt_mplane(struct file *file, void *fh, argument 671 struct mtk_mdp_ctx *ctx = fh_to_ctx(fh); 678 static int mtk_mdp_m2m_s_fmt_mplane(struct file *file, void *fh, argument 724 mtk_mdp_m2m_reqbufs(struct file *file, void *fh, struct v4l2_requestbuffers *reqbufs) argument 732 mtk_mdp_m2m_streamon(struct file *file, void *fh, enum v4l2_buf_type type) argument 770 mtk_mdp_m2m_g_selection(struct file *file, void *fh, struct v4l2_selection *s) argument 837 mtk_mdp_m2m_s_selection(struct file *file, void *fh, struct v4l2_selection *s) argument [all...] |
/linux-master/drivers/staging/media/omap4iss/ |
H A D | iss_video.c | 522 iss_video_querycap(struct file *file, void *fh, struct v4l2_capability *cap) argument 536 iss_video_enum_format(struct file *file, void *fh, struct v4l2_fmtdesc *f) argument 569 iss_video_get_format(struct file *file, void *fh, struct v4l2_format *format) argument 571 struct iss_video_fh *vfh = to_iss_video_fh(fh); 585 iss_video_set_format(struct file *file, void *fh, struct v4l2_format *format) argument 587 struct iss_video_fh *vfh = to_iss_video_fh(fh); 610 iss_video_try_format(struct file *file, void *fh, struct v4l2_format *format) argument 639 iss_video_get_selection(struct file *file, void *fh, struct v4l2_selection *sel) argument 698 iss_video_set_selection(struct file *file, void *fh, struct v4l2_selection *sel) argument 738 iss_video_get_param(struct file *file, void *fh, struc argument 756 iss_video_set_param(struct file *file, void *fh, struct v4l2_streamparm *a) argument 774 iss_video_reqbufs(struct file *file, void *fh, struct v4l2_requestbuffers *rb) argument 782 iss_video_querybuf(struct file *file, void *fh, struct v4l2_buffer *b) argument 790 iss_video_qbuf(struct file *file, void *fh, struct v4l2_buffer *b) argument 799 iss_video_expbuf(struct file *file, void *fh, struct v4l2_exportbuffer *e) argument 807 iss_video_dqbuf(struct file *file, void *fh, struct v4l2_buffer *b) argument 846 iss_video_streamon(struct file *file, void *fh, enum v4l2_buf_type type) argument 985 iss_video_streamoff(struct file *file, void *fh, enum v4l2_buf_type type) argument 1030 iss_video_enum_input(struct file *file, void *fh, struct v4l2_input *input) argument 1042 iss_video_g_input(struct file *file, void *fh, unsigned int *input) argument 1050 iss_video_s_input(struct file *file, void *fh, unsigned int input) argument [all...] |
/linux-master/drivers/media/platform/nvidia/tegra-vde/ |
H A D | v4l2.c | 49 static inline struct tegra_ctx *fh_to_tegra_ctx(struct v4l2_fh *fh) argument 51 return container_of(fh, struct tegra_ctx, fh); 286 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); 309 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); 311 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); 482 v4l2_m2m_buf_done_and_job_finish(ctx->vde->m2m, ctx->fh.m2m_ctx, 581 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, 662 struct v4l2_m2m_ctx *m2m_ctx = ctx->fh.m2m_ctx; 790 ctx->fh 858 struct v4l2_fh *fh = file->private_data; local [all...] |
/linux-master/drivers/target/tcm_fc/ |
H A D | tfc_io.c | 201 struct fc_frame_header *fh; local 215 fh = fc_frame_header_get(fp); 216 if (!(ntoh24(fh->fh_f_ctl) & FC_FC_REL_OFF)) 219 f_ctl = ntoh24(fh->fh_f_ctl); 260 rel_off = ntohl(fh->fh_parm_offset); 262 if (frame_len <= sizeof(*fh)) 264 frame_len -= sizeof(*fh);
|
/linux-master/drivers/media/usb/hdpvr/ |
H A D | hdpvr-video.c | 51 struct v4l2_fh fh; member in struct:hdpvr_fh 377 struct hdpvr_fh *fh = kzalloc(sizeof(*fh), GFP_KERNEL); local 379 if (fh == NULL) 381 fh->legacy_mode = true; 382 v4l2_fh_init(&fh->fh, video_devdata(file)); 383 v4l2_fh_add(&fh->fh); 384 file->private_data = fh; 593 struct hdpvr_fh *fh = _fh; local 613 struct hdpvr_fh *fh = _fh; local 625 struct hdpvr_fh *fh = _fh; local 644 struct hdpvr_fh *fh = _fh; local 667 struct hdpvr_fh *fh = _fh; local 680 struct hdpvr_fh *fh = _fh; local 722 struct hdpvr_fh *fh = _fh; local 738 struct hdpvr_fh *fh = _fh; local 998 struct hdpvr_fh *fh = _fh; local [all...] |
/linux-master/fs/lockd/ |
H A D | xdr.c | 51 svcxdr_decode_fhandle(struct xdr_stream *xdr, struct nfs_fh *fh) argument 64 fh->size = NFS2_FHSIZE; 65 memcpy(fh->data, p, len); 66 memset(fh->data + NFS2_FHSIZE, 0, sizeof(fh->data) - NFS2_FHSIZE); 79 if (!svcxdr_decode_fhandle(xdr, &lock->fh)) 284 if (!svcxdr_decode_fhandle(xdr, &lock->fh))
|