Lines Matching refs:stat
2533 static __be32 *encode_change(__be32 *p, struct kstat *stat, struct inode *inode,
2540 p = xdr_encode_hyper(p, nfsd4_change_attribute(stat, inode));
2893 struct kstat stat;
2901 err = vfs_getattr(&path, &stat, STATX_INO, AT_STATX_SYNC_AS_STAT);
2904 *pino = stat.ino;
2954 struct kstat stat;
2993 err = vfs_getattr(&path, &stat,
2998 if (!(stat.result_mask & STATX_BTIME))
3088 dummy = nfs4_file_type(stat.mode);
3109 p = encode_change(p, &stat, d_inode(dentry), exp);
3115 p = xdr_encode_hyper(p, stat.size);
3149 *p++ = cpu_to_be32(MAJOR(stat.dev));
3151 *p++ = cpu_to_be32(MINOR(stat.dev));
3249 p = xdr_encode_hyper(p, stat.ino);
3314 *p++ = cpu_to_be32(stat.mode & S_IALLUGO);
3326 *p++ = cpu_to_be32(stat.nlink);
3329 status = nfsd4_encode_user(xdr, rqstp, stat.uid);
3334 status = nfsd4_encode_group(xdr, rqstp, stat.gid);
3342 *p++ = cpu_to_be32((u32) MAJOR(stat.rdev));
3343 *p++ = cpu_to_be32((u32) MINOR(stat.rdev));
3370 dummy64 = (u64)stat.blocks << 9;
3374 status = nfsd4_encode_nfstime4(xdr, &stat.atime);
3379 status = nfsd4_encode_nfstime4(xdr, &stat.btime);
3390 status = nfsd4_encode_nfstime4(xdr, &stat.ctime);
3395 status = nfsd4_encode_nfstime4(xdr, &stat.mtime);
3400 u64 ino = stat.ino;
3435 *p++ = cpu_to_be32(stat.blksize);