Lines Matching refs:ent
83 struct ext2_extent_entry *ent; in ext2fs_add_extent_entry() local
99 ent = extent->list + curr; in ext2fs_add_extent_entry()
105 ent--; in ext2fs_add_extent_entry()
106 if ((ent->old_loc + ent->size == old_loc) && in ext2fs_add_extent_entry()
107 (ent->new_loc + ent->size == new_loc)) { in ext2fs_add_extent_entry()
108 ent->size++; in ext2fs_add_extent_entry()
114 if (ent->old_loc + ent->size > old_loc) in ext2fs_add_extent_entry()
116 ent++; in ext2fs_add_extent_entry()
118 ent->old_loc = old_loc; in ext2fs_add_extent_entry()
119 ent->new_loc = new_loc; in ext2fs_add_extent_entry()
120 ent->size = 1; in ext2fs_add_extent_entry()
200 struct ext2_extent_entry *ent; in ext2fs_extent_dump() local
208 for (i=0, ent=extent->list; i < extent->num; i++, ent++) { in ext2fs_extent_dump()
210 (unsigned long long) ent->old_loc, in ext2fs_extent_dump()
211 (unsigned long long) ent->new_loc, in ext2fs_extent_dump()
212 (unsigned long long) ent->size); in ext2fs_extent_dump()
222 struct ext2_extent_entry *ent; in ext2fs_iterate_extent() local
236 ent = extent->list + extent->cursor++; in ext2fs_iterate_extent()
238 *old_loc = ent->old_loc; in ext2fs_iterate_extent()
239 *new_loc = ent->new_loc; in ext2fs_iterate_extent()
240 *size = ent->size; in ext2fs_iterate_extent()