Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/scsi/libfc/
Dfc_elsct.c51 enum fc_fh_type fh_type; in fc_elsct_send() local
56 rc = fc_els_fill(lport, did, fp, op, &r_ctl, &fh_type); in fc_elsct_send()
59 rc = fc_ct_fill(lport, did, fp, op, &r_ctl, &fh_type, &did); in fc_elsct_send()
67 fc_fill_fc_hdr(fp, r_ctl, did, lport->port_id, fh_type, in fc_elsct_send()
114 switch (fh->fh_type) { in fc_els_resp_type()
Dfc_libfc.c193 fh->fh_type = in_fh->fh_type; in fc_fill_hdr()
Dfc_exch.c481 u8 fh_type = fh->fh_type; in fc_seq_send_locked() local
512 if (fh_type == FC_TYPE_BLS) in fc_seq_send_locked()
1266 enum fc_rctl rctl, enum fc_fh_type fh_type) in fc_seq_send_last() argument
1273 fc_fill_fc_hdr(fp, rctl, ep->did, ep->sid, fh_type, f_ctl, 0); in fc_seq_send_last()
1305 fh->fh_type = FC_TYPE_BLS; in fc_seq_send_ack()
1384 fh->fh_type = FC_TYPE_BLS; in fc_exch_send_ba_rjt()
1627 if (fh->fh_type != FC_TYPE_FCP && fr_eof(fp) == FC_EOF_T && in fc_exch_recv_seq_resp()
1743 if (ep->fh_type != FC_TYPE_FCP && in fc_exch_abts_resp()
2200 ep->fh_type = fh->fh_type; /* save for possbile timeout handling */ in fc_exch_seq_send()
2634 if (fh->fh_type == FC_TYPE_BLS) in fc_exch_recv()
/Linux-v4.19/fs/squashfs/
Dexport.c91 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_dentry() argument
93 if ((fh_type != FILEID_INO32_GEN && fh_type != FILEID_INO32_GEN_PARENT) in squashfs_fh_to_dentry()
102 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_parent() argument
104 if (fh_type != FILEID_INO32_GEN_PARENT || fh_len < 4) in squashfs_fh_to_parent()
/Linux-v4.19/fs/fat/
Dnfs.c152 int fh_len, int fh_type) in fat_fh_to_dentry() argument
154 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in fat_fh_to_dentry()
160 int fh_type) in fat_fh_to_dentry_nostale() argument
166 switch (fh_type) { in fat_fh_to_dentry_nostale()
190 int fh_len, int fh_type) in fat_fh_to_parent() argument
192 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in fat_fh_to_parent()
198 int fh_type) in fat_fh_to_parent_nostale() argument
207 switch (fh_type) { in fat_fh_to_parent_nostale()
/Linux-v4.19/include/linux/
Dexportfs.h197 int fh_len, int fh_type);
199 int fh_len, int fh_type);
225 struct fid *fid, int fh_len, int fh_type,
228 struct fid *fid, int fh_len, int fh_type,
/Linux-v4.19/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-v4.19/fs/btrfs/
Dexport.c110 int fh_len, int fh_type) in btrfs_fh_to_parent() argument
116 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in btrfs_fh_to_parent()
120 } else if (fh_type == FILEID_BTRFS_WITH_PARENT_ROOT) { in btrfs_fh_to_parent()
134 int fh_len, int fh_type) in btrfs_fh_to_dentry() argument
140 if ((fh_type != FILEID_BTRFS_WITH_PARENT || in btrfs_fh_to_dentry()
142 (fh_type != FILEID_BTRFS_WITH_PARENT_ROOT || in btrfs_fh_to_dentry()
144 (fh_type != FILEID_BTRFS_WITHOUT_PARENT || in btrfs_fh_to_dentry()
/Linux-v4.19/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-v4.19/fs/ceph/
Dexport.c109 int fh_len, int fh_type) in ceph_fh_to_dentry() argument
113 if (fh_type != FILEID_INO32_GEN && in ceph_fh_to_dentry()
114 fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_dentry()
180 int fh_len, int fh_type) in ceph_fh_to_parent() argument
185 if (fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_parent()
/Linux-v4.19/fs/gfs2/
Dexport.c148 int fh_len, int fh_type) in gfs2_fh_to_dentry() argument
153 switch (fh_type) { in gfs2_fh_to_dentry()
170 int fh_len, int fh_type) in gfs2_fh_to_parent() argument
175 switch (fh_type) { in gfs2_fh_to_parent()
/Linux-v4.19/fs/ocfs2/
Dexport.c239 struct fid *fid, int fh_len, int fh_type) in ocfs2_fh_to_dentry() argument
243 if (fh_len < 3 || fh_type > 2) in ocfs2_fh_to_dentry()
253 struct fid *fid, int fh_len, int fh_type) in ocfs2_fh_to_parent() argument
257 if (fh_type != 2 || fh_len < 6) in ocfs2_fh_to_parent()
/Linux-v4.19/fs/jfs/
Djfs_inode.h37 int fh_len, int fh_type);
39 int fh_len, int fh_type);
/Linux-v4.19/include/scsi/
Dfc_encode.h63 fh->fh_type = type; in __fc_fill_fc_hdr()
134 enum fc_fh_type *fh_type) in fc_ct_ns_fill() argument
202 *fh_type = FC_TYPE_CT; in fc_ct_ns_fill()
218 enum fc_fh_type *fh_type) in fc_ct_ms_fill() argument
496 *fh_type = FC_TYPE_CT; in fc_ct_ms_fill()
512 enum fc_fh_type *fh_type, u32 *did) in fc_ct_fill() argument
518 rc = fc_ct_ms_fill(lport, fc_id, fp, op, r_ctl, fh_type); in fc_ct_fill()
523 rc = fc_ct_ns_fill(lport, fc_id, fp, op, r_ctl, fh_type); in fc_ct_fill()
692 enum fc_rctl *r_ctl, enum fc_fh_type *fh_type) in fc_els_fill() argument
736 *fh_type = FC_TYPE_ELS; in fc_els_fill()
/Linux-v4.19/fs/ntfs/
Dnamei.c368 int fh_len, int fh_type) in ntfs_fh_to_dentry() argument
370 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in ntfs_fh_to_dentry()
375 int fh_len, int fh_type) in ntfs_fh_to_parent() argument
377 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in ntfs_fh_to_parent()
/Linux-v4.19/fs/jffs2/
Dsuper.c123 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-v4.19/fs/kernfs/
Dmount.c114 int fh_len, int fh_type) in kernfs_fh_to_dentry() argument
116 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in kernfs_fh_to_dentry()
121 int fh_len, int fh_type) in kernfs_fh_to_parent() argument
123 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in kernfs_fh_to_parent()
/Linux-v4.19/fs/nilfs2/
Dnamei.c482 int fh_len, int fh_type) in nilfs_fh_to_dentry() argument
487 (fh_type != FILEID_NILFS_WITH_PARENT && in nilfs_fh_to_dentry()
488 fh_type != FILEID_NILFS_WITHOUT_PARENT)) in nilfs_fh_to_dentry()
495 int fh_len, int fh_type) in nilfs_fh_to_parent() argument
500 fh_type != FILEID_NILFS_WITH_PARENT) in nilfs_fh_to_parent()
/Linux-v4.19/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-v4.19/fs/befs/
Dlinuxvfs.c60 struct fid *fid, int fh_len, int fh_type);
62 struct fid *fid, int fh_len, int fh_type);
655 struct fid *fid, int fh_len, int fh_type) in befs_fh_to_dentry() argument
657 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in befs_fh_to_dentry()
665 struct fid *fid, int fh_len, int fh_type) in befs_fh_to_parent() argument
667 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in befs_fh_to_parent()
/Linux-v4.19/fs/affs/
Dnamei.c552 int fh_len, int fh_type) in affs_fh_to_dentry() argument
554 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in affs_fh_to_dentry()
559 int fh_len, int fh_type) in affs_fh_to_parent() argument
561 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in affs_fh_to_parent()
/Linux-v4.19/fs/overlayfs/
Dsuper.c758 int fh_type; in ovl_lower_dir() local
778 fh_type = ovl_can_decode_fh(path->dentry->d_sb); in ovl_lower_dir()
780 (ofs->config.index && ofs->config.upperdir)) && !fh_type) { in ovl_lower_dir()
788 if (fh_type != FILEID_INO32_GEN) in ovl_lower_dir()
1015 int fh_type; in ovl_make_workdir() local
1066 fh_type = ovl_can_decode_fh(ofs->workdir->d_sb); in ovl_make_workdir()
1067 if (ofs->config.index && !fh_type) { in ovl_make_workdir()
1073 if (fh_type != FILEID_INO32_GEN) in ovl_make_workdir()
Dexport.c785 int fh_len, int fh_type) in ovl_fh_to_dentry() argument
794 if (fh_type != OVL_FILEID) in ovl_fh_to_dentry()
813 len, fh_type, flags, err); in ovl_fh_to_dentry()
818 int fh_len, int fh_type) in ovl_fh_to_parent() argument
Dcopy_up.c233 int fh_type, fh_len, dwords; in ovl_encode_real_fh() local
248 fh_type = exportfs_encode_fh(real, buf, &dwords, 0); in ovl_encode_real_fh()
252 if (WARN_ON(fh_type < 0) || in ovl_encode_real_fh()
254 WARN_ON(fh_type == FILEID_INVALID)) in ovl_encode_real_fh()
267 fh->type = fh_type; in ovl_encode_real_fh()

123