Home
last modified time | relevance | path

Searched refs:TmpSt (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/cpio/
H A Dcpiostat.c51 stat_to_svr32_stat(cpioinfo_t *TmpSt, struct stat *FromStat) in stat_to_svr32_stat() argument
53 TmpSt->st_dev = convert(FromStat->st_dev); in stat_to_svr32_stat()
54 TmpSt->st_ino = FromStat->st_ino; in stat_to_svr32_stat()
55 TmpSt->st_mode = FromStat->st_mode; in stat_to_svr32_stat()
56 TmpSt->st_nlink = FromStat->st_nlink; in stat_to_svr32_stat()
57 TmpSt->st_uid = FromStat->st_uid; in stat_to_svr32_stat()
58 TmpSt->st_gid = FromStat->st_gid; in stat_to_svr32_stat()
59 TmpSt->st_rdev = convert(FromStat->st_rdev); in stat_to_svr32_stat()
60 TmpSt->st_size = FromStat->st_size; in stat_to_svr32_stat()
61 TmpSt->st_modtime = FromStat->st_mtime; in stat_to_svr32_stat()
H A Dcpio.h286 extern void stat_to_svr32_stat(cpioinfo_t *TmpSt, struct stat *FromStat);
H A Dcpio.c7504 cpioinfo_t TmpSt; in convert_to_old_stat() local
7506 (void) memset(&TmpSt, 0, sizeof (cpioinfo_t)); in convert_to_old_stat()
7507 stat_to_svr32_stat(&TmpSt, FromStat); in convert_to_old_stat()
7510 if (TmpSt.st_rdev == (o_dev_t)NODEV && in convert_to_old_stat()
7511 (((TmpSt.st_mode & Ftype) == S_IFCHR) || in convert_to_old_stat()
7512 ((TmpSt.st_mode & Ftype) == S_IFBLK))) { in convert_to_old_stat()
7526 if (TmpSt.st_dev == (o_dev_t)NODEV) { in convert_to_old_stat()
7533 TmpSt.st_ino = 0; in convert_to_old_stat()
7535 if (((TmpSt.st_mode & Ftype) != S_IFDIR) && in convert_to_old_stat()
7536 TmpSt.st_nlink > 1) in convert_to_old_stat()
[all …]