Lines Matching refs:ft_head
48 static volatile int ft_head; variable
69 if (++ft_head >= ft_nr_buffers) { in ftape_next_buffer()
70 ft_head = 0; in ftape_next_buffer()
72 return ft_buffer[ft_head]; in ftape_next_buffer()
85 case ft_queue_head: return ft_head; in ftape_buffer_id()
93 case ft_queue_head: return ft_buffer[ft_head]; in ftape_get_buffer()
100 ft_head = ft_tail = 0; in ftape_reset_buffer()
964 ft_buffer[ft_head]->retry > 0 ? " retry" : ""); in ftape_start_tape()
965 if (ft_buffer[ft_head]->retry > 0) { /* this is a retry */ in ftape_start_tape()
975 --ft_buffer[ft_head]->retry; in ftape_start_tape()
982 --ft_buffer[ft_head]->retry; in ftape_start_tape()
993 (ftape_might_be_off_track && ft_buffer[ft_head]->retry== 0)) { in ftape_start_tape()