Lines Matching refs:buf

44 	struct stat *buf = ubuf;  in __xstat_conv()  local
47 buf->st_dev = kbuf->st_dev; in __xstat_conv()
49 buf->__pad1 = 0; in __xstat_conv()
51 buf->st_ino = kbuf->st_ino; in __xstat_conv()
52 buf->st_mode = kbuf->st_mode; in __xstat_conv()
53 buf->st_nlink = kbuf->st_nlink; in __xstat_conv()
54 buf->st_uid = kbuf->st_uid; in __xstat_conv()
55 buf->st_gid = kbuf->st_gid; in __xstat_conv()
56 buf->st_rdev = kbuf->st_rdev; in __xstat_conv()
58 buf->__pad2 = 0; in __xstat_conv()
60 buf->st_size = kbuf->st_size; in __xstat_conv()
61 buf->st_blksize = kbuf->st_blksize; in __xstat_conv()
62 buf->st_blocks = kbuf->st_blocks; in __xstat_conv()
64 buf->st_atim.tv_sec = kbuf->st_atim.tv_sec; in __xstat_conv()
65 buf->st_atim.tv_nsec = kbuf->st_atim.tv_nsec; in __xstat_conv()
66 buf->st_mtim.tv_sec = kbuf->st_mtim.tv_sec; in __xstat_conv()
67 buf->st_mtim.tv_nsec = kbuf->st_mtim.tv_nsec; in __xstat_conv()
68 buf->st_ctim.tv_sec = kbuf->st_ctim.tv_sec; in __xstat_conv()
69 buf->st_ctim.tv_nsec = kbuf->st_ctim.tv_nsec; in __xstat_conv()
71 buf->st_atime = kbuf->st_atime; in __xstat_conv()
72 buf->st_mtime = kbuf->st_mtime; in __xstat_conv()
73 buf->st_ctime = kbuf->st_ctime; in __xstat_conv()
76 buf->__glibc_reserved1 = 0; in __xstat_conv()
79 buf->__glibc_reserved2 = 0; in __xstat_conv()
82 buf->__glibc_reserved3 = 0; in __xstat_conv()
85 buf->__glibc_reserved4 = 0; in __xstat_conv()
88 buf->__glibc_reserved5 = 0; in __xstat_conv()
111 struct stat64 *buf = ubuf; in __xstat64_conv()
114 buf->st_dev = kbuf->st_dev; in __xstat64_conv()
116 buf->__pad1 = 0; in __xstat64_conv()
118 buf->st_ino = kbuf->st_ino; in __xstat64_conv()
120 buf->__st_ino = kbuf->st_ino; in __xstat64_conv()
122 buf->st_mode = kbuf->st_mode; in __xstat64_conv()
123 buf->st_nlink = kbuf->st_nlink; in __xstat64_conv()
124 buf->st_uid = kbuf->st_uid; in __xstat64_conv()
125 buf->st_gid = kbuf->st_gid; in __xstat64_conv()
126 buf->st_rdev = kbuf->st_rdev; in __xstat64_conv()
128 buf->__pad2 = 0; in __xstat64_conv()
130 buf->st_size = kbuf->st_size; in __xstat64_conv()
131 buf->st_blksize = kbuf->st_blksize; in __xstat64_conv()
132 buf->st_blocks = kbuf->st_blocks; in __xstat64_conv()
134 buf->st_atim.tv_sec = kbuf->st_atim.tv_sec; in __xstat64_conv()
135 buf->st_atim.tv_nsec = kbuf->st_atim.tv_nsec; in __xstat64_conv()
136 buf->st_mtim.tv_sec = kbuf->st_mtim.tv_sec; in __xstat64_conv()
137 buf->st_mtim.tv_nsec = kbuf->st_mtim.tv_nsec; in __xstat64_conv()
138 buf->st_ctim.tv_sec = kbuf->st_ctim.tv_sec; in __xstat64_conv()
139 buf->st_ctim.tv_nsec = kbuf->st_ctim.tv_nsec; in __xstat64_conv()
141 buf->st_atime = kbuf->st_atime; in __xstat64_conv()
142 buf->st_mtime = kbuf->st_mtime; in __xstat64_conv()
143 buf->st_ctime = kbuf->st_ctime; in __xstat64_conv()
146 buf->__glibc_reserved1 = 0; in __xstat64_conv()
149 buf->__glibc_reserved2 = 0; in __xstat64_conv()
152 buf->__glibc_reserved3 = 0; in __xstat64_conv()
155 buf->__glibc_reserved4 = 0; in __xstat64_conv()
158 buf->__glibc_reserved5 = 0; in __xstat64_conv()
175 __xstat32_conv (int vers, struct stat64 *kbuf, struct stat *buf) in __xstat32_conv() argument
183 buf->st_dev = kbuf->st_dev; in __xstat32_conv()
185 buf->__pad1 = 0; in __xstat32_conv()
187 buf->st_ino = kbuf->st_ino; in __xstat32_conv()
188 if (sizeof (buf->st_ino) != sizeof (kbuf->st_ino) in __xstat32_conv()
189 && buf->st_ino != kbuf->st_ino) in __xstat32_conv()
191 buf->st_mode = kbuf->st_mode; in __xstat32_conv()
192 buf->st_nlink = kbuf->st_nlink; in __xstat32_conv()
193 buf->st_uid = kbuf->st_uid; in __xstat32_conv()
194 buf->st_gid = kbuf->st_gid; in __xstat32_conv()
195 buf->st_rdev = kbuf->st_rdev; in __xstat32_conv()
197 buf->__pad2 = 0; in __xstat32_conv()
199 buf->st_size = kbuf->st_size; in __xstat32_conv()
201 if (sizeof (buf->st_size) != sizeof (kbuf->st_size) in __xstat32_conv()
202 && buf->st_size != kbuf->st_size) in __xstat32_conv()
204 buf->st_blksize = kbuf->st_blksize; in __xstat32_conv()
205 buf->st_blocks = kbuf->st_blocks; in __xstat32_conv()
207 if (sizeof (buf->st_blocks) != sizeof (kbuf->st_blocks) in __xstat32_conv()
208 && buf->st_blocks != kbuf->st_blocks) in __xstat32_conv()
211 buf->st_atim.tv_sec = kbuf->st_atim.tv_sec; in __xstat32_conv()
212 buf->st_atim.tv_nsec = kbuf->st_atim.tv_nsec; in __xstat32_conv()
213 buf->st_mtim.tv_sec = kbuf->st_mtim.tv_sec; in __xstat32_conv()
214 buf->st_mtim.tv_nsec = kbuf->st_mtim.tv_nsec; in __xstat32_conv()
215 buf->st_ctim.tv_sec = kbuf->st_ctim.tv_sec; in __xstat32_conv()
216 buf->st_ctim.tv_nsec = kbuf->st_ctim.tv_nsec; in __xstat32_conv()
218 buf->st_atime = kbuf->st_atime; in __xstat32_conv()
219 buf->st_mtime = kbuf->st_mtime; in __xstat32_conv()
220 buf->st_ctime = kbuf->st_ctime; in __xstat32_conv()
224 buf->__glibc_reserved1 = 0; in __xstat32_conv()
227 buf->__glibc_reserved2 = 0; in __xstat32_conv()
230 buf->__glibc_reserved3 = 0; in __xstat32_conv()
233 buf->__glibc_reserved4 = 0; in __xstat32_conv()
236 buf->__glibc_reserved5 = 0; in __xstat32_conv()