Home
last modified time | relevance | path

Searched refs:old_loc (Results 1 – 4 of 4) sorted by relevance

/external/e2fsprogs/resize/
Dextent.c22 __u64 old_loc, new_loc; member
80 errcode_t ext2fs_add_extent_entry(ext2_extent extent, __u64 old_loc, __u64 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 __u64 ext2fs_extent_translate(ext2_extent extent, __u64 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()
[all …]
Dresize2fs.h157 __u64 old_loc, __u64 new_loc);
158 extern __u64 ext2fs_extent_translate(ext2_extent extent, __u64 old_loc);
160 extern errcode_t ext2fs_iterate_extent(ext2_extent extent, __u64 *old_loc,
Dresize2fs.c1355 static __u64 extent_translate(ext2_filsys fs, ext2_extent extent, __u64 old_loc) in extent_translate() argument
1357 __u64 new_block = C2B(ext2fs_extent_translate(extent, B2C(old_loc))); in extent_translate()
1360 new_block += old_loc & (EXT2FS_CLUSTER_RATIO(fs) - 1); in extent_translate()
/external/e2fsprogs/misc/
Dtune2fs.c105 blk64_t old_loc; member
1430 bmv->old_loc = blk; in move_block()
1456 if (bmv->old_loc == blk) in translate_block()