Home
last modified time | relevance | path

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

123

/linux-6.1.9/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()
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()
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/include/linux/
Dexportfs.h202 int fh_len, int fh_type);
204 int fh_len, int fh_type);
244 struct fid *fid, int fh_len, int fh_type,
247 struct fid *fid, int fh_len, int fh_type,
/linux-6.1.9/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-6.1.9/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-6.1.9/fs/kernfs/
Dmount.c74 int fh_type, bool get_parent) in __kernfs_fh_to_dentry() argument
84 switch (fh_type) { in __kernfs_fh_to_dentry()
126 int fh_type) in kernfs_fh_to_dentry() argument
128 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, false); in kernfs_fh_to_dentry()
133 int fh_type) in kernfs_fh_to_parent() argument
135 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, true); in kernfs_fh_to_parent()
/linux-6.1.9/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-6.1.9/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-6.1.9/fs/jfs/
Djfs_inode.h26 int fh_len, int fh_type);
28 int fh_len, int fh_type);
/linux-6.1.9/fs/ceph/
Dexport.c297 int fh_len, int fh_type) in ceph_fh_to_dentry() argument
301 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in ceph_fh_to_dentry()
306 if (fh_type != FILEID_INO32_GEN && in ceph_fh_to_dentry()
307 fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_dentry()
414 int fh_len, int fh_type) in ceph_fh_to_parent() argument
419 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in ceph_fh_to_parent()
424 if (fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_parent()
/linux-6.1.9/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-6.1.9/fs/overlayfs/
Dexport.c780 static struct ovl_fh *ovl_fid_to_fh(struct fid *fid, int buflen, int fh_type) in ovl_fid_to_fh() argument
785 if (fh_type == OVL_FILEID_V1) in ovl_fid_to_fh()
788 if (fh_type != OVL_FILEID_V0) in ovl_fid_to_fh()
804 int fh_len, int fh_type) in ovl_fh_to_dentry() argument
812 fh = ovl_fid_to_fh(fid, len, fh_type); in ovl_fh_to_dentry()
838 fh_len, fh_type, flags, err); in ovl_fh_to_dentry()
844 int fh_len, int fh_type) in ovl_fh_to_parent() argument
/linux-6.1.9/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-6.1.9/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-6.1.9/fs/nfs/
Dexport.c65 int fh_len, int fh_type) in nfs_fh_to_dentry() argument
78 if (fh_len < len || fh_type != len) in nfs_fh_to_dentry()
/linux-6.1.9/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-6.1.9/fs/befs/
Dlinuxvfs.c62 struct fid *fid, int fh_len, int fh_type);
64 struct fid *fid, int fh_len, int fh_type);
650 struct fid *fid, int fh_len, int fh_type) in befs_fh_to_dentry() argument
652 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in befs_fh_to_dentry()
660 struct fid *fid, int fh_len, int fh_type) in befs_fh_to_parent() argument
662 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in befs_fh_to_parent()
/linux-6.1.9/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-6.1.9/fs/reiserfs/
Dinode.c1679 int fh_len, int fh_type) in reiserfs_fh_to_dentry() argument
1694 if (fh_type > fh_len) { in reiserfs_fh_to_dentry()
1695 if (fh_type != 6 || fh_len != 5) in reiserfs_fh_to_dentry()
1698 fh_type, fh_len); in reiserfs_fh_to_dentry()
1699 fh_type = fh_len; in reiserfs_fh_to_dentry()
1705 (fh_type == 3 || fh_type >= 5) ? fid->raw[2] : 0); in reiserfs_fh_to_dentry()
1709 int fh_len, int fh_type) in reiserfs_fh_to_parent() argument
1711 if (fh_type > fh_len) in reiserfs_fh_to_parent()
1712 fh_type = fh_len; in reiserfs_fh_to_parent()
1713 if (fh_type < 4) in reiserfs_fh_to_parent()
[all …]

123