Home
last modified time | relevance | path

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

/Linux-v5.4/fs/nfs/
Dnfstrace.h98 __field(u64, fileid)
105 __entry->fileid = nfsi->fileid;
113 (unsigned long long)__entry->fileid,
132 __field(u64, fileid)
143 __entry->fileid = nfsi->fileid;
158 (unsigned long long)__entry->fileid,
623 __field(u64, fileid)
630 __entry->fileid = NFS_FILEID(inode);
638 __entry->fileid,
658 __field(u64, fileid)
[all …]
Dnfs4trace.h616 __field(u64, fileid)
650 __entry->fileid = NFS_FILEID(inode);
653 __entry->fileid = 0;
671 (unsigned long long)__entry->fileid,
701 __field(u64, fileid)
711 __entry->fileid = NFS_FILEID(inode);
726 (unsigned long long)__entry->fileid,
745 __field(u64, fileid)
756 __entry->fileid = NFS_FILEID(inode);
774 (unsigned long long)__entry->fileid,
[all …]
Dinode.c73 return nfs_fileid_to_ino_t(fattr->fileid); in nfs_fattr_to_ino_t()
97 u64 nfs_compat_user_ino64(u64 fileid) in nfs_compat_user_ino64() argument
106 return fileid; in nfs_compat_user_ino64()
107 ino = fileid; in nfs_compat_user_ino64()
108 if (sizeof(ino) < sizeof(fileid)) in nfs_compat_user_ino64()
109 ino ^= fileid >> (sizeof(fileid)-sizeof(ino)) * 8; in nfs_compat_user_ino64()
311 if (NFS_FILEID(inode) != fattr->fileid) in nfs_find_actor()
328 set_nfs_fileid(inode, fattr->fileid); in nfs_init_locked()
435 fattr->fileid = fattr->mounted_on_fileid; in nfs_fhget()
1411 } else if (nfsi->fileid != fattr->fileid) { in nfs_check_inode_attributes()
[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()
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()
652 p = xdr_decode_fileid3(p, &fattr->fileid); in decode_fattr3()
2010 if (entry->fattr->fileid != entry->ino) { in nfs3_decode_dirent()
Dnfs4xdr.c3519 static int decode_attr_fileid(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *fileid) in decode_attr_fileid() argument
3524 *fileid = 0; in decode_attr_fileid()
3531 xdr_decode_hyper(p, fileid); in decode_attr_fileid()
3535 dprintk("%s: fileid=%Lu\n", __func__, (unsigned long long)*fileid); in decode_attr_fileid()
3539 static int decode_attr_mounted_on_fileid(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *fileid) in decode_attr_mounted_on_fileid() argument
3544 *fileid = 0; in decode_attr_mounted_on_fileid()
3551 xdr_decode_hyper(p, fileid); in decode_attr_mounted_on_fileid()
3555 dprintk("%s: fileid=%Lu\n", __func__, (unsigned long long)*fileid); in decode_attr_mounted_on_fileid()
4585 status = decode_attr_fileid(xdr, bitmap, &fattr->fileid); in decode_getfattr_attrs()
7410 entry->ino = entry->fattr->fileid; in nfs4_decode_dirent()
Dnfs2xdr.c301 fattr->fileid = be32_to_cpup(p++); in decode_fattr()
Ddir.c392 if (entry->fattr->fileid != nfsi->fileid) in nfs_same_file()
/Linux-v5.4/include/linux/
Dnfs_fs.h112 __u64 fileid; member
307 return NFS_I(inode)->fileid; in NFS_FILEID()
310 static inline void set_nfs_fileid(struct inode *inode, __u64 fileid) in set_nfs_fileid() argument
312 NFS_I(inode)->fileid = fileid; in set_nfs_fileid()
402 extern u64 nfs_compat_user_ino64(u64 fileid);
576 nfs_fileid_to_ino_t(u64 fileid) in nfs_fileid_to_ino_t() argument
578 ino_t ino = (ino_t) fileid; in nfs_fileid_to_ino_t()
580 ino ^= fileid >> (sizeof(u64)-sizeof(ino_t)) * 8; in nfs_fileid_to_ino_t()
Dnfs_xdr.h63 __u64 fileid; member
/Linux-v5.4/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()