• Home
  • Raw
  • Download

Lines Matching refs:fm_ext

212 	struct fiemap_extent *fm_ext = &fiemap->fm_extents[0];  in filefrag_fiemap()  local
265 fm_ext[i].fe_logical - fm_last.fe_logical; in filefrag_fiemap()
266 if (fm_ext[i].fe_logical != 0 && in filefrag_fiemap()
267 fm_ext[i].fe_physical != expected && in filefrag_fiemap()
268 fm_ext[i].fe_physical != expected_dense) { in filefrag_fiemap()
276 print_extent_info(&fm_ext[i], n, expected, in filefrag_fiemap()
278 if (fm_ext[i].fe_flags & FIEMAP_EXTENT_LAST) in filefrag_fiemap()
280 fm_last = fm_ext[i]; in filefrag_fiemap()
284 fiemap->fm_start = (fm_ext[i - 1].fe_logical + in filefrag_fiemap()
285 fm_ext[i - 1].fe_length); in filefrag_fiemap()
299 struct fiemap_extent fm_ext, fm_last; in filefrag_fibmap() local
306 memset(&fm_ext, 0, sizeof(fm_ext)); in filefrag_fibmap()
309 fm_ext.fe_flags = FIEMAP_EXTENT_MERGED; in filefrag_fibmap()
337 fm_ext.fe_logical + fm_ext.fe_length != logical) { in filefrag_fibmap()
344 (fm_ext.fe_logical - fm_last.fe_logical); in filefrag_fibmap()
345 if (expected == fm_ext.fe_physical) in filefrag_fibmap()
351 print_extent_info(&fm_ext, *num_extents - 1, in filefrag_fibmap()
357 fm_ext.fe_logical / st->st_blksize, in filefrag_fibmap()
358 fm_ext.fe_physical / st->st_blksize, in filefrag_fibmap()
362 fm_last = fm_ext; in filefrag_fibmap()
364 fm_ext.fe_physical = block * st->st_blksize; in filefrag_fibmap()
365 fm_ext.fe_logical = logical; in filefrag_fibmap()
366 fm_ext.fe_length = 0; in filefrag_fibmap()
368 fm_ext.fe_length += st->st_blksize; in filefrag_fibmap()
374 (fm_ext.fe_logical - fm_last.fe_logical); in filefrag_fibmap()
375 if (expected == fm_ext.fe_physical) in filefrag_fibmap()
378 print_extent_info(&fm_ext, *num_extents - 1, expected, in filefrag_fibmap()