Home
last modified time | relevance | path

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

/linux-6.1.9/fs/nfs/
Dnfstrace.h58 __field(u64, fileid)
65 __entry->fileid = nfsi->fileid;
73 (unsigned long long)__entry->fileid,
92 __field(u64, fileid)
103 __entry->fileid = nfsi->fileid;
118 (unsigned long long)__entry->fileid,
182 __field(u64, fileid)
195 __entry->fileid = nfsi->fileid;
213 (unsigned long long)__entry->fileid,
238 __field(u64, fileid)
[all …]
Dnfs4trace.h508 __field(u64, fileid)
542 __entry->fileid = NFS_FILEID(inode);
545 __entry->fileid = 0;
563 (unsigned long long)__entry->fileid,
593 __field(u64, fileid)
603 __entry->fileid = NFS_FILEID(inode);
618 (unsigned long long)__entry->fileid,
637 __field(u64, fileid)
648 __entry->fileid = NFS_FILEID(inode);
666 (unsigned long long)__entry->fileid,
[all …]
Dexport.c87 fattr->fileid = ((u64)p[FILEID_HIGH_OFF] << 32) + p[FILEID_LOW_OFF]; in nfs_fh_to_dentry()
91 dprintk("%s: fileid %llu mode %d\n", __func__, fattr->fileid, fattr->mode); in nfs_fh_to_dentry()
101 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()
91 u64 nfs_compat_user_ino64(u64 fileid) in nfs_compat_user_ino64() argument
100 return fileid; in nfs_compat_user_ino64()
101 ino = fileid; in nfs_compat_user_ino64()
102 if (sizeof(ino) < sizeof(fileid)) in nfs_compat_user_ino64()
103 ino ^= fileid >> (sizeof(fileid)-sizeof(ino)) * 8; in nfs_compat_user_ino64()
320 if (NFS_FILEID(inode) != fattr->fileid) in nfs_find_actor()
337 set_nfs_fileid(inode, fattr->fileid); in nfs_init_locked()
456 fattr->fileid = fattr->mounted_on_fileid; in nfs_fhget()
1484 } else if (nfsi->fileid != fattr->fileid) { in nfs_check_inode_attributes()
[all …]
Dunlink.c444 unsigned long long fileid; in nfs_sillyrename() local
460 fileid = NFS_FILEID(d_inode(dentry)); in nfs_sillyrename()
469 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.c3588 static int decode_attr_fileid(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *fileid) in decode_attr_fileid() argument
3593 *fileid = 0; in decode_attr_fileid()
3600 xdr_decode_hyper(p, fileid); in decode_attr_fileid()
3604 dprintk("%s: fileid=%Lu\n", __func__, (unsigned long long)*fileid); in decode_attr_fileid()
3608 static int decode_attr_mounted_on_fileid(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *fileid) in decode_attr_mounted_on_fileid() argument
3613 *fileid = 0; in decode_attr_mounted_on_fileid()
3620 xdr_decode_hyper(p, fileid); in decode_attr_mounted_on_fileid()
3624 dprintk("%s: fileid=%Lu\n", __func__, (unsigned long long)*fileid); in decode_attr_mounted_on_fileid()
4681 status = decode_attr_fileid(xdr, bitmap, &fattr->fileid); in decode_getfattr_attrs()
7530 entry->ino = entry->fattr->fileid; in nfs4_decode_dirent()
Dnfs2xdr.c302 fattr->fileid = be32_to_cpup(p++); in decode_fattr()
Ddir.c655 if (entry->fattr->fileid != nfsi->fileid) in nfs_same_file()
/linux-6.1.9/include/linux/
Dnfs_fs.h127 __u64 fileid; member
342 return NFS_I(inode)->fileid; in NFS_FILEID()
345 static inline void set_nfs_fileid(struct inode *inode, __u64 fileid) in set_nfs_fileid() argument
347 NFS_I(inode)->fileid = fileid; in set_nfs_fileid()
419 extern u64 nfs_compat_user_ino64(u64 fileid);
610 nfs_fileid_to_ino_t(u64 fileid) in nfs_fileid_to_ino_t() argument
612 ino_t ino = (ino_t) fileid; in nfs_fileid_to_ino_t()
614 ino ^= fileid >> (sizeof(u64)-sizeof(ino_t)) * 8; in nfs_fileid_to_ino_t()
Dnfs_xdr.h65 __u64 fileid; member
/linux-6.1.9/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()