Lines Matching refs:ent
81 struct ext2_extent_entry *ent; in ext2fs_add_extent_entry() local
97 ent = extent->list + curr; in ext2fs_add_extent_entry()
103 ent--; in ext2fs_add_extent_entry()
104 if ((ent->old_loc + ent->size == old_loc) && in ext2fs_add_extent_entry()
105 (ent->new_loc + ent->size == new_loc)) { in ext2fs_add_extent_entry()
106 ent->size++; in ext2fs_add_extent_entry()
112 if (ent->old_loc + ent->size > old_loc) in ext2fs_add_extent_entry()
114 ent++; in ext2fs_add_extent_entry()
116 ent->old_loc = old_loc; in ext2fs_add_extent_entry()
117 ent->new_loc = new_loc; in ext2fs_add_extent_entry()
118 ent->size = 1; in ext2fs_add_extent_entry()
198 struct ext2_extent_entry *ent; in ext2fs_extent_dump() local
206 for (i=0, ent=extent->list; i < extent->num; i++, ent++) { in ext2fs_extent_dump()
208 (unsigned long long) ent->old_loc, in ext2fs_extent_dump()
209 (unsigned long long) ent->new_loc, in ext2fs_extent_dump()
210 (unsigned long long) ent->size); in ext2fs_extent_dump()
220 struct ext2_extent_entry *ent; in ext2fs_iterate_extent() local
234 ent = extent->list + extent->cursor++; in ext2fs_iterate_extent()
236 *old_loc = ent->old_loc; in ext2fs_iterate_extent()
237 *new_loc = ent->new_loc; in ext2fs_iterate_extent()
238 *size = ent->size; in ext2fs_iterate_extent()