Lines Matching refs:fm_ext
187 struct fiemap_extent *fm_ext = &fiemap->fm_extents[0]; in filefrag_fiemap() local
231 if (fm_ext[i].fe_logical != 0 && in filefrag_fiemap()
232 fm_ext[i].fe_physical != expected) { in filefrag_fiemap()
240 print_extent_info(&fm_ext[i], n, expected, in filefrag_fiemap()
243 expected = fm_ext[i].fe_physical + fm_ext[i].fe_length; in filefrag_fiemap()
244 if (fm_ext[i].fe_flags & FIEMAP_EXTENT_LAST) in filefrag_fiemap()
249 fiemap->fm_start = (fm_ext[i - 1].fe_logical + in filefrag_fiemap()
250 fm_ext[i - 1].fe_length); in filefrag_fiemap()
264 struct fiemap_extent fm_ext; in filefrag_fibmap() local
272 memset(&fm_ext, 0, sizeof(fm_ext)); in filefrag_fibmap()
273 fm_ext.fe_flags = FIEMAP_EXTENT_MERGED; in filefrag_fibmap()
303 fm_ext.fe_physical = block * st->st_blksize; in filefrag_fibmap()
309 fm_ext.fe_logical + fm_ext.fe_length != logical)) { in filefrag_fibmap()
310 print_extent_info(&fm_ext, *num_extents - 1, in filefrag_fibmap()
313 fm_ext.fe_logical = logical; in filefrag_fibmap()
314 fm_ext.fe_physical = block * st->st_blksize; in filefrag_fibmap()
315 fm_ext.fe_length = 0; in filefrag_fibmap()
322 fm_ext.fe_length += st->st_blksize; in filefrag_fibmap()
327 print_extent_info(&fm_ext, *num_extents - 1, in filefrag_fibmap()