Lines Matching refs:out_map_idx
32 static int inp_map_idx = 0, out_map_idx = 1;
71 out_map_idx = 1;
161 table near the previous one, as recorded in `out_map_idx'. */
162 pos_lo = dos_pos_map[out_map_idx-1].pos;
163 pos_hi = dos_pos_map[out_map_idx].pos;
169 out_map_idx++;
170 while (out_map_idx < dos_pos_map_used &&
171 byteno >= dos_pos_map[out_map_idx].pos)
172 out_map_idx++;
177 out_map_idx--;
178 while (out_map_idx > 1 && byteno < dos_pos_map[out_map_idx-1].pos)
179 out_map_idx--;
182 return byteno + dos_pos_map[out_map_idx].add;