Lines Matching refs:auxdata
206 struct nfs_fscache_inode_auxdata auxdata; in nfs_fscache_inode_get_aux() local
209 memset(&auxdata, 0, sizeof(auxdata)); in nfs_fscache_inode_get_aux()
210 auxdata.size = nfsi->vfs_inode.i_size; in nfs_fscache_inode_get_aux()
211 auxdata.mtime = nfsi->vfs_inode.i_mtime; in nfs_fscache_inode_get_aux()
212 auxdata.ctime = nfsi->vfs_inode.i_ctime; in nfs_fscache_inode_get_aux()
215 auxdata.change_attr = nfsi->vfs_inode.i_version; in nfs_fscache_inode_get_aux()
217 if (bufmax > sizeof(auxdata)) in nfs_fscache_inode_get_aux()
218 bufmax = sizeof(auxdata); in nfs_fscache_inode_get_aux()
220 memcpy(buffer, &auxdata, bufmax); in nfs_fscache_inode_get_aux()
235 struct nfs_fscache_inode_auxdata auxdata; in nfs_fscache_inode_check_aux() local
238 if (datalen != sizeof(auxdata)) in nfs_fscache_inode_check_aux()
241 memset(&auxdata, 0, sizeof(auxdata)); in nfs_fscache_inode_check_aux()
242 auxdata.size = nfsi->vfs_inode.i_size; in nfs_fscache_inode_check_aux()
243 auxdata.mtime = nfsi->vfs_inode.i_mtime; in nfs_fscache_inode_check_aux()
244 auxdata.ctime = nfsi->vfs_inode.i_ctime; in nfs_fscache_inode_check_aux()
247 auxdata.change_attr = nfsi->vfs_inode.i_version; in nfs_fscache_inode_check_aux()
249 if (memcmp(data, &auxdata, datalen) != 0) in nfs_fscache_inode_check_aux()