Lines Matching refs:spcl

232 	if ((gethead(&spcl) == FAIL) && (spcl.c_magic != MTB_MAGIC)) {
237 if (gethead(&spcl) == FAIL) {
252 if (spcl.c_magic == MTB_MAGIC) {
253 tp_bsize = spcl.c_tpbsize;
267 if (gethead(&spcl) == FAIL) {
285 endoftapemark.s_spcl.c_date = spcl.c_date;
300 dumptime = spcl.c_ddate;
301 dumpdate = spcl.c_date;
313 if (checkvol(&spcl, 1) == FAIL) {
318 if (readhdr(&spcl) == FAIL)
321 findinode(&spcl); /* sets curfile, resyncs the tape if need be */
322 if (checktype(&spcl, TS_CLRI) == FAIL) {
327 maxino = (unsigned)((spcl.c_count * tp_bsize * NBBY) + 1);
354 if (checktype(&spcl, TS_BITS) == FAIL) {
357 if (gethead(&spcl) == GOOD &&
358 checktype(&spcl, TS_END) == GOOD) {
662 (void) gethead(&spcl);
663 findinode(&spcl); /* do we always restart files in full? */
1017 while (checktype(&spcl, TS_CLRI) == GOOD ||
1018 checktype(&spcl, TS_BITS) == GOOD)
1041 offset_t size = (offset_t)spcl.c_dinode.di_size;
1050 if (checktype(&spcl, TS_END) == GOOD) {
1054 if (ishead(&spcl) == FAIL) {
1058 metacheck(&spcl); /* check for metadata in header */
1065 if ((spcl.c_dinode.di_mode & IFMT) == IFSHAD) {
1069 for (i = 0, bufptr = buf; i < spcl.c_count; i++) {
1070 if ((i >= TP_NINDIR) || (spcl.c_addr[i])) {
1096 for (i++; i < spcl.c_count; i++)
1097 if ((i >= TP_NINDIR) || (spcl.c_addr[i]))
1118 if ((readhdr(&spcl) == GOOD) && (checktype(&spcl, TS_ADDR) == GOOD)) {
1120 size = (offset_t)spcl.c_count * tp_bsize;
1123 ((spcl.c_dinode.di_mode & IFMT) == IFSHAD)) {
1125 size = spcl.c_dinode.di_size;
1134 findinode(&spcl);
1197 if ((metadata == NULL) && ((spcl.c_dinode.di_mode & IFMT) != IFSHAD))
1405 if (spcl.c_type != TS_ADDR) {
1410 if ((spcl.c_count < 0) || (spcl.c_count > TP_NINDIR)) {
1413 spcl.c_count);
1418 ((spcl.c_count * tp_bsize * NBBY) + 1), NBBY);
1842 dumpinfo.c_date = spcl.c_date;
1843 dumpinfo.c_ddate = spcl.c_ddate;
1845 if (!hostinfo && spcl.c_host[0] != '\0') {
1846 bcopy(spcl.c_label, dumpinfo.c_label,
1847 sizeof (spcl.c_label));
1848 bcopy(spcl.c_filesys, dumpinfo.c_filesys,
1849 sizeof (spcl.c_filesys));
1850 bcopy(spcl.c_dev, dumpinfo.c_dev,
1851 sizeof (spcl.c_dev));
1852 bcopy(spcl.c_host, dumpinfo.c_host,
1853 sizeof (spcl.c_host));
1854 dumpinfo.c_level = spcl.c_level;
1857 strncmp(c_label, spcl.c_label,
1858 sizeof (spcl.c_label))
1863 sizeof (spcl.c_label), spcl.c_label);
1867 if (!inodeinfo && (spcl.c_flags & DR_INODEINFO)) {
1868 dumpinfo.c_volume = spcl.c_volume;
1869 bcopy(spcl.c_inos, dumpinfo.c_inos,
1870 sizeof (spcl.c_inos));