Lines Matching defs:tmp_stat
207 struct osf_statfs tmp_stat;
209 tmp_stat.f_type = linux_stat->f_type;
210 tmp_stat.f_flags = 0; /* mount flags */
211 tmp_stat.f_fsize = linux_stat->f_frsize;
212 tmp_stat.f_bsize = linux_stat->f_bsize;
213 tmp_stat.f_blocks = linux_stat->f_blocks;
214 tmp_stat.f_bfree = linux_stat->f_bfree;
215 tmp_stat.f_bavail = linux_stat->f_bavail;
216 tmp_stat.f_files = linux_stat->f_files;
217 tmp_stat.f_ffree = linux_stat->f_ffree;
218 tmp_stat.f_fsid = linux_stat->f_fsid;
219 if (bufsiz > sizeof(tmp_stat))
220 bufsiz = sizeof(tmp_stat);
221 return copy_to_user(osf_stat, &tmp_stat, bufsiz) ? -EFAULT : 0;