Home
last modified time | relevance | path

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

/third_party/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()
544 extent->e_lblk = ext2fs_le32_to_cpu(ex->ee_block); in ext2fs_extent_get()
554 extent->e_lblk = ext2fs_le32_to_cpu(ix->ei_block); in ext2fs_extent_get()
561 extent->e_len = end_blk - extent->e_lblk; in ext2fs_extent_get()
635 save_path->lblk = extent.e_lblk;
691 if ((blk >= extent.e_lblk) && in ext2fs_extent_goto2()
692 (blk < extent.e_lblk + extent.e_len)) in ext2fs_extent_goto2()
694 if (blk < extent.e_lblk) { in ext2fs_extent_goto2()
720 if (blk == extent.e_lblk) in ext2fs_extent_goto2()
722 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.h425 blk64_t e_lblk; /* first logical block extent covers */ member
/third_party/e2fsprogs/e2fsck/
Djournal.c398 #define ex_end(__ex) ((__ex)->e_lblk + (__ex)->e_len - 1)
425 if (ex1->e_lblk < ex2->e_lblk) in ex_compar()
427 if (ex1->e_lblk > ex2->e_lblk) in ex_compar()
440 if (ex1->e_lblk > ex2->e_lblk) in ex_len_compar()
474 if (ex_end(&list->extents[i]) + 1 != list->extents[i + 1].e_lblk || in ex_sort_and_merge()
499 if (ex_end(&list->extents[i]) < add_ex.e_lblk) in ext4_modify_extent_list()
503 if (list->extents[i].e_lblk > ex_end(&add_ex)) in ext4_modify_extent_list()
512 if (list->extents[i].e_lblk < add_ex.e_lblk && in ext4_modify_extent_list()
518 offset = ex_end(&add_ex) + 1 - list->extents[i].e_lblk; in ext4_modify_extent_list()
519 list->extents[i + 1].e_lblk += offset; in ext4_modify_extent_list()
[all …]
Dextents.c99 last->e_lblk + last->e_len == extent.e_lblk && in load_extents()
126 extent.e_pblk, extent.e_lblk, extent.e_len); in load_extents()
164 if (last->e_lblk + last->e_len == (__u64) blockcnt && in find_blocks()
187 list->extents[list->count].e_lblk = blockcnt; in find_blocks()
239 ex->e_lblk += EXT_UNINIT_MAX_LEN; in rewrite_extent_replay()
248 ex->e_lblk += EXT_INIT_MAX_LEN; in rewrite_extent_replay()
257 extent.e_pblk, extent.e_lblk, extent.e_len); in rewrite_extent_replay()
Dpass1.c222 (extent.e_lblk != 0) || in e2fsck_pass1_check_symlink()
2865 last_lblk = extent.e_lblk + extent.e_len - 1; in scan_extent_node()
2869 pctx->blk2 = extent.e_lblk; in scan_extent_node()
2871 pctx->blkcount = extent.e_lblk + extent.e_len; in scan_extent_node()
2877 else if (extent.e_lblk < start_block) in scan_extent_node()
2892 ((extent.e_lblk + extent.e_len) > in scan_extent_node()
2901 (unsigned long long) extent.e_lblk, in scan_extent_node()
2904 if (extent.e_lblk < pb->next_lblock) in scan_extent_node()
2906 else if (extent.e_lblk + extent.e_len > pb->next_lblock) in scan_extent_node()
2907 pb->next_lblock = extent.e_lblk + extent.e_len; in scan_extent_node()
[all …]
/third_party/e2fsprogs/debugfs/
Dextent_inode.c36 (unsigned long long) extent->e_lblk, in dbg_print_extent()
37 (unsigned long long) extent->e_lblk + extent->e_len - 1, in dbg_print_extent()
290 err = strtoblk(argv[0], argv[1], "logical block", &extent.e_lblk); in do_replace_node()
366 err = strtoblk(cmd, argv[1], "logical block", &extent.e_lblk); in do_insert_node()
Ddebugfs.c727 (unsigned long long) extent.e_lblk, in dump_extents()
729 (unsigned long long) extent.e_lblk + (extent.e_len - 1), in dump_extents()
749 (unsigned long long) extent.e_lblk, in dump_extents()
751 (unsigned long long) extent.e_lblk + (extent.e_len - 1), in dump_extents()
768 (unsigned long long) extent.e_lblk, in dump_extents()
776 (unsigned long long) extent.e_lblk, in dump_extents()
777 (unsigned long long) extent.e_lblk + (extent.e_len - 1), in dump_extents()
/third_party/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()
/third_party/e2fsprogs/misc/
Dmk_hugefiles.c353 newextent.e_lblk = lblk; in mk_hugefile()