• Home
  • Raw
  • Download

Lines Matching refs:old_loc

23 	__u64	old_loc, new_loc;  member
81 errcode_t ext2fs_add_extent_entry(ext2_extent extent, __u64 old_loc, __u64 new_loc) in ext2fs_add_extent_entry() argument
106 if ((ent->old_loc + ent->size == old_loc) && in ext2fs_add_extent_entry()
114 if (ent->old_loc + ent->size > old_loc) in ext2fs_add_extent_entry()
118 ent->old_loc = old_loc; in ext2fs_add_extent_entry()
136 return (db_a->old_loc - db_b->old_loc); in extent_cmp()
143 __u64 ext2fs_extent_translate(ext2_extent extent, __u64 old_loc) in ext2fs_extent_translate() argument
164 lowval = extent->list[low].old_loc; in ext2fs_extent_translate()
165 highval = extent->list[high].old_loc; in ext2fs_extent_translate()
167 if (old_loc < lowval) in ext2fs_extent_translate()
169 else if (old_loc > highval) in ext2fs_extent_translate()
172 range = ((float) (old_loc - lowval)) / in ext2fs_extent_translate()
182 if ((old_loc >= extent->list[mid].old_loc) && in ext2fs_extent_translate()
183 (old_loc < extent->list[mid].old_loc + extent->list[mid].size)) in ext2fs_extent_translate()
185 (old_loc - extent->list[mid].old_loc)); in ext2fs_extent_translate()
186 if (old_loc < extent->list[mid].old_loc) in ext2fs_extent_translate()
206 fprintf(out, "#\t\t %llu -> %llu (%llu)\n", ent->old_loc, in ext2fs_extent_dump()
214 errcode_t ext2fs_iterate_extent(ext2_extent extent, __u64 *old_loc, in ext2fs_iterate_extent() argument
219 if (!old_loc) { in ext2fs_iterate_extent()
225 *old_loc = 0; in ext2fs_iterate_extent()
233 *old_loc = ent->old_loc; in ext2fs_iterate_extent()