Lines Matching defs:ost
90 cvtstat(struct stat30 *ost, const struct stat *st)
94 memset(ost, 0, sizeof(*ost));
95 ost->st_dev = st->st_dev;
96 ost->st_ino = st->st_ino;
97 ost->st_mode = st->st_mode;
98 ost->st_nlink = st->st_nlink;
99 ost->st_uid = st->st_uid;
100 ost->st_gid = st->st_gid;
101 ost->st_rdev = st->st_rdev;
102 timespec_to_timespec50(&st->st_atimespec, &ost->st_atimespec);
103 timespec_to_timespec50(&st->st_mtimespec, &ost->st_mtimespec);
104 timespec_to_timespec50(&st->st_ctimespec, &ost->st_ctimespec);
105 timespec_to_timespec50(&st->st_birthtimespec, &ost->st_birthtimespec);
106 ost->st_size = st->st_size;
107 ost->st_blocks = st->st_blocks;
108 ost->st_blksize = st->st_blksize;
109 ost->st_flags = st->st_flags;
110 ost->st_gen = st->st_gen;
111 memset(ost->st_spare, 0, sizeof(ost->st_spare));