Lines Matching refs:lstat
278 linux_to_osf_stat(struct kstat *lstat, struct osf_stat __user *osf_stat) in linux_to_osf_stat() argument
282 tmp.st_dev = lstat->dev; in linux_to_osf_stat()
283 tmp.st_mode = lstat->mode; in linux_to_osf_stat()
284 tmp.st_nlink = lstat->nlink; in linux_to_osf_stat()
285 tmp.st_uid = from_kuid_munged(current_user_ns(), lstat->uid); in linux_to_osf_stat()
286 tmp.st_gid = from_kgid_munged(current_user_ns(), lstat->gid); in linux_to_osf_stat()
287 tmp.st_rdev = lstat->rdev; in linux_to_osf_stat()
288 tmp.st_ldev = lstat->rdev; in linux_to_osf_stat()
289 tmp.st_size = lstat->size; in linux_to_osf_stat()
290 tmp.st_uatime = lstat->atime.tv_nsec / 1000; in linux_to_osf_stat()
291 tmp.st_umtime = lstat->mtime.tv_nsec / 1000; in linux_to_osf_stat()
292 tmp.st_uctime = lstat->ctime.tv_nsec / 1000; in linux_to_osf_stat()
293 tmp.st_ino = lstat->ino; in linux_to_osf_stat()
294 tmp.st_atime = lstat->atime.tv_sec; in linux_to_osf_stat()
295 tmp.st_mtime = lstat->mtime.tv_sec; in linux_to_osf_stat()
296 tmp.st_ctime = lstat->ctime.tv_sec; in linux_to_osf_stat()
297 tmp.st_blksize = lstat->blksize; in linux_to_osf_stat()
298 tmp.st_blocks = lstat->blocks; in linux_to_osf_stat()