Home
last modified time | relevance | path

Searched refs:fileid (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.15/fs/nfs/
Dnfstrace.h108 __field(u64, fileid)
115 __entry->fileid = nfsi->fileid;
123 (unsigned long long)__entry->fileid,
142 __field(u64, fileid)
153 __entry->fileid = nfsi->fileid;
168 (unsigned long long)__entry->fileid,
228 __field(u64, fileid)
241 __entry->fileid = nfsi->fileid;
259 (unsigned long long)__entry->fileid,
683 __field(u64, fileid)
[all …]
Dnfs4trace.h800 __field(u64, fileid)
834 __entry->fileid = NFS_FILEID(inode);
837 __entry->fileid = 0;
855 (unsigned long long)__entry->fileid,
885 __field(u64, fileid)
895 __entry->fileid = NFS_FILEID(inode);
910 (unsigned long long)__entry->fileid,
929 __field(u64, fileid)
940 __entry->fileid = NFS_FILEID(inode);
958 (unsigned long long)__entry->fileid,
[all …]
Dexport.c88 fattr->fileid = ((u64)p[FILEID_HIGH_OFF] << 32) + p[FILEID_LOW_OFF]; in nfs_fh_to_dentry()
92 dprintk("%s: fileid %llu mode %d\n", __func__, fattr->fileid, fattr->mode); in nfs_fh_to_dentry()
108 trace_nfs_fh_to_dentry(sb, server_fh, fattr->fileid, ret); in nfs_fh_to_dentry()
Dinode.c72 return nfs_fileid_to_ino_t(fattr->fileid); in nfs_fattr_to_ino_t()
96 u64 nfs_compat_user_ino64(u64 fileid) in nfs_compat_user_ino64() argument
105 return fileid; in nfs_compat_user_ino64()
106 ino = fileid; in nfs_compat_user_ino64()
107 if (sizeof(ino) < sizeof(fileid)) in nfs_compat_user_ino64()
108 ino ^= fileid >> (sizeof(fileid)-sizeof(ino)) * 8; in nfs_compat_user_ino64()
322 if (NFS_FILEID(inode) != fattr->fileid) in nfs_find_actor()
339 set_nfs_fileid(inode, fattr->fileid); in nfs_init_locked()
447 fattr->fileid = fattr->mounted_on_fileid; in nfs_fhget()
1484 } else if (nfsi->fileid != fattr->fileid) { in nfs_check_inode_attributes()
[all …]
Dunlink.c435 unsigned long long fileid; in nfs_sillyrename() local
451 fileid = NFS_FILEID(d_inode(dentry)); in nfs_sillyrename()
460 SILLYNAME_FILEID_LEN, fileid, in nfs_sillyrename()
Dnfs3xdr.c168 static __be32 *xdr_decode_fileid3(__be32 *p, u64 *fileid) in xdr_decode_fileid3() argument
170 return xdr_decode_hyper(p, fileid); in xdr_decode_fileid3()
173 static int decode_fileid3(struct xdr_stream *xdr, u64 *fileid) in decode_fileid3() argument
175 return decode_uint64(xdr, fileid); in decode_fileid3()
651 p = xdr_decode_fileid3(p, &fattr->fileid); in decode_fattr3()
2010 if (entry->fattr->fileid != entry->ino) { in nfs3_decode_dirent()
Dnfs4xdr.c3533 static int decode_attr_fileid(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *fileid) in decode_attr_fileid() argument
3538 *fileid = 0; in decode_attr_fileid()
3545 xdr_decode_hyper(p, fileid); in decode_attr_fileid()
3549 dprintk("%s: fileid=%Lu\n", __func__, (unsigned long long)*fileid); in decode_attr_fileid()
3553 static int decode_attr_mounted_on_fileid(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *fileid) in decode_attr_mounted_on_fileid() argument
3558 *fileid = 0; in decode_attr_mounted_on_fileid()
3565 xdr_decode_hyper(p, fileid); in decode_attr_mounted_on_fileid()
3569 dprintk("%s: fileid=%Lu\n", __func__, (unsigned long long)*fileid); in decode_attr_mounted_on_fileid()
4626 status = decode_attr_fileid(xdr, bitmap, &fattr->fileid); in decode_getfattr_attrs()
7483 entry->ino = entry->fattr->fileid; in nfs4_decode_dirent()
Dnfs2xdr.c302 fattr->fileid = be32_to_cpup(p++); in decode_fattr()
Ddir.c581 if (entry->fattr->fileid != nfsi->fileid) in nfs_same_file()
/Linux-v5.15/include/linux/
Dnfs_fs.h125 __u64 fileid; member
338 return NFS_I(inode)->fileid; in NFS_FILEID()
341 static inline void set_nfs_fileid(struct inode *inode, __u64 fileid) in set_nfs_fileid() argument
343 NFS_I(inode)->fileid = fileid; in set_nfs_fileid()
418 extern u64 nfs_compat_user_ino64(u64 fileid);
596 nfs_fileid_to_ino_t(u64 fileid) in nfs_fileid_to_ino_t() argument
598 ino_t ino = (ino_t) fileid; in nfs_fileid_to_ino_t()
600 ino ^= fileid >> (sizeof(u64)-sizeof(ino_t)) * 8; in nfs_fileid_to_ino_t()
Dnfs_xdr.h65 __u64 fileid; member
/Linux-v5.15/fs/cifs/
Dcifsfs.h22 cifs_uniqueid_to_ino_t(u64 fileid) in cifs_uniqueid_to_ino_t() argument
25 return (ino_t)hash_64(fileid, (sizeof(ino_t) * 8) - 1) + 1; in cifs_uniqueid_to_ino_t()
27 return (ino_t)fileid; in cifs_uniqueid_to_ino_t()