Lines Matching refs:ee_block

142 			ext4_lblk_t ext_block = le32_to_cpu(ex->ee_block);  in ext4_ext_find_goal()
199 goal = ext4_ext_find_goal(inode, path, le32_to_cpu(ex->ee_block)); in ext4_ext_new_meta_block()
445 le32_to_cpu(path->p_ext->ee_block), in ext4_ext_show_path()
471 ext_debug("%d:[%d]%d:%llu ", le32_to_cpu(ex->ee_block), in ext4_ext_show_leaf()
581 if (block < le32_to_cpu(m->ee_block)) in ext4_ext_binsearch()
585 ext_debug("%p(%u):%p(%u):%p(%u) ", l, le32_to_cpu(l->ee_block), in ext4_ext_binsearch()
586 m, le32_to_cpu(m->ee_block), in ext4_ext_binsearch()
587 r, le32_to_cpu(r->ee_block)); in ext4_ext_binsearch()
592 le32_to_cpu(path->p_ext->ee_block), in ext4_ext_binsearch()
604 BUG_ON(k && le32_to_cpu(ex->ee_block) in ext4_ext_binsearch()
605 <= le32_to_cpu(ex[-1].ee_block)); in ext4_ext_binsearch()
606 if (block < le32_to_cpu(ex->ee_block)) in ext4_ext_binsearch()
819 border = path[depth].p_ext[1].ee_block; in ext4_ext_split()
824 border = newext->ee_block; in ext4_ext_split()
897 le32_to_cpu(path[depth].p_ext->ee_block), in ext4_ext_split()
981 le32_to_cpu(path[i].p_ext->ee_block)); in ext4_ext_split()
1120 EXT_FIRST_EXTENT(path[0].p_hdr)->ee_block; in ext4_ext_grow_indepth()
1171 (ext4_lblk_t)le32_to_cpu(newext->ee_block), in ext4_ext_create_new_leaf()
1184 (ext4_lblk_t)le32_to_cpu(newext->ee_block), in ext4_ext_create_new_leaf()
1237 if (*logical < le32_to_cpu(ex->ee_block)) { in ext4_ext_search_left()
1241 *logical, le32_to_cpu(ex->ee_block)); in ext4_ext_search_left()
1259 if (unlikely(*logical < (le32_to_cpu(ex->ee_block) + ee_len))) { in ext4_ext_search_left()
1262 *logical, le32_to_cpu(ex->ee_block), ee_len); in ext4_ext_search_left()
1266 *logical = le32_to_cpu(ex->ee_block) + ee_len - 1; in ext4_ext_search_left()
1306 if (*logical < le32_to_cpu(ex->ee_block)) { in ext4_ext_search_right()
1322 *logical = le32_to_cpu(ex->ee_block); in ext4_ext_search_right()
1327 if (unlikely(*logical < (le32_to_cpu(ex->ee_block) + ee_len))) { in ext4_ext_search_right()
1330 *logical, le32_to_cpu(ex->ee_block), ee_len); in ext4_ext_search_right()
1337 *logical = le32_to_cpu(ex->ee_block); in ext4_ext_search_right()
1382 *logical = le32_to_cpu(ex->ee_block); in ext4_ext_search_right()
1411 return le32_to_cpu(path[depth].p_ext[1].ee_block); in ext4_ext_next_allocated_block()
1492 border = path[depth].p_ext->ee_block; in ext4_ext_correct_indexes()
1538 if (le32_to_cpu(ex1->ee_block) + ext1_ee_len != in ext4_can_extents_be_merged()
1539 le32_to_cpu(ex2->ee_block)) in ext4_can_extents_be_merged()
1621 b1 = le32_to_cpu(newext->ee_block); in ext4_ext_check_overlap()
1626 b2 = le32_to_cpu(path[depth].p_ext->ee_block); in ext4_ext_check_overlap()
1689 le32_to_cpu(ex->ee_block), in ext4_ext_insert_extent()
1722 if (le32_to_cpu(newext->ee_block) > le32_to_cpu(fex->ee_block) in ext4_ext_insert_extent()
1761 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
1766 } else if (le32_to_cpu(newext->ee_block) in ext4_ext_insert_extent()
1767 > le32_to_cpu(nearex->ee_block)) { in ext4_ext_insert_extent()
1775 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
1784 BUG_ON(newext->ee_block == nearex->ee_block); in ext4_ext_insert_extent()
1789 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
1800 nearex->ee_block = newext->ee_block; in ext4_ext_insert_extent()
1868 } else if (le32_to_cpu(ex->ee_block) > block) { in ext4_ext_walk_space()
1871 end = le32_to_cpu(ex->ee_block); in ext4_ext_walk_space()
1874 } else if (block >= le32_to_cpu(ex->ee_block) in ext4_ext_walk_space()
1881 } else if (block >= le32_to_cpu(ex->ee_block)) { in ext4_ext_walk_space()
1887 end = le32_to_cpu(ex->ee_block) in ext4_ext_walk_space()
1902 cbex.ec_block = le32_to_cpu(ex->ee_block); in ext4_ext_walk_space()
1976 } else if (block < le32_to_cpu(ex->ee_block)) { in ext4_ext_put_gap_in_cache()
1978 len = le32_to_cpu(ex->ee_block) - block; in ext4_ext_put_gap_in_cache()
1981 le32_to_cpu(ex->ee_block), in ext4_ext_put_gap_in_cache()
1983 } else if (block >= le32_to_cpu(ex->ee_block) in ext4_ext_put_gap_in_cache()
1986 lblock = le32_to_cpu(ex->ee_block) in ext4_ext_put_gap_in_cache()
1991 le32_to_cpu(ex->ee_block), in ext4_ext_put_gap_in_cache()
2026 ex->ee_block = cpu_to_le32(cex->ec_block); in ext4_ext_in_cache()
2154 if (from >= le32_to_cpu(ex->ee_block) in ext4_remove_blocks()
2155 && to == le32_to_cpu(ex->ee_block) + ee_len - 1) { in ext4_remove_blocks()
2160 num = le32_to_cpu(ex->ee_block) + ee_len - from; in ext4_remove_blocks()
2164 } else if (from == le32_to_cpu(ex->ee_block) in ext4_remove_blocks()
2165 && to <= le32_to_cpu(ex->ee_block) + ee_len - 1) { in ext4_remove_blocks()
2167 from, to, le32_to_cpu(ex->ee_block), ee_len); in ext4_remove_blocks()
2171 from, to, le32_to_cpu(ex->ee_block), ee_len); in ext4_remove_blocks()
2202 ex_ee_block = le32_to_cpu(ex->ee_block); in ext4_ext_rm_leaf()
2276 ex->ee_block = cpu_to_le32(block); in ext4_ext_rm_leaf()
2292 ex_ee_block = le32_to_cpu(ex->ee_block); in ext4_ext_rm_leaf()
2553 ext4_lblk_t ee_block, eof_block; in ext4_ext_convert_to_initialized() local
2572 ee_block = le32_to_cpu(ex->ee_block); in ext4_ext_convert_to_initialized()
2574 allocated = ee_len - (map->m_lblk - ee_block); in ext4_ext_convert_to_initialized()
2575 newblock = map->m_lblk - ee_block + ext4_ext_pblock(ex); in ext4_ext_convert_to_initialized()
2578 orig_ex.ee_block = ex->ee_block; in ext4_ext_convert_to_initialized()
2586 may_zeroout = ee_block + ee_len <= eof_block; in ext4_ext_convert_to_initialized()
2597 ex->ee_block = orig_ex.ee_block; in ext4_ext_convert_to_initialized()
2606 if (map->m_lblk > ee_block) { in ext4_ext_convert_to_initialized()
2608 ex1->ee_len = cpu_to_le16(map->m_lblk - ee_block); in ext4_ext_convert_to_initialized()
2631 ex->ee_block = orig_ex.ee_block; in ext4_ext_convert_to_initialized()
2638 ex3->ee_block = cpu_to_le32(map->m_lblk); in ext4_ext_convert_to_initialized()
2647 ex->ee_block = orig_ex.ee_block; in ext4_ext_convert_to_initialized()
2695 ex3->ee_block = cpu_to_le32(map->m_lblk + map->m_len); in ext4_ext_convert_to_initialized()
2705 ex->ee_block = orig_ex.ee_block; in ext4_ext_convert_to_initialized()
2726 may_zeroout = ee_block + ee_len <= eof_block; in ext4_ext_convert_to_initialized()
2751 map->m_lblk != ee_block && may_zeroout) { in ext4_ext_convert_to_initialized()
2756 ex->ee_block = orig_ex.ee_block; in ext4_ext_convert_to_initialized()
2772 ex1->ee_len = cpu_to_le16(map->m_lblk - ee_block); in ext4_ext_convert_to_initialized()
2777 ex2->ee_block = cpu_to_le32(map->m_lblk); in ext4_ext_convert_to_initialized()
2825 ex->ee_block = orig_ex.ee_block; in ext4_ext_convert_to_initialized()
2838 ex->ee_block = orig_ex.ee_block; in ext4_ext_convert_to_initialized()
2878 ext4_lblk_t ee_block, eof_block; in ext4_split_unwritten_extents() local
2895 ee_block = le32_to_cpu(ex->ee_block); in ext4_split_unwritten_extents()
2897 allocated = ee_len - (map->m_lblk - ee_block); in ext4_split_unwritten_extents()
2898 newblock = map->m_lblk - ee_block + ext4_ext_pblock(ex); in ext4_split_unwritten_extents()
2901 orig_ex.ee_block = ex->ee_block; in ext4_split_unwritten_extents()
2909 may_zeroout = ee_block + ee_len <= eof_block; in ext4_split_unwritten_extents()
2916 if ((map->m_lblk == ee_block) && (allocated <= map->m_len)) in ext4_split_unwritten_extents()
2923 if (map->m_lblk > ee_block) { in ext4_split_unwritten_extents()
2925 ex1->ee_len = cpu_to_le16(map->m_lblk - ee_block); in ext4_split_unwritten_extents()
2940 ex3->ee_block = cpu_to_le32(map->m_lblk + map->m_len); in ext4_split_unwritten_extents()
2950 ex->ee_block = orig_ex.ee_block; in ext4_split_unwritten_extents()
2971 may_zeroout = ee_block + ee_len <= eof_block; in ext4_split_unwritten_extents()
2997 ex1->ee_len = cpu_to_le16(map->m_lblk - ee_block); in ext4_split_unwritten_extents()
3005 ex2->ee_block = cpu_to_le32(map->m_lblk); in ext4_split_unwritten_extents()
3022 ex->ee_block = orig_ex.ee_block; in ext4_split_unwritten_extents()
3035 ex->ee_block = orig_ex.ee_block; in ext4_split_unwritten_extents()
3138 if (lblk + len < le32_to_cpu(last_ex->ee_block) + in check_eofblocks_fl()
3326 - le32_to_cpu(newex.ee_block) in ext4_ext_map_blocks()
3330 (map->m_lblk - le32_to_cpu(newex.ee_block)); in ext4_ext_map_blocks()
3361 ext4_lblk_t ee_block = le32_to_cpu(ex->ee_block); in ext4_ext_map_blocks() local
3371 if (in_range(map->m_lblk, ee_block, ee_len)) { in ext4_ext_map_blocks()
3372 newblock = map->m_lblk - ee_block + ee_start; in ext4_ext_map_blocks()
3374 allocated = ee_len - (map->m_lblk - ee_block); in ext4_ext_map_blocks()
3376 ee_block, ee_len, newblock); in ext4_ext_map_blocks()
3380 ext4_ext_put_in_cache(inode, ee_block, in ext4_ext_map_blocks()
3431 newex.ee_block = cpu_to_le32(map->m_lblk); in ext4_ext_map_blocks()