Searched refs:wanted_state (Results 1 – 1 of 1) sorted by relevance
98 buffer_state_enum wanted_state = (mode == FT_WR_DELETE in ftape_start_writing() local103 if ((ft_driver_state != wanted_state) || head->status != waiting) { in ftape_start_writing()123 ftape_set_state(wanted_state); /* should not be necessary */ in ftape_start_writing()193 buffer_state_enum wanted_state = (write_mode == FT_WR_DELETE in write_segment() local198 if (ft_driver_state != wanted_state) { in write_segment()200 wanted_state == deleting) { in write_segment()206 ftape_set_state(wanted_state); in write_segment()210 ftape_wait_segment(wanted_state); in write_segment()247 if (head->status == wanted_state) { in write_segment()