Home | History | Annotate | Download | only in resize

Lines Matching defs:old_loc

22 	__u32	old_loc, new_loc;
80 errcode_t ext2fs_add_extent_entry(ext2_extent extent, __u32 old_loc, __u32 new_loc)
105 if ((ent->old_loc + ent->size == old_loc) &&
113 if (ent->old_loc + ent->size > old_loc)
117 ent->old_loc = old_loc;
135 return (db_a->old_loc - db_b->old_loc);
142 __u32 ext2fs_extent_translate(ext2_extent extent, __u32 old_loc)
163 lowval = extent->list[low].old_loc;
164 highval = extent->list[high].old_loc;
166 if (old_loc < lowval)
168 else if (old_loc > highval)
171 range = ((float) (old_loc - lowval)) /
176 if ((old_loc >= extent->list[mid].old_loc) &&
177 (old_loc < extent->list[mid].old_loc + extent->list[mid].size))
179 (old_loc - extent->list[mid].old_loc));
180 if (old_loc < extent->list[mid].old_loc)
200 fprintf(out, _("#\t\t %u -> %u (%d)\n"), ent->old_loc,
208 errcode_t ext2fs_iterate_extent(ext2_extent extent, __u32 *old_loc,
213 if (!old_loc) {
219 *old_loc = 0;
227 *old_loc = ent->old_loc;