Lines Matching refs:buf
23 stat64_conv (struct stat *buf, const struct stat64 *buf64) in stat64_conv() argument
25 if (sizeof *buf == sizeof *buf64 in stat64_conv()
26 && sizeof buf->st_ino == sizeof buf64->st_ino in stat64_conv()
27 && sizeof buf->st_size == sizeof buf64->st_size in stat64_conv()
28 && sizeof buf->st_blocks == sizeof buf64->st_blocks) in stat64_conv()
30 *buf = *(struct stat *) buf64; in stat64_conv()
34 buf->st_fstype = buf64->st_fstype; in stat64_conv()
35 buf->st_fsid = buf64->st_fsid; in stat64_conv()
36 buf->st_ino = buf64->st_ino; in stat64_conv()
37 buf->st_gen = buf64->st_gen; in stat64_conv()
38 buf->st_rdev = buf64->st_rdev; in stat64_conv()
39 buf->st_mode = buf64->st_mode; in stat64_conv()
40 buf->st_nlink = buf64->st_nlink; in stat64_conv()
41 buf->st_uid = buf64->st_uid; in stat64_conv()
42 buf->st_gid = buf64->st_gid; in stat64_conv()
43 buf->st_size = buf64->st_size; in stat64_conv()
44 buf->st_atim = buf64->st_atim; in stat64_conv()
45 buf->st_mtim = buf64->st_mtim; in stat64_conv()
46 buf->st_ctim = buf64->st_ctim; in stat64_conv()
47 buf->st_blksize = buf64->st_blksize; in stat64_conv()
48 buf->st_blocks = buf64->st_blocks; in stat64_conv()
49 buf->st_author = buf64->st_author; in stat64_conv()
50 buf->st_flags = buf64->st_flags; in stat64_conv()
52 if ((sizeof buf->st_ino != sizeof buf64->st_ino in stat64_conv()
53 && buf->st_ino != buf64->st_ino) in stat64_conv()
54 || (sizeof buf->st_size != sizeof buf64->st_size in stat64_conv()
55 && buf->st_size != buf64->st_size) in stat64_conv()
56 || (sizeof buf->st_blocks != sizeof buf64->st_blocks in stat64_conv()
57 && buf->st_blocks != buf64->st_blocks)) in stat64_conv()