Lines Matching refs:e_len
113 extent->e_lblk, extent->e_lblk + extent->e_len - 1, in dbg_print_extent()
114 extent->e_len, extent->e_pblk); in dbg_print_extent()
541 extent->e_len = ext2fs_le16_to_cpu(ex->ee_len); in ext2fs_extent_get()
543 if (extent->e_len > EXT_INIT_MAX_LEN) { in ext2fs_extent_get()
544 extent->e_len -= EXT_INIT_MAX_LEN; in ext2fs_extent_get()
557 extent->e_len = end_blk - extent->e_lblk; in ext2fs_extent_get()
688 (blk < extent.e_lblk + extent.e_len)) in ext2fs_extent_goto2()
805 extent.e_len += (extent.e_lblk - start); in ext2fs_extent_fix_parents()
851 if (extent->e_len > EXT_UNINIT_MAX_LEN) in ext2fs_extent_replace()
853 ex->ee_len = ext2fs_cpu_to_le16(extent->e_len + in ext2fs_extent_replace()
856 if (extent->e_len > EXT_INIT_MAX_LEN) in ext2fs_extent_replace()
858 ex->ee_len = ext2fs_cpu_to_le16(extent->e_len); in ext2fs_extent_replace()
1108 extent.e_len = handle->path[0].end_blk - extent.e_lblk; in extent_node_split()
1118 extent.e_len -= new_node_length; in extent_node_split()
1126 extent.e_len = new_node_length; in extent_node_split()
1295 newextent.e_len = 1; in ext2fs_extent_set_bmap()
1393 if ((logical == extent.e_lblk + extent.e_len) && in ext2fs_extent_set_bmap()
1394 (physical == extent.e_pblk + extent.e_len) && in ext2fs_extent_set_bmap()
1396 ((int) extent.e_len < max_len-1)) { in ext2fs_extent_set_bmap()
1397 extent.e_len++; in ext2fs_extent_set_bmap()
1402 ((int) extent.e_len < max_len - 1)) { in ext2fs_extent_set_bmap()
1403 extent.e_len++; in ext2fs_extent_set_bmap()
1411 ((int) next_extent.e_len < max_len - 1)) { in ext2fs_extent_set_bmap()
1417 next_extent.e_len++; in ext2fs_extent_set_bmap()
1431 } else if ((logical == extent.e_lblk) && (extent.e_len == 1)) { in ext2fs_extent_set_bmap()
1448 } else if (logical == extent.e_lblk + extent.e_len - 1) { in ext2fs_extent_set_bmap()
1457 ((int) next_extent.e_len < max_len - 1)) { in ext2fs_extent_set_bmap()
1462 next_extent.e_len++; in ext2fs_extent_set_bmap()
1492 extent.e_len--; in ext2fs_extent_set_bmap()
1503 prev_extent.e_len)) && in ext2fs_extent_set_bmap()
1505 prev_extent.e_len)) && in ext2fs_extent_set_bmap()
1507 ((int) prev_extent.e_len < max_len-1)) { in ext2fs_extent_set_bmap()
1512 prev_extent.e_len++; in ext2fs_extent_set_bmap()
1531 extent.e_len--; in ext2fs_extent_set_bmap()
1549 save_length = extent.e_len; in ext2fs_extent_set_bmap()
1553 extent.e_len = (logical - extent.e_lblk); in ext2fs_extent_set_bmap()
1571 extent.e_pblk += extent.e_len + 1; in ext2fs_extent_set_bmap()
1572 extent.e_lblk += extent.e_len + 1; in ext2fs_extent_set_bmap()
1573 extent.e_len = save_length - extent.e_len - 1; in ext2fs_extent_set_bmap()