Lines Matching refs:tmp
124 struct oldabi_stat64 tmp;
126 tmp.st_dev = huge_encode_dev(stat->dev);
127 tmp.__pad1 = 0;
128 tmp.__st_ino = stat->ino;
129 tmp.st_mode = stat->mode;
130 tmp.st_nlink = stat->nlink;
131 tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid);
132 tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid);
133 tmp.st_rdev = huge_encode_dev(stat->rdev);
134 tmp.st_size = stat->size;
135 tmp.st_blocks = stat->blocks;
136 tmp.__pad2 = 0;
137 tmp.st_blksize = stat->blksize;
138 tmp.st_atime = stat->atime.tv_sec;
139 tmp.st_atime_nsec = stat->atime.tv_nsec;
140 tmp.st_mtime = stat->mtime.tv_sec;
141 tmp.st_mtime_nsec = stat->mtime.tv_nsec;
142 tmp.st_ctime = stat->ctime.tv_sec;
143 tmp.st_ctime_nsec = stat->ctime.tv_nsec;
144 tmp.st_ino = stat->ino;
145 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0;