| /linux/drivers/scsi/libfc/ |
| H A D | fc_elsct.c | 39 enum fc_fh_type fh_type; in fc_elsct_send() local 44 rc = fc_els_fill(lport, did, fp, op, &r_ctl, &fh_type); in fc_elsct_send() 47 rc = fc_ct_fill(lport, did, fp, op, &r_ctl, &fh_type, &did); in fc_elsct_send() 55 fc_fill_fc_hdr(fp, r_ctl, did, lport->port_id, fh_type, in fc_elsct_send() 102 switch (fh->fh_type) { in fc_els_resp_type()
|
| H A D | fc_exch.c | 470 u8 fh_type = fh->fh_type; in fc_seq_send_locked() local 501 if (fh_type == FC_TYPE_BLS) in fc_seq_send_locked() 1257 enum fc_rctl rctl, enum fc_fh_type fh_type) in fc_seq_send_last() argument 1264 fc_fill_fc_hdr(fp, rctl, ep->did, ep->sid, fh_type, f_ctl, 0); in fc_seq_send_last() 1296 fh->fh_type = FC_TYPE_BLS; in fc_seq_send_ack() 1375 fh->fh_type = FC_TYPE_BLS; in fc_exch_send_ba_rjt() 1618 if (fh->fh_type != FC_TYPE_FCP && fr_eof(fp) == FC_EOF_T && in fc_exch_recv_seq_resp() 1741 if (ep->fh_type != FC_TYPE_FCP && in fc_exch_abts_resp() 2204 ep->fh_type = fh->fh_type; /* save for possbile timeout handling */ in fc_exch_seq_send() 2638 if (fh->fh_type == FC_TYPE_BLS) in fc_exch_recv()
|
| H A D | fc_libfc.c | 181 fh->fh_type = in_fh->fh_type; in fc_fill_hdr()
|
| H A D | fc_lport.c | 960 if (fh->fh_type >= FC_FC4_PROV_SIZE) in fc_lport_recv() 962 prov = rcu_dereference(fc_passive_prov[fh->fh_type]); in fc_lport_recv() 971 FC_LPORT_DBG(lport, "dropping unexpected frame type %x\n", fh->fh_type); in fc_lport_recv() 1145 if (fh && ct && fh->fh_type == FC_TYPE_CT && in fc_lport_ns_resp() 1221 if (fh && ct && fh->fh_type == FC_TYPE_CT && in fc_lport_ms_resp() 2046 fh->fh_type = FC_TYPE_ELS; in fc_lport_els_request() 2106 fh->fh_type = FC_TYPE_CT; in fc_lport_ct_request()
|
| H A D | fc_fcp.c | 798 if (fh->fh_type == FC_TYPE_BLS) { in fc_fcp_recv() 1387 if (fh->fh_type != FC_TYPE_BLS) in fc_tm_done() 1789 if (fh->fh_type == FC_TYPE_BLS) { in fc_fcp_srr_resp()
|
| /linux/fs/squashfs/ |
| H A D | export.c | 83 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_dentry() argument 85 if ((fh_type != FILEID_INO32_GEN && fh_type != FILEID_INO32_GEN_PARENT) in squashfs_fh_to_dentry() 94 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_parent() argument 96 if (fh_type != FILEID_INO32_GEN_PARENT || fh_len < 4) in squashfs_fh_to_parent()
|
| /linux/fs/btrfs/ |
| H A D | export.c | 107 int fh_len, int fh_type) in btrfs_fh_to_parent() argument 113 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in btrfs_fh_to_parent() 117 } else if (fh_type == FILEID_BTRFS_WITH_PARENT_ROOT) { in btrfs_fh_to_parent() 131 int fh_len, int fh_type) in btrfs_fh_to_dentry() argument 137 if ((fh_type != FILEID_BTRFS_WITH_PARENT || in btrfs_fh_to_dentry() 139 (fh_type != FILEID_BTRFS_WITH_PARENT_ROOT || in btrfs_fh_to_dentry() 141 (fh_type != FILEID_BTRFS_WITHOUT_PARENT || in btrfs_fh_to_dentry()
|
| /linux/fs/isofs/ |
| H A D | export.c | 171 struct fid *fid, int fh_len, int fh_type) in isofs_fh_to_dentry() argument 175 if (fh_len < 3 || fh_type > 2) in isofs_fh_to_dentry() 183 struct fid *fid, int fh_len, int fh_type) in isofs_fh_to_parent() argument 187 if (fh_len < 2 || fh_type != 2) in isofs_fh_to_parent()
|
| /linux/fs/kernfs/ |
| H A D | mount.c | 99 int fh_type, bool get_parent) in __kernfs_fh_to_dentry() argument 109 switch (fh_type) { in __kernfs_fh_to_dentry() 148 int fh_type) in kernfs_fh_to_dentry() argument 150 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, false); in kernfs_fh_to_dentry() 155 int fh_type) in kernfs_fh_to_parent() argument 157 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, true); in kernfs_fh_to_parent()
|
| /linux/fs/jfs/ |
| H A D | jfs_inode.h | 26 int fh_len, int fh_type); 28 int fh_len, int fh_type);
|
| /linux/fs/ceph/ |
| H A D | export.c | 303 int fh_len, int fh_type) in ceph_fh_to_dentry() argument 308 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in ceph_fh_to_dentry() 313 if (fh_type != FILEID_INO32_GEN && in ceph_fh_to_dentry() 314 fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_dentry() 422 int fh_len, int fh_type) in ceph_fh_to_parent() argument 428 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in ceph_fh_to_parent() 433 if (fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_parent()
|
| /linux/fs/jffs2/ |
| H A D | super.c | 123 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/fs/overlayfs/ |
| H A D | super.c | 414 int fh_type; in ovl_lower_dir() local 427 fh_type = ovl_can_decode_fh(path->dentry->d_sb); in ovl_lower_dir() 429 (ofs->config.index && ofs->config.upperdir)) && !fh_type) { in ovl_lower_dir() 435 ofs->nofh |= !fh_type; in ovl_lower_dir() 441 ofs->config.upperdir && !fh_type) { in ovl_lower_dir() 448 if (fh_type != FILEID_INO32_GEN) in ovl_lower_dir() 671 int fh_type; in ovl_make_workdir() local 784 fh_type = ovl_can_decode_fh(ofs->workdir->d_sb); in ovl_make_workdir() 785 if (ofs->config.index && !fh_type) { in ovl_make_workdir() 789 ofs->nofh |= !fh_type; in ovl_make_workdir() [all …]
|
| H A D | copy_up.c | 422 int fh_type, dwords; in ovl_encode_real_fh() local 441 fh_type = exportfs_encode_inode_fh(realinode, (void *)fh->fb.fid, in ovl_encode_real_fh() 446 if (fh_type < 0 || fh_type == FILEID_INVALID || in ovl_encode_real_fh() 452 fh->fb.type = fh_type; in ovl_encode_real_fh()
|
| /linux/drivers/scsi/elx/efct/ |
| H A D | efct_unsol.c | 52 if (!(hdr->fh_type == FC_TYPE_FCP || hdr->fh_type == FC_TYPE_BLS)) in efct_dispatch_frame() 55 if (hdr->fh_type == FC_TYPE_FCP) { in efct_dispatch_frame() 244 hdr.fh_type = type; in efct_sframe_common_send()
|
| /linux/fs/erofs/ |
| H A D | super.c | 597 struct fid *fid, int fh_len, int fh_type) in erofs_fh_to_dentry() argument 599 if ((fh_type != FILEID_INO64_GEN && in erofs_fh_to_dentry() 600 fh_type != FILEID_INO64_GEN_PARENT) || fh_len < 3) in erofs_fh_to_dentry() 608 struct fid *fid, int fh_len, int fh_type) in erofs_fh_to_parent() argument 610 if (fh_type != FILEID_INO64_GEN_PARENT || fh_len < 6) in erofs_fh_to_parent()
|
| /linux/include/uapi/scsi/fc/ |
| H A D | fc_fs.h | 28 __u8 fh_type; /* see enum fc_fh_type below */ member
|
| /linux/include/scsi/ |
| H A D | fc_frame.h | 258 fh->fh_type = type; in __fc_fill_fc_hdr()
|
| /linux/fs/orangefs/ |
| H A D | super.c | 317 int fh_type) in orangefs_fh_to_dentry() argument 321 if (fh_len < 5 || fh_type > 2) in orangefs_fh_to_dentry()
|
| /linux/fs/ntfs/ |
| H A D | namei.c | 1657 int fh_len, int fh_type) in ntfs_fh_to_dentry() argument 1659 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in ntfs_fh_to_dentry() 1664 int fh_len, int fh_type) in ntfs_fh_to_parent() argument 1666 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in ntfs_fh_to_parent()
|
| /linux/fs/ufs/ |
| H A D | super.c | 118 int fh_len, int fh_type) in ufs_fh_to_dentry() argument 120 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, ufs_nfs_get_inode); in ufs_fh_to_dentry() 124 int fh_len, int fh_type) in ufs_fh_to_parent() argument 126 return generic_fh_to_parent(sb, fid, fh_len, fh_type, ufs_nfs_get_inode); in ufs_fh_to_parent()
|
| /linux/drivers/scsi/elx/libefc/ |
| H A D | efc_domain.c | 963 if (hdr->fh_type == FC_TYPE_FCP) { in efc_domain_dispatch_frame() 1063 switch (hdr->fh_type) { in efc_node_dispatch_frame()
|
| /linux/fs/ntfs3/ |
| H A D | super.c | 906 int fh_len, int fh_type) in ntfs_fh_to_dentry() argument 908 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in ntfs_fh_to_dentry() 913 int fh_len, int fh_type) in ntfs_fh_to_parent() argument 915 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in ntfs_fh_to_parent()
|
| /linux/fs/ |
| H A D | pidfs.c | 919 int fh_type) in pidfs_fh_to_dentry() argument 929 switch (fh_type) { in pidfs_fh_to_dentry()
|
| /linux/drivers/scsi/qedf/ |
| H A D | qedf_main.c | 1054 if ((fh->fh_type == FC_TYPE_ELS) && in qedf_xmit_l2_frame() 1240 ntoh24(fh->fh_s_id), ntoh24(fh->fh_d_id), fh->fh_r_ctl, fh->fh_type, in qedf_xmit() 2527 fh->fh_type == FC_TYPE_FCP) { in qedf_recv_frame() 2533 fh->fh_type == FC_TYPE_ELS) { in qedf_recv_frame() 2584 if ((fh->fh_type == FC_TYPE_BLS) && (f_ctl & FC_FC_SEQ_CTX) && in qedf_recv_frame() 2613 fh->fh_type); in qedf_recv_frame()
|