| /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()
|
| /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/fat/ |
| H A D | nfs.c | 149 int fh_len, int fh_type) in fat_fh_to_dentry() argument 151 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in fat_fh_to_dentry() 157 int fh_type) in fat_fh_to_dentry_nostale() argument 163 switch (fh_type) { in fat_fh_to_dentry_nostale() 187 int fh_len, int fh_type) in fat_fh_to_parent() argument 189 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in fat_fh_to_parent() 195 int fh_type) in fat_fh_to_parent_nostale() argument 204 switch (fh_type) { in fat_fh_to_parent_nostale()
|
| /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/efs/ |
| H A D | namei.c | 97 int fh_len, int fh_type) in efs_fh_to_dentry() argument 99 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in efs_fh_to_dentry() 104 int fh_len, int fh_type) in efs_fh_to_parent() argument 106 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in efs_fh_to_parent()
|
| H A D | efs.h | 138 int fh_len, int fh_type); 140 int fh_len, int fh_type);
|
| /linux/fs/isofs/ |
| H A D | export.c | 163 struct fid *fid, int fh_len, int fh_type) in isofs_fh_to_dentry() argument 167 if (fh_len < 3 || fh_type > 2) in isofs_fh_to_dentry() 175 struct fid *fid, int fh_len, int fh_type) in isofs_fh_to_parent() argument 179 if (fh_len < 2 || fh_type != 2) in isofs_fh_to_parent()
|
| /linux/drivers/scsi/fnic/ |
| H A D | fdls_fc.h | 80 #define FNIC_STD_SET_TYPE(_fchdr, _type) ((_fchdr).fh_type = _type) 95 #define FNIC_STD_GET_TYPE(_fchdr) ((_fchdr)->fh_type) 131 #define FNIC_FC_FRAME_TYPE_BLS(_fchdr) (_fchdr->fh_type == FC_TYPE_BLS) 132 #define FNIC_FC_FRAME_TYPE_ELS(_fchdr) (_fchdr->fh_type == FC_TYPE_ELS) 133 #define FNIC_FC_FRAME_TYPE_FC_GS(_fchdr) (_fchdr->fh_type == FC_TYPE_CT)
|
| H A D | fdls_disc.c | 468 .fh_type = FC_TYPE_ELS, .fh_f_ctl = {FNIC_ELS_REQ_FCTL, 0, 0}, in fdls_init_plogi_frame() 503 .fh_type = FC_TYPE_ELS, .fh_f_ctl = {FNIC_ELS_REP_FCTL, 0, 0}}, in fdls_init_els_acc_frame() 519 .fchdr = {.fh_r_ctl = FC_RCTL_ELS_REP, .fh_type = FC_TYPE_ELS, in fdls_init_els_rjt_frame() 535 .fchdr = {.fh_r_ctl = FC_RCTL_ELS_REQ, .fh_type = FC_TYPE_ELS, in fdls_init_logo_frame() 557 .fh_cs_ctl = 0x00, .fh_type = FC_TYPE_BLS, in fdls_init_fabric_abts_frame() 653 .fh_cs_ctl = 0x00, .fh_type = FC_TYPE_BLS, in fdls_send_tport_abts() 868 .fh_type = FC_TYPE_ELS, .fh_f_ctl = {FNIC_ELS_REQ_FCTL, 0, 0}, in fdls_send_fabric_flogi() 1021 .fh_d_id = {0xFF, 0xFF, 0xFC}, .fh_type = FC_TYPE_CT, in fdls_send_rpn_id() 1080 .fh_d_id = {0xFF, 0xFF, 0xFD}, .fh_type = FC_TYPE_ELS, in fdls_send_scr() 1135 .fh_d_id = {0xFF, 0xFF, 0xFC}, .fh_type = FC_TYPE_CT, in fdls_send_gpn_ft() [all …]
|
| /linux/include/linux/ |
| H A D | exportfs.h | 264 int fh_len, int fh_type); 266 int fh_len, int fh_type); 371 struct fid *fid, int fh_len, int fh_type, 374 struct fid *fid, int fh_len, int fh_type,
|
| /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/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() 675 int fh_type; in ovl_make_workdir() local 788 fh_type = ovl_can_decode_fh(ofs->workdir->d_sb); in ovl_make_workdir() 789 if (ofs->config.index && !fh_type) { in ovl_make_workdir() 793 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/nfs/ |
| H A D | export.c | 65 int fh_len, int fh_type) in nfs_fh_to_dentry() argument 85 if (fh_len < len || fh_type != len) in nfs_fh_to_dentry()
|
| /linux/fs/befs/ |
| H A D | linuxvfs.c | 61 struct fid *fid, int fh_len, int fh_type); 63 struct fid *fid, int fh_len, int fh_type); 647 struct fid *fid, int fh_len, int fh_type) in befs_fh_to_dentry() argument 649 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in befs_fh_to_dentry() 657 struct fid *fid, int fh_len, int fh_type) in befs_fh_to_parent() argument 659 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in befs_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/ |
| H A D | nsfs.c | 493 int fh_len, int fh_type) in nsfs_fh_to_dentry() argument 510 switch (fh_type) { in nsfs_fh_to_dentry()
|