Lines Matching refs:ost
82 compat_12_stat_conv(const struct stat *st, struct stat12 *ost)
85 memset(ost, 0, sizeof(*ost));
86 ost->st_dev = st->st_dev;
87 ost->st_ino = st->st_ino;
88 ost->st_mode = st->st_mode & 0xffff;
90 ost->st_nlink = (1 << 15) - 1;
92 ost->st_nlink = st->st_nlink;
93 ost->st_uid = st->st_uid;
94 ost->st_gid = st->st_gid;
95 ost->st_rdev = st->st_rdev;
96 timespec_to_timespec50(&st->st_atimespec, &ost->st_atimespec);
97 timespec_to_timespec50(&st->st_mtimespec, &ost->st_mtimespec);
98 timespec_to_timespec50(&st->st_ctimespec, &ost->st_ctimespec);
99 ost->st_size = st->st_size;
100 ost->st_blocks = st->st_blocks;
101 ost->st_blksize = st->st_blksize;
102 ost->st_flags = st->st_flags;
103 ost->st_gen = st->st_gen;