Lines Matching refs:start_seg
108 zft_eom_vtbl->start_seg = ft_first_data_segment + 1; in zft_init_vtbl()
119 eot_vtbl.start_seg = ft_last_data_segment + 1; in zft_init_vtbl()
123 tape_vtbl.start_seg = ft_first_data_segment; in zft_init_vtbl()
238 PUT4(entry, VTBL_SCSI_SEGS, vtbl->end_seg-vtbl->start_seg + 1); in create_zft_volume()
242 PUT2(entry, VTBL_START, vtbl->start_seg); in create_zft_volume()
321 zft_calc_tape_pos(zft_last_vtbl->start_seg)); in extract_alien_volume()
393 zft_last_vtbl->start_seg = zft_eom_vtbl->start_seg; in zft_extract_volume_headers()
395 zft_last_vtbl->start_seg + num_segments - 1; in zft_extract_volume_headers()
399 zft_last_vtbl->start_seg = GET2(entry, VTBL_START); in zft_extract_volume_headers()
402 zft_eom_vtbl->start_seg = zft_last_vtbl->end_seg + 1; in zft_extract_volume_headers()
420 zft_last_vtbl->start_seg = zft_eom_vtbl->start_seg; in zft_extract_volume_headers()
426 - zft_calc_tape_pos(zft_last_vtbl->start_seg)); in zft_extract_volume_headers()
456 zft_eom_vtbl->start_seg = ft_first_data_segment; in zft_fake_volume_headers()
463 zft_last_vtbl->start_seg = zft_eom_vtbl->start_seg; in zft_fake_volume_headers()
465 zft_eom_vtbl->start_seg = segment + 1; in zft_fake_volume_headers()
469 - zft_calc_tape_pos(zft_last_vtbl->start_seg) in zft_fake_volume_headers()
478 zft_last_vtbl->start_seg = zft_eom_vtbl->start_seg; in zft_fake_volume_headers()
480 zft_eom_vtbl->start_seg = ft_last_data_segment + 1; in zft_fake_volume_headers()
482 zft_last_vtbl->size -= zft_calc_tape_pos(zft_last_vtbl->start_seg); in zft_fake_volume_headers()
534 zft_last_vtbl->start_seg = pos->seg_pos; in zft_open_volume()
544 zft_eom_vtbl->start_seg = ft_last_data_segment + 1; in zft_open_volume()
566 pos->seg_pos = vtbl->start_seg; in zft_skip_volumes()
593 return zft_calc_tape_pos(zft_eom_vtbl->start_seg); in zft_get_eom_pos()
605 pos->seg_pos = zft_eom_vtbl->start_seg; in zft_skip_to_eom()
630 pos->seg_pos != zft_last_vtbl->start_seg) { in zft_close_volume()
638 zft_eom_vtbl->start_seg = zft_last_vtbl->end_seg + 1; in zft_close_volume()
683 zft_last_vtbl->start_seg = pos->seg_pos; in zft_weof()
690 zft_eom_vtbl->start_seg = ++ pos->seg_pos; in zft_weof()
723 if (seg_pos < zft_first_vtbl->start_seg) { in zft_find_volume()
728 TRACE(ft_t_noise, "%d - %d", cur_vtbl->start_seg, cur_vtbl->end_seg); in zft_find_volume()
730 while (seg_pos < cur_vtbl->start_seg) { in zft_find_volume()
732 TRACE(ft_t_noise, "%d - %d", cur_vtbl->start_seg, cur_vtbl->end_seg); in zft_find_volume()
734 if (seg_pos > cur_vtbl->end_seg || seg_pos < cur_vtbl->start_seg) { in zft_find_volume()