Lines Matching refs:V_labl
104 struct volcopy_label V_labl; variable
421 R_blks = V_labl.v_reelblks; in main()
489 if (V_labl.v_reel != R_cur || V_labl.v_reels != R_num) in main()
491 V_labl.v_reel, V_labl.v_reels, R_cur, R_num); in main()
493 strncpy(V_labl.v_volume, Out.f_vol_p, 6); in main()
560 if (g_read(In.f_dev, In.f_des, &V_labl, sizeof (V_labl)) < in main()
561 sizeof (V_labl)) in main()
564 V_labl.v_reels = R_num; in main()
565 V_labl.v_reel = R_cur; in main()
566 V_labl.v_time = Tvec; in main()
567 V_labl.v_reelblks = R_blks; in main()
568 V_labl.v_blksize = BLKSIZ * Blk_cnt; in main()
569 V_labl.v_nblocks = Blk_cnt; in main()
570 V_labl.v_offset = 0L; in main()
571 V_labl.v_type = T_TYPE; in main()
573 if (g_write(Out.f_dev, Out.f_des, &V_labl, sizeof (V_labl)) < in main()
574 sizeof (V_labl)) in main()
586 dist = (long)(V_labl.v_offset * BLKSIZ); in main()
587 Fs = V_labl.v_offset; in main()
942 V_labl.v_offset += rv; in child_copy()
1108 V_labl.v_offset += rv; in copy()
1237 V_labl.v_magic[0] = '\0'; /* scribble on old data */ in tapeck()
1239 if (g_read(f_p->f_dev, f_p->f_des, &V_labl, sizeof (V_labl)) <= 0) { in tapeck()
1246 if (V_labl.v_reel == '\0' && dir == INPUT) in tapeck()
1249 old_style = strncmp(V_labl.v_magic, "Volcopy", 7) == 0; in tapeck()
1250 new_style = strncmp(V_labl.v_magic, "VOLCOPY", 7) == 0; in tapeck()
1257 strncpy(V_labl.v_volume, f_p->f_vol_p, 6); in tapeck()
1262 strncpy(V_labl.v_magic, "Volcopy", 7); in tapeck()
1266 strncpy(f_p->f_vol_p, V_labl.v_volume, 6); in tapeck()
1267 else if (NOT_EQ(V_labl.v_volume, f_p->f_vol_p, 6)) { in tapeck()
1269 V_labl.v_volume, f_p->f_vol_p); in tapeck()
1270 strncpy(V_labl.v_volume, f_p->f_vol_p, 6); in tapeck()
1273 Bpi = V_labl.v_dens; in tapeck()
1275 R_len = V_labl.v_length; in tapeck()
1276 R_num = V_labl.v_reels; in tapeck()
1279 if (V_labl.v_type == T_TYPE) { in tapeck()
1280 if (V_labl.v_nblocks == 0) { in tapeck()
1284 Blk_cnt = V_labl.v_nblocks; in tapeck()
1285 if (V_labl.v_nblocks == 32) in tapeck()
1384 (void) printf(gettext("\nReel %.6s"), V_labl.v_volume); in tapeck()
1386 V_labl.v_length = R_len; in tapeck()
1387 V_labl.v_dens = Bpi; in tapeck()
1413 strncpy(V_labl.v_volume, tvol, 6); in hdrck()
1417 V_labl.v_reel = tlabl.v_reel; in hdrck()
1422 strncpy(V_labl.v_volume, tvol, 6); in hdrck()
1440 (void) memcpy(&V_labl, Empty, sizeof (V_labl)); in mklabel()
1442 (void) strcpy(V_labl.v_magic, "Volcopy"); in mklabel()
1444 (void) strcpy(V_labl.v_magic, "VOLCOPY"); in mklabel()
1539 strncpy(V_labl.v_volume, vol_tmp, 6); in chgreel()
1567 if (V_labl.v_reel != R_cur) { in chgreel()
1569 R_cur, V_labl.v_reel); in chgreel()
1575 V_labl.v_reel = R_cur; in chgreel()
1576 temp = V_labl.v_offset; in chgreel()
1577 V_labl.v_offset /= BUFSIZ; in chgreel()
1588 if (g_write(f_p->f_dev, f_p->f_des, &V_labl, in chgreel()
1589 sizeof (V_labl)) < 0) { in chgreel()
1592 V_labl.v_offset = temp; in chgreel()
1595 V_labl.v_offset = temp; in chgreel()