Lines Matching defs:stat
163 struct kstat *stat)
165 *p++ = htonl(nfs3_ftypes[(stat->mode & S_IFMT) >> 12]);
166 *p++ = htonl((u32) stat->mode);
167 *p++ = htonl((u32) stat->nlink);
168 *p++ = htonl((u32) nfsd_ruid(rqstp, stat->uid));
169 *p++ = htonl((u32) nfsd_rgid(rqstp, stat->gid));
170 if (S_ISLNK(stat->mode) && stat->size > NFS3_MAXPATHLEN) {
173 p = xdr_encode_hyper(p, (u64) stat->size);
175 p = xdr_encode_hyper(p, ((u64)stat->blocks) << 9);
176 *p++ = htonl((u32) MAJOR(stat->rdev));
177 *p++ = htonl((u32) MINOR(stat->rdev));
179 p = xdr_encode_hyper(p, stat->ino);
180 p = encode_time3(p, &stat->atime);
181 p = encode_time3(p, &stat->mtime);
182 p = encode_time3(p, &stat->ctime);
206 struct kstat stat;
208 err = vfs_getattr(fhp->fh_export->ex_path.mnt, dentry, &stat);
211 lease_get_mtime(dentry->d_inode, &stat.mtime);
212 return encode_fattr3(rqstp, p, fhp, &stat);
634 &resp->stat.mtime);
635 p = encode_fattr3(rqstp, p, &resp->fh, &resp->stat);