Home
last modified time | relevance | path

Searched refs:e_lblk (Results 1 – 13 of 13) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dfallocate.c68 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()
[all …]
Dpunch.c174 extent->e_lblk, extent->e_lblk + extent->e_len - 1, in dbg_print_extent()
297 next = extent.e_lblk + extent.e_len; in ext2fs_punch_extent()
302 if (start <= extent.e_lblk) { in ext2fs_punch_extent()
307 if (end < extent.e_lblk) in ext2fs_punch_extent()
313 lfree_start = extent.e_lblk; in ext2fs_punch_extent()
315 free_count = end - extent.e_lblk + 1; in ext2fs_punch_extent()
319 extent.e_lblk += free_count; in ext2fs_punch_extent()
332 newlen = start - extent.e_lblk; in ext2fs_punch_extent()
334 lfree_start = extent.e_lblk + newlen; in ext2fs_punch_extent()
343 (end + 1 - extent.e_lblk); in ext2fs_punch_extent()
[all …]
Dextent.c113 extent->e_lblk, extent->e_lblk + extent->e_len - 1, in dbg_print_extent()
540 extent->e_lblk = ext2fs_le32_to_cpu(ex->ee_block); in ext2fs_extent_get()
550 extent->e_lblk = ext2fs_le32_to_cpu(ix->ei_block); in ext2fs_extent_get()
557 extent->e_len = end_blk - extent->e_lblk; in ext2fs_extent_get()
631 save_path->lblk = extent.e_lblk;
687 if ((blk >= extent.e_lblk) && in ext2fs_extent_goto2()
688 (blk < extent.e_lblk + extent.e_len)) in ext2fs_extent_goto2()
690 if (blk < extent.e_lblk) { in ext2fs_extent_goto2()
716 if (blk == extent.e_lblk) in ext2fs_extent_goto2()
718 if (blk > extent.e_lblk) in ext2fs_extent_goto2()
[all …]
Dblock.c479 extent.e_lblk, extent.e_pblk, in ext2fs_block_iterate3()
482 if (extent.e_lblk + extent.e_len <= (blk64_t) blockcnt) in ext2fs_block_iterate3()
484 if (extent.e_lblk > (blk64_t) blockcnt) in ext2fs_block_iterate3()
485 blockcnt = extent.e_lblk; in ext2fs_block_iterate3()
486 j = blockcnt - extent.e_lblk; in ext2fs_block_iterate3()
488 for (blockcnt = extent.e_lblk, j = 0; in ext2fs_block_iterate3()
Dbmap.c229 extent.e_lblk = block; in extent_bmap()
237 offset = block - extent.e_lblk; in extent_bmap()
238 if (block >= extent.e_lblk && (offset <= extent.e_len)) { in extent_bmap()
254 alloc_ctx.lblk = extent.e_lblk; in extent_bmap()
Dalloc.c374 return extent.e_pblk + (lblk - extent.e_lblk); in ext2fs_find_inode_goal()
Dext2fs.h406 blk64_t e_lblk; /* first logical block extent covers */ member
/external/e2fsprogs/e2fsck/
Dextents.c109 last->e_lblk + last->e_len == extent.e_lblk && in load_extents()
136 extent.e_pblk, extent.e_lblk, extent.e_len); in load_extents()
174 if (last->e_lblk + last->e_len == (__u64) blockcnt && in find_blocks()
197 list->extents[list->count].e_lblk = blockcnt; in find_blocks()
275 ex->e_lblk += EXT_UNINIT_MAX_LEN; in rebuild_extent_tree()
284 ex->e_lblk += EXT_INIT_MAX_LEN; in rebuild_extent_tree()
293 extent.e_pblk, extent.e_lblk, extent.e_len); in rebuild_extent_tree()
Dpass1.c231 (extent.e_lblk != 0) || in e2fsck_pass1_check_symlink()
2844 last_lblk = extent.e_lblk + extent.e_len - 1; in scan_extent_node()
2848 pctx->blk2 = extent.e_lblk; in scan_extent_node()
2850 pctx->blkcount = extent.e_lblk + extent.e_len; in scan_extent_node()
2856 else if (extent.e_lblk < start_block) in scan_extent_node()
2870 ((extent.e_lblk + extent.e_len) > in scan_extent_node()
2879 extent.e_lblk, extent.e_len); in scan_extent_node()
2881 if (extent.e_lblk < pb->next_lblock) in scan_extent_node()
2883 else if (extent.e_lblk + extent.e_len > pb->next_lblock) in scan_extent_node()
2884 pb->next_lblock = extent.e_lblk + extent.e_len; in scan_extent_node()
[all …]
/external/e2fsprogs/debugfs/
Dextent_inode.c36 extent->e_lblk, extent->e_lblk + extent->e_len - 1, in dbg_print_extent()
289 err = strtoblk(argv[0], argv[1], "logical block", &extent.e_lblk); in do_replace_node()
365 err = strtoblk(cmd, argv[1], "logical block", &extent.e_lblk); in do_insert_node()
Ddebugfs.c712 extent.e_lblk, in dump_extents()
714 extent.e_lblk + (extent.e_len - 1), in dump_extents()
734 extent.e_lblk, in dump_extents()
736 extent.e_lblk + (extent.e_len - 1), in dump_extents()
753 extent.e_lblk, in dump_extents()
761 extent.e_lblk, in dump_extents()
762 extent.e_lblk + (extent.e_len - 1), in dump_extents()
/external/e2fsprogs/contrib/android/
Dfsmap.c48 for (; next_lblk < extent.e_lblk; next_lblk++) in ino_iter_extents()
52 for (; next_lblk < extent.e_lblk + extent.e_len; next_lblk++) in ino_iter_extents()
/external/e2fsprogs/misc/
Dmk_hugefiles.c352 newextent.e_lblk = lblk; in mk_hugefile()