Lines Matching refs:spcl
346 spcl.c_flags = 0; in reset()
347 spcl.c_volume = 0; in reset()
621 if ((BIT(ino, shamap)) && (spcl.c_type == TS_INODE)) { in spclrec()
622 spcl.c_type = TS_ADDR; in spclrec()
624 spcl.c_dinode.di_mode &= ~S_IFMT; in spclrec()
626 spcl.c_dinode.di_mode |= IFSHAD; in spclrec()
634 if (!(spcl.c_type == TS_INODE && (spcl.c_flags & DR_HASMETA))) { in spclrec()
635 spcl.c_flags &= ~DR_HASMETA; in spclrec()
636 bcopy(c_shadow_save, &(spcl.c_shadow), in spclrec()
637 sizeof (spcl.c_shadow)); in spclrec()
640 if (spcl.c_type == TS_END) { in spclrec()
641 spcl.c_count = 1; in spclrec()
642 spcl.c_flags |= DR_INODEINFO; in spclrec()
643 bcopy((char *)inos, (char *)spcl.c_inos, sizeof (inos)); in spclrec()
644 } else if (spcl.c_type == TS_TAPE) { in spclrec()
645 spcl.c_flags |= DR_NEWHEADER; in spclrec()
647 spcl.c_flags |= DR_REDUMP; in spclrec()
648 } else if (spcl.c_type != TS_INODE) in spclrec()
650 spcl.c_tapea = *tapea; in spclrec()
652 spcl.c_inumber = (ino32_t)ino; in spclrec()
653 spcl.c_magic = (tp_bsize == TP_BSIZE_MIN) ? NFS_MAGIC : MTB_MAGIC; in spclrec()
654 spcl.c_checksum = 0; in spclrec()
655 ip = (int32_t *)&spcl; in spclrec()
665 spcl.c_checksum = s; in spclrec()
666 taprec((uchar_t *)&spcl, flags, sizeof (spcl)); in spclrec()
667 if (spcl.c_type == TS_END) in spclrec()
668 spcl.c_flags &= ~DR_INODEINFO; in spclrec()
669 else if (spcl.c_type == TS_TAPE) in spclrec()
670 spcl.c_flags &= ~(DR_NEWHEADER|DR_REDUMP|DR_TRUEINC); in spclrec()
815 spcl.c_inumber = (ino32_t)inumber; in dospcl()
817 bcopy((char *)&spcl, (char *)slp->sl_req->br_spcl, tp_bsize); in dospcl()
916 if (atomic((int(*)())read, writer, (char *)&spcl, in rollforward()
949 (void) memmove(spcl.c_addr, in rollforward()
950 &spcl.c_addr[spcl.c_count-leftover], leftover); in rollforward()
951 bzero(&spcl.c_addr[leftover], TP_NINDIR-leftover); in rollforward()
1053 cp = spcl.c_host; in nextdevice()
1069 dumpdev = xmalloc((size_t)((sizeof (spcl.c_host) + strlen(tape) + 2))); in nextdevice()
1071 (void) sprintf(dumpdev, "%.*s:%s", (int)sizeof (spcl.c_host), cp, tape); in nextdevice()
1072 if (cp == spcl.c_host) in nextdevice()
1251 assert(sizeof (spcl.c_label) < sizeof (volname)); in changevol()
1255 (void) strcpy(spcl.c_label, tlabel); in changevol()
1340 if (strncmp(spcl.c_label, "none", 5)) { in changevol()
1341 (void) strncpy(volname, spcl.c_label, sizeof (spcl.c_label)); in changevol()
1342 volname[sizeof (spcl.c_label)] = '\0'; in changevol()
1346 timeest(1, spcl.c_tapea); in changevol()
1642 spcl.c_firstrec = chkpt.sl_firstrec; in otape()
1643 spcl.c_tapea = (*tapea) = chkpt.sl_tapea; in otape()
1644 spcl.c_volume++; in otape()
1660 spcl.c_type = TS_TAPE; in otape()
1661 spcl.c_tpbsize = tp_bsize; in otape()
1663 spcl.c_count = 0; in otape()
1677 timeest(0, spcl.c_tapea); in otape()
1962 assert(sizeof (spcl) == TP_BSIZE_MIN); in dumpoffline()
1968 bcopy((char *)p->br_spcl, (char *)&spcl, in dumpoffline()
1969 sizeof (spcl)); in dumpoffline()
1970 ino = spcl.c_inumber; in dumpoffline()
2031 char *recmap = spcl.c_addr; /* current tape record map */ in dowrite()
2038 bzero((char *)&spcl, sizeof (spcl)); in dowrite()
2183 (char *)&spcl, sizeof (spcl)); in dowrite()
2185 endmp = &recmap[spcl.c_count]; in dowrite()
2223 timeest(0, spcl.c_tapea); in dowrite()
2273 ino = spcl.c_inumber; in checkpoint()
2274 type = spcl.c_type; in checkpoint()
2297 if ((spcl.c_dinode.di_mode & IFMT) == IFDIR || in checkpoint()
2298 (spcl.c_dinode.di_mode & IFMT) == IFATTRDIR) in checkpoint()
2315 if (spcl.c_type == TS_END) in checkpoint()
2333 chkpt.sl_tapea = spcl.c_tapea + count; in checkpoint()
2342 if ((unsigned)atomic((int(*)())write, cmd, (char *)&spcl, in checkpoint()
2343 sizeof (spcl)) != sizeof (spcl)) { in checkpoint()