Lines Matching defs:V_labl

106 struct volcopy_label	V_labl;
423 R_blks = V_labl.v_reelblks;
491 if (V_labl.v_reel != R_cur || V_labl.v_reels != R_num)
493 V_labl.v_reel, V_labl.v_reels, R_cur, R_num);
495 strncpy(V_labl.v_volume, Out.f_vol_p, 6);
562 if (g_read(In.f_dev, In.f_des, &V_labl, sizeof (V_labl)) <
563 sizeof (V_labl))
566 V_labl.v_reels = R_num;
567 V_labl.v_reel = R_cur;
568 V_labl.v_time = Tvec;
569 V_labl.v_reelblks = R_blks;
570 V_labl.v_blksize = BLKSIZ * Blk_cnt;
571 V_labl.v_nblocks = Blk_cnt;
572 V_labl.v_offset = 0L;
573 V_labl.v_type = T_TYPE;
575 if (g_write(Out.f_dev, Out.f_des, &V_labl, sizeof (V_labl)) <
576 sizeof (V_labl))
588 dist = (long)(V_labl.v_offset * BLKSIZ);
589 Fs = V_labl.v_offset;
694 * the tape (will differ from V_labl.v_reelblks if v_reelblks is not
944 V_labl.v_offset += rv;
1110 V_labl.v_offset += rv;
1239 V_labl.v_magic[0] = '\0'; /* scribble on old data */
1241 if (g_read(f_p->f_dev, f_p->f_des, &V_labl, sizeof (V_labl)) <= 0) {
1248 if (V_labl.v_reel == (char)NULL && dir == INPUT)
1251 old_style = strncmp(V_labl.v_magic, "Volcopy", 7) == 0;
1252 new_style = strncmp(V_labl.v_magic, "VOLCOPY", 7) == 0;
1259 strncpy(V_labl.v_volume, f_p->f_vol_p, 6);
1264 strncpy(V_labl.v_magic, "Volcopy", 7);
1268 strncpy(f_p->f_vol_p, V_labl.v_volume, 6);
1269 else if (NOT_EQ(V_labl.v_volume, f_p->f_vol_p, 6)) {
1271 V_labl.v_volume, f_p->f_vol_p);
1272 strncpy(V_labl.v_volume, f_p->f_vol_p, 6);
1275 Bpi = V_labl.v_dens;
1277 R_len = V_labl.v_length;
1278 R_num = V_labl.v_reels;
1281 if (V_labl.v_type == T_TYPE) {
1282 if (V_labl.v_nblocks == 0) {
1286 Blk_cnt = V_labl.v_nblocks;
1287 if (V_labl.v_nblocks == 32)
1386 (void) printf(gettext("\nReel %.6s"), V_labl.v_volume);
1388 V_labl.v_length = R_len;
1389 V_labl.v_dens = Bpi;
1415 strncpy(V_labl.v_volume, tvol, 6);
1419 V_labl.v_reel = tlabl.v_reel;
1424 strncpy(V_labl.v_volume, tvol, 6);
1442 (void) memcpy(&V_labl, Empty, sizeof (V_labl));
1444 (void) strcpy(V_labl.v_magic, "Volcopy");
1446 (void) strcpy(V_labl.v_magic, "VOLCOPY");
1541 strncpy(V_labl.v_volume, vol_tmp, 6);
1569 if (V_labl.v_reel != R_cur) {
1571 R_cur, V_labl.v_reel);
1577 V_labl.v_reel = R_cur;
1578 temp = V_labl.v_offset;
1579 V_labl.v_offset /= BUFSIZ;
1590 if (g_write(f_p->f_dev, f_p->f_des, &V_labl,
1591 sizeof (V_labl)) < 0) {
1594 V_labl.v_offset = temp;
1597 V_labl.v_offset = temp;