Home
last modified time | relevance | path

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

/Linux-v5.10/fs/nfs/
Dnfstrace.h99 __field(u64, fileid)
106 __entry->fileid = nfsi->fileid;
114 (unsigned long long)__entry->fileid,
133 __field(u64, fileid)
144 __entry->fileid = nfsi->fileid;
159 (unsigned long long)__entry->fileid,
219 __field(u64, fileid)
232 __entry->fileid = nfsi->fileid;
250 (unsigned long long)__entry->fileid,
682 __field(u64, fileid)
[all …]
Dnfs4trace.h755 __field(u64, fileid)
789 __entry->fileid = NFS_FILEID(inode);
792 __entry->fileid = 0;
810 (unsigned long long)__entry->fileid,
840 __field(u64, fileid)
850 __entry->fileid = NFS_FILEID(inode);
865 (unsigned long long)__entry->fileid,
884 __field(u64, fileid)
895 __entry->fileid = NFS_FILEID(inode);
913 (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()
446 fattr->fileid = fattr->mounted_on_fileid; in nfs_fhget()
1437 } 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.c165 static __be32 *xdr_decode_fileid3(__be32 *p, u64 *fileid) in xdr_decode_fileid3() argument
167 return xdr_decode_hyper(p, fileid); in xdr_decode_fileid3()
170 static int decode_fileid3(struct xdr_stream *xdr, u64 *fileid) in decode_fileid3() argument
172 return decode_uint64(xdr, fileid); in decode_fileid3()
648 p = xdr_decode_fileid3(p, &fattr->fileid); in decode_fattr3()
2006 if (entry->fattr->fileid != entry->ino) { in nfs3_decode_dirent()
Dnfs4xdr.c3516 static int decode_attr_fileid(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *fileid) in decode_attr_fileid() argument
3521 *fileid = 0; in decode_attr_fileid()
3528 xdr_decode_hyper(p, fileid); in decode_attr_fileid()
3532 dprintk("%s: fileid=%Lu\n", __func__, (unsigned long long)*fileid); in decode_attr_fileid()
3536 static int decode_attr_mounted_on_fileid(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *fileid) in decode_attr_mounted_on_fileid() argument
3541 *fileid = 0; in decode_attr_mounted_on_fileid()
3548 xdr_decode_hyper(p, fileid); in decode_attr_mounted_on_fileid()
3552 dprintk("%s: fileid=%Lu\n", __func__, (unsigned long long)*fileid); in decode_attr_mounted_on_fileid()
4609 status = decode_attr_fileid(xdr, bitmap, &fattr->fileid); in decode_getfattr_attrs()
7435 entry->ino = entry->fattr->fileid; in nfs4_decode_dirent()
Dnfs2xdr.c301 fattr->fileid = be32_to_cpup(p++); in decode_fattr()
Ddir.c429 if (entry->fattr->fileid != nfsi->fileid) in nfs_same_file()
/Linux-v5.10/include/linux/
Dnfs_fs.h114 __u64 fileid; member
323 return NFS_I(inode)->fileid; in NFS_FILEID()
326 static inline void set_nfs_fileid(struct inode *inode, __u64 fileid) in set_nfs_fileid() argument
328 NFS_I(inode)->fileid = fileid; in set_nfs_fileid()
401 extern u64 nfs_compat_user_ino64(u64 fileid);
581 nfs_fileid_to_ino_t(u64 fileid) in nfs_fileid_to_ino_t() argument
583 ino_t ino = (ino_t) fileid; in nfs_fileid_to_ino_t()
585 ino ^= fileid >> (sizeof(u64)-sizeof(ino_t)) * 8; in nfs_fileid_to_ino_t()
Dnfs_xdr.h63 __u64 fileid; member
/Linux-v5.10/fs/cifs/
Dcifsfs.h35 cifs_uniqueid_to_ino_t(u64 fileid) in cifs_uniqueid_to_ino_t() argument
38 return (ino_t)hash_64(fileid, (sizeof(ino_t) * 8) - 1) + 1; in cifs_uniqueid_to_ino_t()
40 return (ino_t)fileid; in cifs_uniqueid_to_ino_t()