Lines Matching refs:o_tape_limit
70 extern off_t o_tape_limit;
230 if (o_tape_limit) { in ndmos_tape_open()
231 g_assert(o_tape_limit > st.st_size); in ndmos_tape_open()
234 ta->tape_state.total_space.value = o_tape_limit; in ndmos_tape_open()
236 ta->tape_state.space_remain.value = o_tape_limit - st.st_size; in ndmos_tape_open()
583 if (o_tape_limit) { in ndmos_tape_write()
586 if (!ta->sent_leom && cur_pos > o_tape_limit - TAPE_SIM_LOGICAL_EOM) { in ndmos_tape_write()
592 if ((off_t)(cur_pos + sizeof gap + count) > o_tape_limit) { in ndmos_tape_write()
642 if (o_tape_limit) { in ndmos_tape_write()
643 ta->tape_state.space_remain.value = o_tape_limit - cur_pos; in ndmos_tape_write()
673 if (o_tape_limit) { in ndmos_tape_wfm()
677 if ((off_t)(cur_pos + sizeof gap) > o_tape_limit) { in ndmos_tape_wfm()
724 if (o_tape_limit) { in ndmos_tape_wfm()
725 ta->tape_state.space_remain.value = o_tape_limit - cur_pos; in ndmos_tape_wfm()