Lines Matching refs:tmp_stat
302 struct osf_statfs tmp_stat; in linux_to_osf_statfs() local
304 tmp_stat.f_type = linux_stat->f_type; in linux_to_osf_statfs()
305 tmp_stat.f_flags = 0; /* mount flags */ in linux_to_osf_statfs()
306 tmp_stat.f_fsize = linux_stat->f_frsize; in linux_to_osf_statfs()
307 tmp_stat.f_bsize = linux_stat->f_bsize; in linux_to_osf_statfs()
308 tmp_stat.f_blocks = linux_stat->f_blocks; in linux_to_osf_statfs()
309 tmp_stat.f_bfree = linux_stat->f_bfree; in linux_to_osf_statfs()
310 tmp_stat.f_bavail = linux_stat->f_bavail; in linux_to_osf_statfs()
311 tmp_stat.f_files = linux_stat->f_files; in linux_to_osf_statfs()
312 tmp_stat.f_ffree = linux_stat->f_ffree; in linux_to_osf_statfs()
313 tmp_stat.f_fsid = linux_stat->f_fsid; in linux_to_osf_statfs()
314 if (bufsiz > sizeof(tmp_stat)) in linux_to_osf_statfs()
315 bufsiz = sizeof(tmp_stat); in linux_to_osf_statfs()
316 return copy_to_user(osf_stat, &tmp_stat, bufsiz) ? -EFAULT : 0; in linux_to_osf_statfs()
323 struct osf_statfs64 tmp_stat = { 0 }; in linux_to_osf_statfs64() local
325 tmp_stat.f_type = linux_stat->f_type; in linux_to_osf_statfs64()
326 tmp_stat.f_fsize = linux_stat->f_frsize; in linux_to_osf_statfs64()
327 tmp_stat.f_bsize = linux_stat->f_bsize; in linux_to_osf_statfs64()
328 tmp_stat.f_blocks = linux_stat->f_blocks; in linux_to_osf_statfs64()
329 tmp_stat.f_bfree = linux_stat->f_bfree; in linux_to_osf_statfs64()
330 tmp_stat.f_bavail = linux_stat->f_bavail; in linux_to_osf_statfs64()
331 tmp_stat.f_files = linux_stat->f_files; in linux_to_osf_statfs64()
332 tmp_stat.f_ffree = linux_stat->f_ffree; in linux_to_osf_statfs64()
333 tmp_stat.f_fsid = linux_stat->f_fsid; in linux_to_osf_statfs64()
334 if (bufsiz > sizeof(tmp_stat)) in linux_to_osf_statfs64()
335 bufsiz = sizeof(tmp_stat); in linux_to_osf_statfs64()
336 return copy_to_user(osf_stat, &tmp_stat, bufsiz) ? -EFAULT : 0; in linux_to_osf_statfs64()