Lines Matching refs:buf
39 struct stat *buf = ubuf; in __xstat_conv() local
42 buf->st_dev = kbuf->st_dev; in __xstat_conv()
43 memset (&buf->st_pad1, 0, sizeof (buf->st_pad1)); in __xstat_conv()
44 buf->st_ino = kbuf->st_ino; in __xstat_conv()
46 if (buf->st_ino != kbuf->st_ino) in __xstat_conv()
51 buf->st_mode = kbuf->st_mode; in __xstat_conv()
52 buf->st_nlink = kbuf->st_nlink; in __xstat_conv()
53 buf->st_uid = kbuf->st_uid; in __xstat_conv()
54 buf->st_gid = kbuf->st_gid; in __xstat_conv()
55 buf->st_rdev = kbuf->st_rdev; in __xstat_conv()
56 memset (&buf->st_pad2, 0, sizeof (buf->st_pad2)); in __xstat_conv()
57 buf->st_size = kbuf->st_size; in __xstat_conv()
59 if (buf->st_size != kbuf->st_size) in __xstat_conv()
64 buf->st_pad3 = 0; in __xstat_conv()
65 buf->st_atim.tv_sec = kbuf->st_atime_sec; in __xstat_conv()
66 buf->st_atim.tv_nsec = kbuf->st_atime_nsec; in __xstat_conv()
67 buf->st_mtim.tv_sec = kbuf->st_mtime_sec; in __xstat_conv()
68 buf->st_mtim.tv_nsec = kbuf->st_mtime_nsec; in __xstat_conv()
69 buf->st_ctim.tv_sec = kbuf->st_ctime_sec; in __xstat_conv()
70 buf->st_ctim.tv_nsec = kbuf->st_ctime_nsec; in __xstat_conv()
71 buf->st_blksize = kbuf->st_blksize; in __xstat_conv()
72 buf->st_blocks = kbuf->st_blocks; in __xstat_conv()
74 if (buf->st_blocks != kbuf->st_blocks) in __xstat_conv()
79 memset (&buf->st_pad5, 0, sizeof (buf->st_pad5)); in __xstat_conv()
101 struct stat64 *buf = ubuf; in __xstat64_conv()
103 buf->st_dev = kbuf->st_dev; in __xstat64_conv()
104 memset (&buf->st_pad1, 0, sizeof (buf->st_pad1)); in __xstat64_conv()
105 buf->st_ino = kbuf->st_ino; in __xstat64_conv()
106 buf->st_mode = kbuf->st_mode; in __xstat64_conv()
107 buf->st_nlink = kbuf->st_nlink; in __xstat64_conv()
108 buf->st_uid = kbuf->st_uid; in __xstat64_conv()
109 buf->st_gid = kbuf->st_gid; in __xstat64_conv()
110 buf->st_rdev = kbuf->st_rdev; in __xstat64_conv()
111 memset (&buf->st_pad2, 0, sizeof (buf->st_pad2)); in __xstat64_conv()
112 buf->st_pad3 = 0; in __xstat64_conv()
113 buf->st_size = kbuf->st_size; in __xstat64_conv()
114 buf->st_blksize = kbuf->st_blksize; in __xstat64_conv()
115 buf->st_blocks = kbuf->st_blocks; in __xstat64_conv()
117 buf->st_atim.tv_sec = kbuf->st_atime_sec; in __xstat64_conv()
118 buf->st_atim.tv_nsec = kbuf->st_atime_nsec; in __xstat64_conv()
119 buf->st_mtim.tv_sec = kbuf->st_mtime_sec; in __xstat64_conv()
120 buf->st_mtim.tv_nsec = kbuf->st_mtime_nsec; in __xstat64_conv()
121 buf->st_ctim.tv_sec = kbuf->st_ctime_sec; in __xstat64_conv()
122 buf->st_ctim.tv_nsec = kbuf->st_ctime_nsec; in __xstat64_conv()
124 memset (&buf->st_pad4, 0, sizeof (buf->st_pad4)); in __xstat64_conv()
142 __xstat32_conv (int vers, struct stat64 *kbuf, struct stat *buf) in __xstat32_conv() argument
151 buf->st_dev = kbuf->st_dev; in __xstat32_conv()
152 memset (&buf->st_pad1, 0, sizeof (buf->st_pad1)); in __xstat32_conv()
153 buf->st_ino = kbuf->st_ino; in __xstat32_conv()
155 if (buf->st_ino != kbuf->st_ino) in __xstat32_conv()
160 buf->st_mode = kbuf->st_mode; in __xstat32_conv()
161 buf->st_nlink = kbuf->st_nlink; in __xstat32_conv()
162 buf->st_uid = kbuf->st_uid; in __xstat32_conv()
163 buf->st_gid = kbuf->st_gid; in __xstat32_conv()
164 buf->st_rdev = kbuf->st_rdev; in __xstat32_conv()
165 memset (&buf->st_pad2, 0, sizeof (buf->st_pad2)); in __xstat32_conv()
166 buf->st_size = kbuf->st_size; in __xstat32_conv()
168 if (buf->st_size != kbuf->st_size) in __xstat32_conv()
173 buf->st_pad3 = 0; in __xstat32_conv()
174 buf->st_atim.tv_sec = kbuf->st_atim.tv_sec; in __xstat32_conv()
175 buf->st_atim.tv_nsec = kbuf->st_atim.tv_nsec; in __xstat32_conv()
176 buf->st_mtim.tv_sec = kbuf->st_mtim.tv_sec; in __xstat32_conv()
177 buf->st_mtim.tv_nsec = kbuf->st_mtim.tv_nsec; in __xstat32_conv()
178 buf->st_ctim.tv_sec = kbuf->st_ctim.tv_sec; in __xstat32_conv()
179 buf->st_ctim.tv_nsec = kbuf->st_ctim.tv_nsec; in __xstat32_conv()
180 buf->st_blksize = kbuf->st_blksize; in __xstat32_conv()
181 buf->st_blocks = kbuf->st_blocks; in __xstat32_conv()
183 if (buf->st_blocks != kbuf->st_blocks) in __xstat32_conv()
188 memset (&buf->st_pad5, 0, sizeof (buf->st_pad5)); in __xstat32_conv()