• Home
  • Raw
  • Download

Lines Matching refs:e_lblk

68 	       extent->e_lblk, extent->e_lblk + extent->e_len - 1,  in dbg_print_extent()
115 printf("left_ext=%llu--%llu, ", left_ext->e_lblk, in ext_falloc_helper()
116 left_ext->e_lblk + left_ext->e_len - 1); in ext_falloc_helper()
118 printf("right_ext=%llu--%llu, ", right_ext->e_lblk, in ext_falloc_helper()
119 right_ext->e_lblk + right_ext->e_len - 1); in ext_falloc_helper()
163 x = left_ext->e_lblk + left_ext->e_len - 1; in ext_falloc_helper()
172 err = ext2fs_extent_goto(handle, left_ext->e_lblk); in ext_falloc_helper()
217 cluster_fill = right_ext->e_lblk & EXT2FS_CLUSTER_MASK(fs); in ext_falloc_helper()
221 err = ext2fs_extent_goto(handle, right_ext->e_lblk); in ext_falloc_helper()
227 right_ext->e_lblk -= cluster_fill; in ext_falloc_helper()
279 err = ext2fs_extent_goto(handle, left_ext->e_lblk); in ext_falloc_helper()
351 x = left_ext->e_lblk + left_ext->e_len - 1; in ext_falloc_helper()
387 err = ext2fs_extent_goto(handle, left_ext->e_lblk); in ext_falloc_helper()
436 right_ext->e_lblk - fillable, &pblk); in ext_falloc_helper()
441 ((right_ext->e_lblk - fillable) in ext_falloc_helper()
466 err = ext2fs_extent_goto(handle, right_ext->e_lblk); in ext_falloc_helper()
470 right_ext->e_lblk -= plen; in ext_falloc_helper()
499 newex.e_lblk = range_start; in ext_falloc_helper()
500 err = ext2fs_map_cluster_block(fs, ino, inode, newex.e_lblk, in ext_falloc_helper()
511 ext2fs_extent_goto(handle, newex.e_lblk); in ext_falloc_helper()
515 ex.e_lblk = 0; in ext_falloc_helper()
519 if (ex.e_lblk > newex.e_lblk) in ext_falloc_helper()
524 __func__, op ? "after" : "before", ex.e_lblk, in ext_falloc_helper()
525 newex.e_lblk); in ext_falloc_helper()
551 newex.e_lblk = y & ~EXT2FS_CLUSTER_MASK(fs); in ext_falloc_helper()
552 err = ext2fs_map_cluster_block(fs, ino, inode, newex.e_lblk, in ext_falloc_helper()
563 ext2fs_extent_goto(handle, newex.e_lblk); in ext_falloc_helper()
567 ex.e_lblk = 0; in ext_falloc_helper()
571 if (ex.e_lblk > newex.e_lblk) in ext_falloc_helper()
576 __func__, op ? "after" : "before", ex.e_lblk, in ext_falloc_helper()
577 newex.e_lblk); in ext_falloc_helper()
600 newex.e_lblk = range_start; in ext_falloc_helper()
611 cluster_fill = newex.e_lblk & EXT2FS_CLUSTER_MASK(fs); in ext_falloc_helper()
626 ext2fs_extent_goto(handle, newex.e_lblk); in ext_falloc_helper()
630 ex.e_lblk = 0; in ext_falloc_helper()
634 if (ex.e_lblk > newex.e_lblk) in ext_falloc_helper()
639 __func__, op ? "after" : "before", ex.e_lblk, in ext_falloc_helper()
640 newex.e_lblk); in ext_falloc_helper()
658 newex.e_lblk += plen - cluster_fill; in ext_falloc_helper()
710 next = left_extent.e_lblk + left_extent.e_len; in extent_fallocate()
711 if (left_extent.e_lblk > start) { in extent_fallocate()
713 goal = left_extent.e_pblk - (left_extent.e_lblk - start); in extent_fallocate()
716 left_extent.e_lblk - start, goal); in extent_fallocate()
728 goal = left_extent.e_pblk + (range_start - left_extent.e_lblk); in extent_fallocate()
737 if (!err && right_extent.e_lblk <= left_extent.e_lblk) in extent_fallocate()
743 right_extent.e_lblk > end + 1) { in extent_fallocate()
748 range_end = right_extent.e_lblk - 1; in extent_fallocate()
753 goal_distance > (range_end - right_extent.e_lblk)) in extent_fallocate()
755 (right_extent.e_lblk - range_start); in extent_fallocate()
772 err = ext2fs_extent_goto(handle, right_extent.e_lblk); in extent_fallocate()
775 next = right_extent.e_lblk + right_extent.e_len; in extent_fallocate()
779 goal = left_extent.e_pblk + (range_start - left_extent.e_lblk); in extent_fallocate()