Lines Matching defs:st
61 bsd_stat2ibcs_stat(st, st4)
62 struct stat *st;
66 st4->st_dev = (ibcs2_dev_t)st->st_dev;
67 st4->st_ino = (ibcs2_ino_t)st->st_ino;
68 st4->st_mode = (ibcs2_mode_t)st->st_mode;
69 st4->st_nlink= (ibcs2_nlink_t)st->st_nlink;
70 st4->st_uid = (ibcs2_uid_t)st->st_uid;
71 st4->st_gid = (ibcs2_gid_t)st->st_gid;
72 st4->st_rdev = (ibcs2_dev_t)st->st_rdev;
73 if (st->st_size < (quad_t)1 << 32)
74 st4->st_size = (ibcs2_off_t)st->st_size;
77 st4->st_atim = (ibcs2_time_t)st->st_atim.tv_sec;
78 st4->st_mtim = (ibcs2_time_t)st->st_mtim.tv_sec;
79 st4->st_ctim = (ibcs2_time_t)st->st_ctim.tv_sec;
148 struct stat st;
154 error = kern_statat(td, 0, AT_FDCWD, path, UIO_SYSSPACE, &st, NULL);
158 bsd_stat2ibcs_stat(&st, &ibcs2_st);
159 return copyout((caddr_t)&ibcs2_st, (caddr_t)uap->st,
169 struct stat st;
176 UIO_SYSSPACE, &st, NULL);
180 bsd_stat2ibcs_stat(&st, &ibcs2_st);
181 return copyout((caddr_t)&ibcs2_st, (caddr_t)uap->st,
191 struct stat st;
194 error = kern_fstat(td, uap->fd, &st);
197 bsd_stat2ibcs_stat(&st, &ibcs2_st);
198 return copyout((caddr_t)&ibcs2_st, (caddr_t)uap->st,