Home
last modified time | relevance | path

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

123

/Linux-v5.15/drivers/scsi/libfc/
Dfc_elsct.c39 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()
Dfc_encode.h94 enum fc_fh_type *fh_type) in fc_ct_ns_fill() argument
162 *fh_type = FC_TYPE_CT; in fc_ct_ns_fill()
188 enum fc_fh_type *fh_type) in fc_ct_ms_fill() argument
708 *fh_type = FC_TYPE_CT; in fc_ct_ms_fill()
724 enum fc_fh_type *fh_type, u32 *did) in fc_ct_fill() argument
730 rc = fc_ct_ms_fill(lport, fc_id, fp, op, r_ctl, fh_type); in fc_ct_fill()
735 rc = fc_ct_ns_fill(lport, fc_id, fp, op, r_ctl, fh_type); in fc_ct_fill()
904 enum fc_rctl *r_ctl, enum fc_fh_type *fh_type) in fc_els_fill() argument
948 *fh_type = FC_TYPE_ELS; in fc_els_fill()
Dfc_libfc.c181 fh->fh_type = in_fh->fh_type; in fc_fill_hdr()
Dfc_exch.c470 u8 fh_type = fh->fh_type; in fc_seq_send_locked() local
501 if (fh_type == FC_TYPE_BLS) in fc_seq_send_locked()
1258 enum fc_rctl rctl, enum fc_fh_type fh_type) in fc_seq_send_last() argument
1265 fc_fill_fc_hdr(fp, rctl, ep->did, ep->sid, fh_type, f_ctl, 0); in fc_seq_send_last()
1297 fh->fh_type = FC_TYPE_BLS; in fc_seq_send_ack()
1376 fh->fh_type = FC_TYPE_BLS; in fc_exch_send_ba_rjt()
1619 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()
/Linux-v5.15/fs/squashfs/
Dexport.c83 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-v5.15/fs/fat/
Dnfs.c143 int fh_len, int fh_type) in fat_fh_to_dentry() argument
145 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in fat_fh_to_dentry()
151 int fh_type) in fat_fh_to_dentry_nostale() argument
157 switch (fh_type) { in fat_fh_to_dentry_nostale()
181 int fh_len, int fh_type) in fat_fh_to_parent() argument
183 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in fat_fh_to_parent()
189 int fh_type) in fat_fh_to_parent_nostale() argument
198 switch (fh_type) { in fat_fh_to_parent_nostale()
/Linux-v5.15/fs/efs/
Dnamei.c97 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()
Defs.h141 int fh_len, int fh_type);
143 int fh_len, int fh_type);
/Linux-v5.15/include/linux/
Dexportfs.h202 int fh_len, int fh_type);
204 int fh_len, int fh_type);
246 struct fid *fid, int fh_len, int fh_type,
249 struct fid *fid, int fh_len, int fh_type,
/Linux-v5.15/fs/btrfs/
Dexport.c89 int fh_len, int fh_type) in btrfs_fh_to_parent() argument
95 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in btrfs_fh_to_parent()
99 } else if (fh_type == FILEID_BTRFS_WITH_PARENT_ROOT) { in btrfs_fh_to_parent()
113 int fh_len, int fh_type) in btrfs_fh_to_dentry() argument
119 if ((fh_type != FILEID_BTRFS_WITH_PARENT || in btrfs_fh_to_dentry()
121 (fh_type != FILEID_BTRFS_WITH_PARENT_ROOT || in btrfs_fh_to_dentry()
123 (fh_type != FILEID_BTRFS_WITHOUT_PARENT || in btrfs_fh_to_dentry()
/Linux-v5.15/fs/isofs/
Dexport.c163 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-v5.15/fs/kernfs/
Dmount.c73 int fh_type, bool get_parent) in __kernfs_fh_to_dentry() argument
83 switch (fh_type) { in __kernfs_fh_to_dentry()
125 int fh_type) in kernfs_fh_to_dentry() argument
127 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, false); in kernfs_fh_to_dentry()
132 int fh_type) in kernfs_fh_to_parent() argument
134 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, true); in kernfs_fh_to_parent()
/Linux-v5.15/fs/gfs2/
Dexport.c147 int fh_len, int fh_type) in gfs2_fh_to_dentry() argument
152 switch (fh_type) { in gfs2_fh_to_dentry()
169 int fh_len, int fh_type) in gfs2_fh_to_parent() argument
174 switch (fh_type) { in gfs2_fh_to_parent()
/Linux-v5.15/fs/ocfs2/
Dexport.c251 struct fid *fid, int fh_len, int fh_type) in ocfs2_fh_to_dentry() argument
255 if (fh_len < 3 || fh_type > 2) in ocfs2_fh_to_dentry()
265 struct fid *fid, int fh_len, int fh_type) in ocfs2_fh_to_parent() argument
269 if (fh_type != 2 || fh_len < 6) in ocfs2_fh_to_parent()
/Linux-v5.15/fs/jfs/
Djfs_inode.h26 int fh_len, int fh_type);
28 int fh_len, int fh_type);
/Linux-v5.15/fs/ceph/
Dexport.c286 int fh_len, int fh_type) in ceph_fh_to_dentry() argument
290 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in ceph_fh_to_dentry()
295 if (fh_type != FILEID_INO32_GEN && in ceph_fh_to_dentry()
296 fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_dentry()
403 int fh_len, int fh_type) in ceph_fh_to_parent() argument
408 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in ceph_fh_to_parent()
413 if (fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_parent()
/Linux-v5.15/fs/ntfs/
Dnamei.c354 int fh_len, int fh_type) in ntfs_fh_to_dentry() argument
356 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in ntfs_fh_to_dentry()
361 int fh_len, int fh_type) in ntfs_fh_to_parent() argument
363 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in ntfs_fh_to_parent()
/Linux-v5.15/fs/overlayfs/
Dexport.c775 static struct ovl_fh *ovl_fid_to_fh(struct fid *fid, int buflen, int fh_type) in ovl_fid_to_fh() argument
780 if (fh_type == OVL_FILEID_V1) in ovl_fid_to_fh()
783 if (fh_type != OVL_FILEID_V0) in ovl_fid_to_fh()
799 int fh_len, int fh_type) in ovl_fh_to_dentry() argument
807 fh = ovl_fid_to_fh(fid, len, fh_type); in ovl_fh_to_dentry()
833 fh_len, fh_type, flags, err); in ovl_fh_to_dentry()
839 int fh_len, int fh_type) in ovl_fh_to_parent() argument
/Linux-v5.15/fs/jffs2/
Dsuper.c122 int fh_len, int fh_type) in jffs2_fh_to_dentry() argument
124 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in jffs2_fh_to_dentry()
129 int fh_len, int fh_type) in jffs2_fh_to_parent() argument
131 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in jffs2_fh_to_parent()
/Linux-v5.15/fs/nilfs2/
Dnamei.c484 int fh_len, int fh_type) in nilfs_fh_to_dentry() argument
489 (fh_type != FILEID_NILFS_WITH_PARENT && in nilfs_fh_to_dentry()
490 fh_type != FILEID_NILFS_WITHOUT_PARENT)) in nilfs_fh_to_dentry()
497 int fh_len, int fh_type) in nilfs_fh_to_parent() argument
502 fh_type != FILEID_NILFS_WITH_PARENT) in nilfs_fh_to_parent()
/Linux-v5.15/drivers/scsi/elx/efct/
Defct_unsol.c52 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-v5.15/fs/nfs/
Dexport.c65 int fh_len, int fh_type) in nfs_fh_to_dentry() argument
79 if (fh_len < len || fh_type != len) in nfs_fh_to_dentry()
/Linux-v5.15/fs/befs/
Dlinuxvfs.c62 struct fid *fid, int fh_len, int fh_type);
64 struct fid *fid, int fh_len, int fh_type);
651 struct fid *fid, int fh_len, int fh_type) in befs_fh_to_dentry() argument
653 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in befs_fh_to_dentry()
661 struct fid *fid, int fh_len, int fh_type) in befs_fh_to_parent() argument
663 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in befs_fh_to_parent()
/Linux-v5.15/fs/affs/
Dnamei.c557 int fh_len, int fh_type) in affs_fh_to_dentry() argument
559 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in affs_fh_to_dentry()
564 int fh_len, int fh_type) in affs_fh_to_parent() argument
566 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in affs_fh_to_parent()
/Linux-v5.15/fs/reiserfs/
Dinode.c1687 int fh_len, int fh_type) in reiserfs_fh_to_dentry() argument
1702 if (fh_type > fh_len) { in reiserfs_fh_to_dentry()
1703 if (fh_type != 6 || fh_len != 5) in reiserfs_fh_to_dentry()
1706 fh_type, fh_len); in reiserfs_fh_to_dentry()
1707 fh_type = fh_len; in reiserfs_fh_to_dentry()
1713 (fh_type == 3 || fh_type >= 5) ? fid->raw[2] : 0); in reiserfs_fh_to_dentry()
1717 int fh_len, int fh_type) in reiserfs_fh_to_parent() argument
1719 if (fh_type > fh_len) in reiserfs_fh_to_parent()
1720 fh_type = fh_len; in reiserfs_fh_to_parent()
1721 if (fh_type < 4) in reiserfs_fh_to_parent()
[all …]

123