Lines Matching defs:tmp
128 struct stat64_emu31 tmp;
130 memset(&tmp, 0, sizeof(tmp));
132 tmp.st_dev = huge_encode_dev(stat->dev);
133 tmp.st_ino = stat->ino;
134 tmp.__st_ino = (u32)stat->ino;
135 tmp.st_mode = stat->mode;
136 tmp.st_nlink = (unsigned int)stat->nlink;
137 tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid);
138 tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid);
139 tmp.st_rdev = huge_encode_dev(stat->rdev);
140 tmp.st_size = stat->size;
141 tmp.st_blksize = (u32)stat->blksize;
142 tmp.st_blocks = (u32)stat->blocks;
143 tmp.st_atime = (u32)stat->atime.tv_sec;
144 tmp.st_mtime = (u32)stat->mtime.tv_sec;
145 tmp.st_ctime = (u32)stat->ctime.tv_sec;
147 return copy_to_user(ubuf,&tmp,sizeof(tmp)) ? -EFAULT : 0;