Lines Matching refs:spcl

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