Lines Matching refs:tmp_stat
307 struct osf_statfs tmp_stat; in linux_to_osf_statfs() local
309 tmp_stat.f_type = linux_stat->f_type; in linux_to_osf_statfs()
310 tmp_stat.f_flags = 0; /* mount flags */ in linux_to_osf_statfs()
311 tmp_stat.f_fsize = linux_stat->f_frsize; in linux_to_osf_statfs()
312 tmp_stat.f_bsize = linux_stat->f_bsize; in linux_to_osf_statfs()
313 tmp_stat.f_blocks = linux_stat->f_blocks; in linux_to_osf_statfs()
314 tmp_stat.f_bfree = linux_stat->f_bfree; in linux_to_osf_statfs()
315 tmp_stat.f_bavail = linux_stat->f_bavail; in linux_to_osf_statfs()
316 tmp_stat.f_files = linux_stat->f_files; in linux_to_osf_statfs()
317 tmp_stat.f_ffree = linux_stat->f_ffree; in linux_to_osf_statfs()
318 tmp_stat.f_fsid = linux_stat->f_fsid; in linux_to_osf_statfs()
319 if (bufsiz > sizeof(tmp_stat)) in linux_to_osf_statfs()
320 bufsiz = sizeof(tmp_stat); in linux_to_osf_statfs()
321 return copy_to_user(osf_stat, &tmp_stat, bufsiz) ? -EFAULT : 0; in linux_to_osf_statfs()
328 struct osf_statfs64 tmp_stat = { 0 }; in linux_to_osf_statfs64() local
330 tmp_stat.f_type = linux_stat->f_type; in linux_to_osf_statfs64()
331 tmp_stat.f_fsize = linux_stat->f_frsize; in linux_to_osf_statfs64()
332 tmp_stat.f_bsize = linux_stat->f_bsize; in linux_to_osf_statfs64()
333 tmp_stat.f_blocks = linux_stat->f_blocks; in linux_to_osf_statfs64()
334 tmp_stat.f_bfree = linux_stat->f_bfree; in linux_to_osf_statfs64()
335 tmp_stat.f_bavail = linux_stat->f_bavail; in linux_to_osf_statfs64()
336 tmp_stat.f_files = linux_stat->f_files; in linux_to_osf_statfs64()
337 tmp_stat.f_ffree = linux_stat->f_ffree; in linux_to_osf_statfs64()
338 tmp_stat.f_fsid = linux_stat->f_fsid; in linux_to_osf_statfs64()
339 if (bufsiz > sizeof(tmp_stat)) in linux_to_osf_statfs64()
340 bufsiz = sizeof(tmp_stat); in linux_to_osf_statfs64()
341 return copy_to_user(osf_stat, &tmp_stat, bufsiz) ? -EFAULT : 0; in linux_to_osf_statfs64()