• Home
  • Raw
  • Download

Lines Matching refs:old_loc

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