Lines Matching refs:spcl

311 	spcl.c_flags = 0;  in reset()
312 spcl.c_volume = 0; in reset()
578 if ((BIT(ino, shamap)) && (spcl.c_type == TS_INODE)) { in spclrec()
579 spcl.c_type = TS_ADDR; in spclrec()
581 spcl.c_dinode.di_mode &= ~S_IFMT; in spclrec()
583 spcl.c_dinode.di_mode |= IFSHAD; in spclrec()
591 if (!(spcl.c_type == TS_INODE && (spcl.c_flags & DR_HASMETA))) { in spclrec()
592 spcl.c_flags &= ~DR_HASMETA; in spclrec()
593 bcopy(c_shadow_save, &(spcl.c_shadow), in spclrec()
594 sizeof (spcl.c_shadow)); in spclrec()
597 if (spcl.c_type == TS_END) { in spclrec()
598 spcl.c_count = 1; in spclrec()
599 spcl.c_flags |= DR_INODEINFO; in spclrec()
600 bcopy((char *)inos, (char *)spcl.c_inos, sizeof (inos)); in spclrec()
601 } else if (spcl.c_type == TS_TAPE) { in spclrec()
602 spcl.c_flags |= DR_NEWHEADER; in spclrec()
604 spcl.c_flags |= DR_REDUMP; in spclrec()
605 } else if (spcl.c_type != TS_INODE) in spclrec()
607 spcl.c_tapea = *tapea; in spclrec()
609 spcl.c_inumber = (ino32_t)ino; in spclrec()
610 spcl.c_magic = (tp_bsize == TP_BSIZE_MIN) ? NFS_MAGIC : MTB_MAGIC; in spclrec()
611 spcl.c_checksum = 0; in spclrec()
612 ip = (int32_t *)&spcl; in spclrec()
622 spcl.c_checksum = s; in spclrec()
623 taprec((uchar_t *)&spcl, flags, sizeof (spcl)); in spclrec()
624 if (spcl.c_type == TS_END) in spclrec()
625 spcl.c_flags &= ~DR_INODEINFO; in spclrec()
626 else if (spcl.c_type == TS_TAPE) in spclrec()
627 spcl.c_flags &= ~(DR_NEWHEADER|DR_REDUMP|DR_TRUEINC); in spclrec()
773 spcl.c_inumber = (ino32_t)inumber; in dospcl()
775 bcopy((char *)&spcl, (char *)slp->sl_req->br_spcl, tp_bsize); in dospcl()
862 if (atomic((int(*)())read, writer, (char *)&spcl, in rollforward()
895 (void) memmove(spcl.c_addr, in rollforward()
896 &spcl.c_addr[spcl.c_count-leftover], leftover); in rollforward()
897 bzero(&spcl.c_addr[leftover], TP_NINDIR-leftover); in rollforward()
995 cp = spcl.c_host; in nextdevice()
1011 dumpdev = xmalloc((size_t)((sizeof (spcl.c_host) + strlen(tape) + 2))); in nextdevice()
1013 (void) sprintf(dumpdev, "%.*s:%s", (int)sizeof (spcl.c_host), cp, tape); in nextdevice()
1014 if (cp == spcl.c_host) in nextdevice()
1177 assert(sizeof (spcl.c_label) < sizeof (volname)); in changevol()
1181 (void) strcpy(spcl.c_label, tlabel); in changevol()
1266 if (strncmp(spcl.c_label, "none", 5)) { in changevol()
1267 (void) strncpy(volname, spcl.c_label, sizeof (spcl.c_label)); in changevol()
1268 volname[sizeof (spcl.c_label)] = '\0'; in changevol()
1272 timeest(1, spcl.c_tapea); in changevol()
1569 spcl.c_firstrec = chkpt.sl_firstrec; in otape()
1570 spcl.c_tapea = (*tapea) = chkpt.sl_tapea; in otape()
1571 spcl.c_volume++; in otape()
1587 spcl.c_type = TS_TAPE; in otape()
1588 spcl.c_tpbsize = tp_bsize; in otape()
1590 spcl.c_count = 0; in otape()
1604 timeest(0, spcl.c_tapea); in otape()
1873 assert(sizeof (spcl) == TP_BSIZE_MIN); in dumpoffline()
1879 bcopy((char *)p->br_spcl, (char *)&spcl, in dumpoffline()
1880 sizeof (spcl)); in dumpoffline()
1881 ino = spcl.c_inumber; in dumpoffline()
1942 char *recmap = spcl.c_addr; /* current tape record map */ in dowrite()
1949 bzero((char *)&spcl, sizeof (spcl)); in dowrite()
2093 bcopy((char *)sp, (char *)&spcl, sizeof (spcl)); in dowrite()
2095 endmp = &recmap[spcl.c_count]; in dowrite()
2133 timeest(0, spcl.c_tapea); in dowrite()
2183 ino = spcl.c_inumber; in checkpoint()
2184 type = spcl.c_type; in checkpoint()
2207 if ((spcl.c_dinode.di_mode & IFMT) == IFDIR || in checkpoint()
2208 (spcl.c_dinode.di_mode & IFMT) == IFATTRDIR) in checkpoint()
2225 if (spcl.c_type == TS_END) in checkpoint()
2243 chkpt.sl_tapea = spcl.c_tapea + count; in checkpoint()
2252 if ((unsigned)atomic((int(*)())write, cmd, (char *)&spcl, in checkpoint()
2253 sizeof (spcl)) != sizeof (spcl)) { in checkpoint()