Home
last modified time | relevance | path

Searched refs:fh_type (Results 1 – 43 of 43) sorted by relevance

/linux-4.4.14/drivers/scsi/libfc/
Dfc_elsct.c51 enum fc_fh_type fh_type; in fc_elsct_send() local
56 rc = fc_els_fill(lport, did, fp, op, &r_ctl, &fh_type); in fc_elsct_send()
59 rc = fc_ct_fill(lport, did, fp, op, &r_ctl, &fh_type, &did); in fc_elsct_send()
67 fc_fill_fc_hdr(fp, r_ctl, did, lport->port_id, fh_type, in fc_elsct_send()
114 switch (fh->fh_type) { in fc_els_resp_type()
Dfc_exch.c473 u8 fh_type = fh->fh_type; in fc_seq_send_locked() local
504 if (fh_type == FC_TYPE_BLS) in fc_seq_send_locked()
1221 enum fc_rctl rctl, enum fc_fh_type fh_type) in fc_seq_send_last() argument
1228 fc_fill_fc_hdr(fp, rctl, ep->did, ep->sid, fh_type, f_ctl, 0); in fc_seq_send_last()
1258 fh->fh_type = FC_TYPE_BLS; in fc_seq_send_ack()
1332 fh->fh_type = FC_TYPE_BLS; in fc_exch_send_ba_rjt()
1573 if (fh->fh_type != FC_TYPE_FCP && fr_eof(fp) == FC_EOF_T && in fc_exch_recv_seq_resp()
1689 if (ep->fh_type != FC_TYPE_FCP && in fc_exch_abts_resp()
2101 ep->fh_type = fh->fh_type; /* save for possbile timeout handling */ in fc_exch_seq_send()
2530 if (fh->fh_type == FC_TYPE_BLS) in fc_exch_recv()
Dfc_libfc.c193 fh->fh_type = in_fh->fh_type; in fc_fill_hdr()
Dfc_lport.c970 if (fh->fh_type >= FC_FC4_PROV_SIZE) in fc_lport_recv_req()
972 prov = rcu_dereference(fc_passive_prov[fh->fh_type]); in fc_lport_recv_req()
981 FC_LPORT_DBG(lport, "dropping unexpected frame type %x\n", fh->fh_type); in fc_lport_recv_req()
1155 if (fh && ct && fh->fh_type == FC_TYPE_CT && in fc_lport_ns_resp()
1231 if (fh && ct && fh->fh_type == FC_TYPE_CT && in fc_lport_ms_resp()
1993 fh->fh_type = FC_TYPE_ELS; in fc_lport_els_request()
2054 fh->fh_type = FC_TYPE_CT; in fc_lport_ct_request()
Dfc_fcp.c772 if (fh->fh_type == FC_TYPE_BLS) { in fc_fcp_recv()
1355 if (fh->fh_type != FC_TYPE_BLS) in fc_tm_done()
1739 if (fh->fh_type == FC_TYPE_BLS) { in fc_fcp_srr_resp()
/linux-4.4.14/fs/squashfs/
Dexport.c91 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_dentry() argument
93 if ((fh_type != FILEID_INO32_GEN && fh_type != FILEID_INO32_GEN_PARENT) in squashfs_fh_to_dentry()
102 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_parent() argument
104 if (fh_type != FILEID_INO32_GEN_PARENT || fh_len < 4) in squashfs_fh_to_parent()
/linux-4.4.14/fs/fat/
Dnfs.c152 int fh_len, int fh_type) in fat_fh_to_dentry() argument
154 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in fat_fh_to_dentry()
160 int fh_type) in fat_fh_to_dentry_nostale() argument
166 switch (fh_type) { in fat_fh_to_dentry_nostale()
190 int fh_len, int fh_type) in fat_fh_to_parent() argument
192 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in fat_fh_to_parent()
198 int fh_type) in fat_fh_to_parent_nostale() argument
207 switch (fh_type) { in fat_fh_to_parent_nostale()
/linux-4.4.14/fs/efs/
Dnamei.c96 int fh_len, int fh_type) in efs_fh_to_dentry() argument
98 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in efs_fh_to_dentry()
103 int fh_len, int fh_type) in efs_fh_to_parent() argument
105 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in efs_fh_to_parent()
Defs.h140 int fh_len, int fh_type);
142 int fh_len, int fh_type);
/linux-4.4.14/include/linux/
Dexportfs.h203 int fh_len, int fh_type);
205 int fh_len, int fh_type);
231 struct fid *fid, int fh_len, int fh_type,
234 struct fid *fid, int fh_len, int fh_type,
/linux-4.4.14/fs/btrfs/
Dexport.c108 int fh_len, int fh_type) in btrfs_fh_to_parent() argument
114 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in btrfs_fh_to_parent()
118 } else if (fh_type == FILEID_BTRFS_WITH_PARENT_ROOT) { in btrfs_fh_to_parent()
132 int fh_len, int fh_type) in btrfs_fh_to_dentry() argument
138 if ((fh_type != FILEID_BTRFS_WITH_PARENT || in btrfs_fh_to_dentry()
140 (fh_type != FILEID_BTRFS_WITH_PARENT_ROOT || in btrfs_fh_to_dentry()
142 (fh_type != FILEID_BTRFS_WITHOUT_PARENT || in btrfs_fh_to_dentry()
/linux-4.4.14/fs/isofs/
Dexport.c162 struct fid *fid, int fh_len, int fh_type) in isofs_fh_to_dentry() argument
166 if (fh_len < 3 || fh_type > 2) in isofs_fh_to_dentry()
174 struct fid *fid, int fh_len, int fh_type) in isofs_fh_to_parent() argument
178 if (fh_len < 2 || fh_type != 2) in isofs_fh_to_parent()
/linux-4.4.14/fs/ceph/
Dexport.c110 int fh_len, int fh_type) in ceph_fh_to_dentry() argument
114 if (fh_type != FILEID_INO32_GEN && in ceph_fh_to_dentry()
115 fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_dentry()
188 int fh_len, int fh_type) in ceph_fh_to_parent() argument
193 if (fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_parent()
/linux-4.4.14/fs/gfs2/
Dexport.c159 int fh_len, int fh_type) in gfs2_fh_to_dentry() argument
164 switch (fh_type) { in gfs2_fh_to_dentry()
181 int fh_len, int fh_type) in gfs2_fh_to_parent() argument
186 switch (fh_type) { in gfs2_fh_to_parent()
/linux-4.4.14/fs/ocfs2/
Dexport.c239 struct fid *fid, int fh_len, int fh_type) in ocfs2_fh_to_dentry() argument
243 if (fh_len < 3 || fh_type > 2) in ocfs2_fh_to_dentry()
253 struct fid *fid, int fh_len, int fh_type) in ocfs2_fh_to_parent() argument
257 if (fh_type != 2 || fh_len < 6) in ocfs2_fh_to_parent()
/linux-4.4.14/fs/jfs/
Djfs_inode.h38 int fh_len, int fh_type);
40 int fh_len, int fh_type);
Dnamei.c1506 int fh_len, int fh_type) in jfs_fh_to_dentry() argument
1508 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in jfs_fh_to_dentry()
1513 int fh_len, int fh_type) in jfs_fh_to_parent() argument
1515 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in jfs_fh_to_parent()
/linux-4.4.14/include/scsi/
Dfc_encode.h63 fh->fh_type = type; in __fc_fill_fc_hdr()
134 enum fc_fh_type *fh_type) in fc_ct_ns_fill() argument
202 *fh_type = FC_TYPE_CT; in fc_ct_ns_fill()
218 enum fc_fh_type *fh_type) in fc_ct_ms_fill() argument
496 *fh_type = FC_TYPE_CT; in fc_ct_ms_fill()
512 enum fc_fh_type *fh_type, u32 *did) in fc_ct_fill() argument
518 rc = fc_ct_ms_fill(lport, fc_id, fp, op, r_ctl, fh_type); in fc_ct_fill()
523 rc = fc_ct_ns_fill(lport, fc_id, fp, op, r_ctl, fh_type); in fc_ct_fill()
692 enum fc_rctl *r_ctl, enum fc_fh_type *fh_type) in fc_els_fill() argument
736 *fh_type = FC_TYPE_ELS; in fc_els_fill()
Dlibfc.h438 u8 fh_type; member
/linux-4.4.14/fs/ntfs/
Dnamei.c368 int fh_len, int fh_type) in ntfs_fh_to_dentry() argument
370 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in ntfs_fh_to_dentry()
375 int fh_len, int fh_type) in ntfs_fh_to_parent() argument
377 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in ntfs_fh_to_parent()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dllite_nfs.c258 int fh_len, int fh_type) in ll_fh_to_dentry() argument
262 if (fh_type != LUSTRE_NFS_FID) in ll_fh_to_dentry()
269 int fh_len, int fh_type) in ll_fh_to_parent() argument
273 if (fh_type != LUSTRE_NFS_FID) in ll_fh_to_parent()
/linux-4.4.14/fs/jffs2/
Dsuper.c123 int fh_len, int fh_type) in jffs2_fh_to_dentry() argument
125 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in jffs2_fh_to_dentry()
130 int fh_len, int fh_type) in jffs2_fh_to_parent() argument
132 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in jffs2_fh_to_parent()
/linux-4.4.14/fs/nilfs2/
Dnamei.c492 int fh_len, int fh_type) in nilfs_fh_to_dentry() argument
497 (fh_type != FILEID_NILFS_WITH_PARENT && in nilfs_fh_to_dentry()
498 fh_type != FILEID_NILFS_WITHOUT_PARENT)) in nilfs_fh_to_dentry()
505 int fh_len, int fh_type) in nilfs_fh_to_parent() argument
510 fh_type != FILEID_NILFS_WITH_PARENT) in nilfs_fh_to_parent()
/linux-4.4.14/fs/reiserfs/
Dinode.c1693 int fh_len, int fh_type) in reiserfs_fh_to_dentry() argument
1708 if (fh_type > fh_len) { in reiserfs_fh_to_dentry()
1709 if (fh_type != 6 || fh_len != 5) in reiserfs_fh_to_dentry()
1712 fh_type, fh_len); in reiserfs_fh_to_dentry()
1713 fh_type = fh_len; in reiserfs_fh_to_dentry()
1719 (fh_type == 3 || fh_type >= 5) ? fid->raw[2] : 0); in reiserfs_fh_to_dentry()
1723 int fh_len, int fh_type) in reiserfs_fh_to_parent() argument
1725 if (fh_type > fh_len) in reiserfs_fh_to_parent()
1726 fh_type = fh_len; in reiserfs_fh_to_parent()
1727 if (fh_type < 4) in reiserfs_fh_to_parent()
[all …]
Dreiserfs.h3071 int fh_len, int fh_type);
3073 int fh_len, int fh_type);
/linux-4.4.14/fs/exofs/
Dsuper.c981 struct fid *fid, int fh_len, int fh_type) in exofs_fh_to_dentry() argument
983 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in exofs_fh_to_dentry()
988 struct fid *fid, int fh_len, int fh_type) in exofs_fh_to_parent() argument
990 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in exofs_fh_to_parent()
/linux-4.4.14/include/uapi/scsi/fc/
Dfc_fs.h40 __u8 fh_type; /* see enum fc_fh_type below */ member
/linux-4.4.14/fs/fuse/
Dinode.c730 struct fid *fid, int fh_len, int fh_type) in fuse_fh_to_dentry() argument
734 if ((fh_type != 0x81 && fh_type != 0x82) || fh_len < 3) in fuse_fh_to_dentry()
744 struct fid *fid, int fh_len, int fh_type) in fuse_fh_to_parent() argument
748 if (fh_type != 0x82 || fh_len < 6) in fuse_fh_to_parent()
/linux-4.4.14/fs/
Dlibfs.c869 int fh_len, int fh_type, struct inode *(*get_inode) in generic_fh_to_dentry() argument
877 switch (fh_type) { in generic_fh_to_dentry()
902 int fh_len, int fh_type, struct inode *(*get_inode) in generic_fh_to_parent() argument
910 switch (fh_type) { in generic_fh_to_parent()
/linux-4.4.14/fs/udf/
Dnamei.c1273 struct fid *fid, int fh_len, int fh_type) in udf_fh_to_dentry() argument
1276 (fh_type != FILEID_UDF_WITH_PARENT && in udf_fh_to_dentry()
1277 fh_type != FILEID_UDF_WITHOUT_PARENT)) in udf_fh_to_dentry()
1285 struct fid *fid, int fh_len, int fh_type) in udf_fh_to_parent() argument
1287 if (fh_len < 5 || fh_type != FILEID_UDF_WITH_PARENT) in udf_fh_to_parent()
/linux-4.4.14/fs/f2fs/
Dsuper.c882 int fh_len, int fh_type) in f2fs_fh_to_dentry() argument
884 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in f2fs_fh_to_dentry()
889 int fh_len, int fh_type) in f2fs_fh_to_parent() argument
891 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in f2fs_fh_to_parent()
/linux-4.4.14/fs/ext2/
Dsuper.c366 int fh_len, int fh_type) in ext2_fh_to_dentry() argument
368 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in ext2_fh_to_dentry()
373 int fh_len, int fh_type) in ext2_fh_to_parent() argument
375 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in ext2_fh_to_parent()
/linux-4.4.14/fs/ufs/
Dsuper.c116 int fh_len, int fh_type) in ufs_fh_to_dentry() argument
118 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, ufs_nfs_get_inode); in ufs_fh_to_dentry()
122 int fh_len, int fh_type) in ufs_fh_to_parent() argument
124 return generic_fh_to_parent(sb, fid, fh_len, fh_type, ufs_nfs_get_inode); in ufs_fh_to_parent()
/linux-4.4.14/drivers/media/usb/cx231xx/
Dcx231xx-video.c1703 enum v4l2_buf_type fh_type = 0; in cx231xx_v4l2_open() local
1707 fh_type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in cx231xx_v4l2_open()
1710 fh_type = V4L2_BUF_TYPE_VBI_CAPTURE; in cx231xx_v4l2_open()
1718 video_device_node_name(vdev), v4l2_type_names[fh_type], in cx231xx_v4l2_open()
1738 fh->type = fh_type; in cx231xx_v4l2_open()
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c206 if ((fh->fh_type == FC_TYPE_ELS) && in bnx2fc_xmit_l2_frame()
222 } else if ((fh->fh_type == FC_TYPE_BLS) && in bnx2fc_xmit_l2_frame()
228 fh->fh_type, fh->fh_r_ctl); in bnx2fc_xmit_l2_frame()
554 fh->fh_type == FC_TYPE_FCP) { in bnx2fc_recv_frame()
560 fh->fh_type == FC_TYPE_ELS) { in bnx2fc_recv_frame()
Dbnx2fc_hwi.c593 if (fh->fh_type == FC_TYPE_ELS) { in bnx2fc_process_l2_frame_compl()
/linux-4.4.14/drivers/media/usb/em28xx/
Dem28xx-video.c1887 enum v4l2_buf_type fh_type = 0; in em28xx_v4l2_open() local
1892 fh_type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in em28xx_v4l2_open()
1895 fh_type = V4L2_BUF_TYPE_VBI_CAPTURE; in em28xx_v4l2_open()
1904 video_device_node_name(vdev), v4l2_type_names[fh_type], in em28xx_v4l2_open()
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_sli4.h85 ((fc_hdr)->fh_type)
Dlpfc_sli.c14634 switch (fc_hdr->fh_type) { in lpfc_fc_frame_check()
14650 type_names[fc_hdr->fh_type], fc_hdr->fh_type, in lpfc_fc_frame_check()
14660 type_names[fc_hdr->fh_type]); in lpfc_fc_frame_check()
15424 fc_hdr->fh_r_ctl, fc_hdr->fh_type); in lpfc_sli4_send_seq_to_ulp()
15430 fc_hdr->fh_type)) in lpfc_sli4_send_seq_to_ulp()
15435 fc_hdr->fh_r_ctl, fc_hdr->fh_type); in lpfc_sli4_send_seq_to_ulp()
/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe.c1614 if (unlikely(fh->fh_type == FC_TYPE_ELS) && in fcoe_xmit()
1752 if (fh->fh_r_ctl == FC_RCTL_DD_SOL_DATA && fh->fh_type == FC_TYPE_FCP) in fcoe_filter_frames()
Dfcoe_ctlr.c1879 if (fh->fh_type != FC_TYPE_ELS) in fcoe_ctlr_recv_flogi()
/linux-4.4.14/fs/ext4/
Dsuper.c1036 int fh_len, int fh_type) in ext4_fh_to_dentry() argument
1038 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in ext4_fh_to_dentry()
1043 int fh_len, int fh_type) in ext4_fh_to_parent() argument
1045 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in ext4_fh_to_parent()
/linux-4.4.14/mm/
Dshmem.c2689 struct fid *fid, int fh_len, int fh_type) in shmem_fh_to_dentry() argument