• Home
  • Raw
  • Download

Lines Matching refs:stat

1279 static char *nfsd4_path(struct svc_rqst *rqstp, struct svc_export *exp, __be32 *stat)  in nfsd4_path()  argument
1285 *stat = exp_pseudoroot(rqstp, &tmp_fh); in nfsd4_path()
1286 if (*stat) in nfsd4_path()
1295 *stat = nfserr_notsupp; in nfsd4_path()
1415 struct kstat stat; in nfsd4_encode_fattr() local
1439 err = vfs_getattr(exp->ex_path.mnt, dentry, &stat); in nfsd4_encode_fattr()
1499 dummy = nfs4_ftypes[(stat.mode & S_IFMT) >> 12]; in nfsd4_encode_fattr()
1521 WRITE32(stat.ctime.tv_sec); in nfsd4_encode_fattr()
1522 WRITE32(stat.ctime.tv_nsec); in nfsd4_encode_fattr()
1527 WRITE64(stat.size); in nfsd4_encode_fattr()
1557 WRITE32(MAJOR(stat.dev)); in nfsd4_encode_fattr()
1559 WRITE32(MINOR(stat.dev)); in nfsd4_encode_fattr()
1647 WRITE64(stat.ino); in nfsd4_encode_fattr()
1704 WRITE32(stat.mode & S_IALLUGO); in nfsd4_encode_fattr()
1714 WRITE32(stat.nlink); in nfsd4_encode_fattr()
1717 status = nfsd4_encode_user(rqstp, stat.uid, &p, &buflen); in nfsd4_encode_fattr()
1724 status = nfsd4_encode_group(rqstp, stat.gid, &p, &buflen); in nfsd4_encode_fattr()
1733 WRITE32((u32) MAJOR(stat.rdev)); in nfsd4_encode_fattr()
1734 WRITE32((u32) MINOR(stat.rdev)); in nfsd4_encode_fattr()
1757 dummy64 = (u64)stat.blocks << 9; in nfsd4_encode_fattr()
1764 WRITE32(stat.atime.tv_sec); in nfsd4_encode_fattr()
1765 WRITE32(stat.atime.tv_nsec); in nfsd4_encode_fattr()
1778 WRITE32(stat.ctime.tv_sec); in nfsd4_encode_fattr()
1779 WRITE32(stat.ctime.tv_nsec); in nfsd4_encode_fattr()
1785 WRITE32(stat.mtime.tv_sec); in nfsd4_encode_fattr()
1786 WRITE32(stat.mtime.tv_nsec); in nfsd4_encode_fattr()
1798 exp->ex_path.mnt->mnt_mountpoint, &stat); in nfsd4_encode_fattr()
1802 WRITE64(stat.ino); in nfsd4_encode_fattr()