tag | line | file | source code |
eof_index | 65 | drivers/char/ftape/ftape-eof.c | static int eof_index; |
eof_index | 153 | drivers/char/ftape/ftape-eof.c | eof_index = 0; |
eof_index | 171 | drivers/char/ftape/ftape-eof.c | while (eof_index < nr_of_eof_marks && segment > eof_mark_ptr->segment) { |
eof_index | 173 | drivers/char/ftape/ftape-eof.c | ++eof_index; |
eof_index | 175 | drivers/char/ftape/ftape-eof.c | if (eof_index < nr_of_eof_marks && segment == eof_mark_ptr->segment) { |
eof_index | 177 | drivers/char/ftape/ftape-eof.c | eof_map[eof_index].mark.segment, eof_map[eof_index].mark.sector, |
eof_index | 178 | drivers/char/ftape/ftape-eof.c | eof_index); |
eof_index | 200 | drivers/char/ftape/ftape-eof.c | eof_mark_ptr->segment, eof_mark_ptr->sector, eof_index); |
eof_index | 201 | drivers/char/ftape/ftape-eof.c | memmove(&eof_map[eof_index], &eof_map[eof_index + 1], |
eof_index | 202 | drivers/char/ftape/ftape-eof.c | (nr_of_eof_marks - eof_index) * sizeof(*eof_map)); |
eof_index | 458 | drivers/char/ftape/ftape-eof.c | eof_index = 0; |
eof_index | 463 | drivers/char/ftape/ftape-eof.c | for (eof_index = 1, eof_mark_ptr = &eof_map[1].mark; |
eof_index | 464 | drivers/char/ftape/ftape-eof.c | eof_index < nr_of_eof_marks; ++eof_index, ++eof_mark_ptr) { |
eof_index | 501 | drivers/char/ftape/ftape-eof.c | for (eof_index = 0; eof_index <= nr_of_eof_marks; ++eof_index) { |
eof_index | 502 | drivers/char/ftape/ftape-eof.c | if (eof_index == nr_of_eof_marks || /* start seeking after last mark */ |
eof_index | 503 | drivers/char/ftape/ftape-eof.c | ftape_seg_pos <= eof_map[eof_index].mark.segment) { |
eof_index | 504 | drivers/char/ftape/ftape-eof.c | eof_index += count; |
eof_index | 505 | drivers/char/ftape/ftape-eof.c | if (eof_index < 1) { /* begin of tape */ |
eof_index | 507 | drivers/char/ftape/ftape-eof.c | if (eof_index < 0) { /* `before' begin of tape */ |
eof_index | 508 | drivers/char/ftape/ftape-eof.c | eof_index = 0; |
eof_index | 511 | drivers/char/ftape/ftape-eof.c | } else if (eof_index >= nr_of_eof_marks) { /* `after' end of tape */ |
eof_index | 513 | drivers/char/ftape/ftape-eof.c | if (eof_index > nr_of_eof_marks) { |
eof_index | 514 | drivers/char/ftape/ftape-eof.c | eof_index = nr_of_eof_marks; |
eof_index | 518 | drivers/char/ftape/ftape-eof.c | ftape_seg_pos = eof_map[eof_index - 1].mark.segment + 1; |
eof_index | 520 | drivers/char/ftape/ftape-eof.c | eof_mark_ptr = &eof_map[eof_index].mark; |
eof_index | 545 | drivers/char/ftape/ftape-eof.c | *f_no = eof_index; |