Home
last modified time | relevance | path

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

123

/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.h138 int fh_len, int fh_type);
140 int fh_len, int fh_type);
/linux-6.6.21/fs/btrfs/
Dexport.c102 int fh_len, int fh_type) in btrfs_fh_to_parent() argument
108 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in btrfs_fh_to_parent()
112 } else if (fh_type == FILEID_BTRFS_WITH_PARENT_ROOT) { in btrfs_fh_to_parent()
126 int fh_len, int fh_type) in btrfs_fh_to_dentry() argument
132 if ((fh_type != FILEID_BTRFS_WITH_PARENT || in btrfs_fh_to_dentry()
134 (fh_type != FILEID_BTRFS_WITH_PARENT_ROOT || in btrfs_fh_to_dentry()
136 (fh_type != FILEID_BTRFS_WITHOUT_PARENT || in btrfs_fh_to_dentry()
/linux-6.6.21/include/linux/
Dexportfs.h205 int fh_len, int fh_type);
207 int fh_len, int fh_type);
256 struct fid *fid, int fh_len, int fh_type,
259 struct fid *fid, int fh_len, int fh_type,
/linux-6.6.21/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.6.21/fs/kernfs/
Dmount.c83 int fh_type, bool get_parent) in __kernfs_fh_to_dentry() argument
93 switch (fh_type) { in __kernfs_fh_to_dentry()
135 int fh_type) in kernfs_fh_to_dentry() argument
137 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, false); in kernfs_fh_to_dentry()
142 int fh_type) in kernfs_fh_to_parent() argument
144 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, true); in kernfs_fh_to_parent()
/linux-6.6.21/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.6.21/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.6.21/fs/jfs/
Djfs_inode.h26 int fh_len, int fh_type);
28 int fh_len, int fh_type);
/linux-6.6.21/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.6.21/fs/overlayfs/
Dexport.c790 static struct ovl_fh *ovl_fid_to_fh(struct fid *fid, int buflen, int fh_type) in ovl_fid_to_fh() argument
795 if (fh_type == OVL_FILEID_V1) in ovl_fid_to_fh()
798 if (fh_type != OVL_FILEID_V0) in ovl_fid_to_fh()
814 int fh_len, int fh_type) in ovl_fh_to_dentry() argument
822 fh = ovl_fid_to_fh(fid, len, fh_type); in ovl_fh_to_dentry()
848 fh_len, fh_type, flags, err); in ovl_fh_to_dentry()
854 int fh_len, int fh_type) in ovl_fh_to_parent() argument
Dsuper.c388 int fh_type; in ovl_lower_dir() local
401 fh_type = ovl_can_decode_fh(path->dentry->d_sb); in ovl_lower_dir()
403 (ofs->config.index && ofs->config.upperdir)) && !fh_type) { in ovl_lower_dir()
409 ofs->nofh |= !fh_type; in ovl_lower_dir()
415 ofs->config.upperdir && !fh_type) { in ovl_lower_dir()
422 if (fh_type != FILEID_INO32_GEN) in ovl_lower_dir()
709 int fh_type; in ovl_make_workdir() local
822 fh_type = ovl_can_decode_fh(ofs->workdir->d_sb); in ovl_make_workdir()
823 if (ofs->config.index && !fh_type) { in ovl_make_workdir()
827 ofs->nofh |= !fh_type; in ovl_make_workdir()
[all …]
/linux-6.6.21/fs/ceph/
Dexport.c298 int fh_len, int fh_type) in ceph_fh_to_dentry() argument
302 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in ceph_fh_to_dentry()
307 if (fh_type != FILEID_INO32_GEN && in ceph_fh_to_dentry()
308 fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_dentry()
415 int fh_len, int fh_type) in ceph_fh_to_parent() argument
420 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in ceph_fh_to_parent()
425 if (fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_parent()
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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()

123