• Home
  • Raw
  • Download

Lines Matching refs:ee_block

238 			ext4_lblk_t ext_block = le32_to_cpu(ex->ee_block);  in ext4_ext_find_goal()
266 goal = ext4_ext_find_goal(inode, path, le32_to_cpu(ex->ee_block)); in ext4_ext_new_meta_block()
367 ext4_lblk_t lblock = le32_to_cpu(ext->ee_block); in ext4_valid_extent()
410 lblk != le32_to_cpu(ext->ee_block)) in ext4_valid_extent_entries()
417 lblock = le32_to_cpu(ext->ee_block); in ext4_valid_extent_entries()
532 ext4_lblk_t lblk = le32_to_cpu(ex->ee_block); in ext4_cache_extents()
675 le32_to_cpu(path->p_ext->ee_block), in ext4_ext_show_path()
701 ext_debug(inode, "%d:[%d]%d:%llu ", le32_to_cpu(ex->ee_block), in ext4_ext_show_leaf()
730 le32_to_cpu(ex->ee_block), in ext4_ext_show_move()
834 le32_to_cpu(l->ee_block), m, le32_to_cpu(m->ee_block), in ext4_ext_binsearch()
835 r, le32_to_cpu(r->ee_block)); in ext4_ext_binsearch()
837 if (block < le32_to_cpu(m->ee_block)) in ext4_ext_binsearch()
845 le32_to_cpu(path->p_ext->ee_block), in ext4_ext_binsearch()
857 BUG_ON(k && le32_to_cpu(ex->ee_block) in ext4_ext_binsearch()
858 <= le32_to_cpu(ex[-1].ee_block)); in ext4_ext_binsearch()
859 if (block < le32_to_cpu(ex->ee_block)) in ext4_ext_binsearch()
1082 border = path[depth].p_ext[1].ee_block; in ext4_ext_split()
1087 border = newext->ee_block; in ext4_ext_split()
1235 le32_to_cpu(path[i].p_ext->ee_block)); in ext4_ext_split()
1378 EXT_FIRST_EXTENT(neh)->ee_block; in ext4_ext_grow_indepth()
1429 (ext4_lblk_t)le32_to_cpu(newext->ee_block), in ext4_ext_create_new_leaf()
1441 (ext4_lblk_t)le32_to_cpu(newext->ee_block), in ext4_ext_create_new_leaf()
1494 if (*logical < le32_to_cpu(ex->ee_block)) { in ext4_ext_search_left()
1498 *logical, le32_to_cpu(ex->ee_block)); in ext4_ext_search_left()
1515 if (unlikely(*logical < (le32_to_cpu(ex->ee_block) + ee_len))) { in ext4_ext_search_left()
1518 *logical, le32_to_cpu(ex->ee_block), ee_len); in ext4_ext_search_left()
1522 *logical = le32_to_cpu(ex->ee_block) + ee_len - 1; in ext4_ext_search_left()
1562 if (*logical < le32_to_cpu(ex->ee_block)) { in ext4_ext_search_right()
1581 if (unlikely(*logical < (le32_to_cpu(ex->ee_block) + ee_len))) { in ext4_ext_search_right()
1584 *logical, le32_to_cpu(ex->ee_block), ee_len); in ext4_ext_search_right()
1625 *logical = le32_to_cpu(ex->ee_block); in ext4_ext_search_right()
1658 return le32_to_cpu(p->p_ext[1].ee_block); in ext4_ext_next_allocated_block()
1737 border = path[depth].p_ext->ee_block; in ext4_ext_correct_indexes()
1774 if (le32_to_cpu(ex1->ee_block) + ext1_ee_len != in ext4_can_extents_be_merged()
1775 le32_to_cpu(ex2->ee_block)) in ext4_can_extents_be_merged()
1927 b1 = le32_to_cpu(newext->ee_block); in ext4_ext_check_overlap()
1932 b2 = EXT4_LBLK_CMASK(sbi, le32_to_cpu(path[depth].p_ext->ee_block)); in ext4_ext_check_overlap()
2005 (le32_to_cpu(ex->ee_block) + in ext4_ext_insert_extent()
2007 le32_to_cpu(newext->ee_block))) { in ext4_ext_insert_extent()
2011 (le32_to_cpu(newext->ee_block) + in ext4_ext_insert_extent()
2013 le32_to_cpu(ex->ee_block))) in ext4_ext_insert_extent()
2022 le32_to_cpu(ex->ee_block), in ext4_ext_insert_extent()
2044 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2047 le32_to_cpu(ex->ee_block), in ext4_ext_insert_extent()
2057 ex->ee_block = newext->ee_block; in ext4_ext_insert_extent()
2076 if (le32_to_cpu(newext->ee_block) > le32_to_cpu(fex->ee_block)) in ext4_ext_insert_extent()
2119 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2125 if (le32_to_cpu(newext->ee_block) in ext4_ext_insert_extent()
2126 > le32_to_cpu(nearex->ee_block)) { in ext4_ext_insert_extent()
2130 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2138 BUG_ON(newext->ee_block == nearex->ee_block); in ext4_ext_insert_extent()
2141 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2151 le32_to_cpu(newext->ee_block), in ext4_ext_insert_extent()
2163 nearex->ee_block = newext->ee_block; in ext4_ext_insert_extent()
2257 } else if (*lblk < le32_to_cpu(ex->ee_block)) { in ext4_ext_find_hole()
2258 len = le32_to_cpu(ex->ee_block) - *lblk; in ext4_ext_find_hole()
2259 } else if (*lblk >= le32_to_cpu(ex->ee_block) in ext4_ext_find_hole()
2263 *lblk = le32_to_cpu(ex->ee_block) + ext4_ext_get_actual_len(ex); in ext4_ext_find_hole()
2442 if (from < le32_to_cpu(ex->ee_block) || in ext4_remove_blocks()
2443 to != le32_to_cpu(ex->ee_block) + ee_len - 1) { in ext4_remove_blocks()
2446 from, to, le32_to_cpu(ex->ee_block), ee_len); in ext4_remove_blocks()
2486 num = le32_to_cpu(ex->ee_block) + ee_len - from; in ext4_remove_blocks()
2597 ex_ee_block = le32_to_cpu(ex->ee_block); in ext4_ext_rm_leaf()
2635 ex_ee_block = le32_to_cpu(ex->ee_block); in ext4_ext_rm_leaf()
2730 ex_ee_block = le32_to_cpu(ex->ee_block); in ext4_ext_rm_leaf()
2825 ext4_lblk_t ee_block, ex_end, lblk; in ext4_ext_remove_space() local
2848 ee_block = le32_to_cpu(ex->ee_block); in ext4_ext_remove_space()
2849 ex_end = ee_block + ext4_ext_get_actual_len(ex) - 1; in ext4_ext_remove_space()
2857 if (end >= ee_block && end < ex_end) { in ext4_ext_remove_space()
2865 pblk = ext4_ext_pblock(ex) + end - ee_block + 1; in ext4_ext_remove_space()
3105 ext4_lblk_t ee_block; in ext4_zeroout_es() local
3109 ee_block = le32_to_cpu(ex->ee_block); in ext4_zeroout_es()
3116 return ext4_es_insert_extent(inode, ee_block, ee_len, ee_pblock, in ext4_zeroout_es()
3128 return ext4_issue_zeroout(inode, le32_to_cpu(ex->ee_block), ee_pblock, in ext4_ext_zeroout()
3162 ext4_lblk_t ee_block; in ext4_split_extent_at() local
3177 ee_block = le32_to_cpu(ex->ee_block); in ext4_split_extent_at()
3179 newblock = split - ee_block + ext4_ext_pblock(ex); in ext4_split_extent_at()
3181 BUG_ON(split < ee_block || split >= (ee_block + ee_len)); in ext4_split_extent_at()
3191 if (split == ee_block) { in ext4_split_extent_at()
3211 ex->ee_len = cpu_to_le16(split - ee_block); in ext4_split_extent_at()
3224 ex2->ee_block = cpu_to_le32(split); in ext4_split_extent_at()
3225 ex2->ee_len = cpu_to_le16(ee_len - (split - ee_block)); in ext4_split_extent_at()
3238 zero_ex.ee_block = ex2->ee_block; in ext4_split_extent_at()
3245 zero_ex.ee_block = ex->ee_block; in ext4_split_extent_at()
3253 zero_ex.ee_block = orig_ex.ee_block; in ext4_split_extent_at()
3309 ext4_lblk_t ee_block; in ext4_split_extent() local
3319 ee_block = le32_to_cpu(ex->ee_block); in ext4_split_extent()
3323 if (map->m_lblk + map->m_len < ee_block + ee_len) { in ext4_split_extent()
3336 allocated = ee_len - (map->m_lblk - ee_block); in ext4_split_extent()
3354 if (map->m_lblk >= ee_block) { in ext4_split_extent()
3404 ext4_lblk_t ee_block, eof_block; in ext4_ext_convert_to_initialized() local
3422 ee_block = le32_to_cpu(ex->ee_block); in ext4_ext_convert_to_initialized()
3431 BUG_ON(!in_range(map->m_lblk, ee_block, ee_len)); in ext4_ext_convert_to_initialized()
3448 if ((map->m_lblk == ee_block) && in ext4_ext_convert_to_initialized()
3457 prev_lblk = le32_to_cpu(abut_ex->ee_block); in ext4_ext_convert_to_initialized()
3472 ((prev_lblk + prev_len) == ee_block) && /*C2*/ in ext4_ext_convert_to_initialized()
3483 ex->ee_block = cpu_to_le32(ee_block + map_len); in ext4_ext_convert_to_initialized()
3494 } else if (((map->m_lblk + map_len) == (ee_block + ee_len)) && in ext4_ext_convert_to_initialized()
3503 next_lblk = le32_to_cpu(abut_ex->ee_block); in ext4_ext_convert_to_initialized()
3529 abut_ex->ee_block = cpu_to_le32(next_lblk - map_len); in ext4_ext_convert_to_initialized()
3549 allocated = ee_len - (map->m_lblk - ee_block); in ext4_ext_convert_to_initialized()
3551 WARN_ON(map->m_lblk < ee_block); in ext4_ext_convert_to_initialized()
3556 split_flag |= ee_block + ee_len <= eof_block ? EXT4_EXT_MAY_ZEROOUT : 0; in ext4_ext_convert_to_initialized()
3579 zero_ex1.ee_block = in ext4_ext_convert_to_initialized()
3586 split_map.m_len - ee_block); in ext4_ext_convert_to_initialized()
3592 if (split_map.m_lblk - ee_block + split_map.m_len < in ext4_ext_convert_to_initialized()
3595 if (split_map.m_lblk != ee_block) { in ext4_ext_convert_to_initialized()
3596 zero_ex2.ee_block = ex->ee_block; in ext4_ext_convert_to_initialized()
3598 ee_block); in ext4_ext_convert_to_initialized()
3606 split_map.m_len += split_map.m_lblk - ee_block; in ext4_ext_convert_to_initialized()
3607 split_map.m_lblk = ee_block; in ext4_ext_convert_to_initialized()
3659 ext4_lblk_t ee_block; in ext4_split_convert_extents() local
3677 ee_block = le32_to_cpu(ex->ee_block); in ext4_split_convert_extents()
3685 split_flag |= ee_block + ee_len <= eof_block ? in ext4_split_convert_extents()
3700 ext4_lblk_t ee_block; in ext4_convert_unwritten_extents_endio() local
3707 ee_block = le32_to_cpu(ex->ee_block); in ext4_convert_unwritten_extents_endio()
3711 (unsigned long long)ee_block, ee_len); in ext4_convert_unwritten_extents_endio()
3719 if (ee_block != map->m_lblk || ee_len > map->m_len) { in ext4_convert_unwritten_extents_endio()
3723 inode->i_ino, (unsigned long long)ee_block, ee_len, in ext4_convert_unwritten_extents_endio()
3763 ext4_lblk_t ee_block; in convert_initialized_extent() local
3777 ee_block = le32_to_cpu(ex->ee_block); in convert_initialized_extent()
3781 (unsigned long long)ee_block, ee_len); in convert_initialized_extent()
3783 if (ee_block != map->m_lblk || ee_len > map->m_len) { in convert_initialized_extent()
3991 ext4_lblk_t ee_block = le32_to_cpu(ex->ee_block); in get_implied_cluster_alloc() local
3996 ex_cluster_start = EXT4_B2C(sbi, ee_block); in get_implied_cluster_alloc()
3997 ex_cluster_end = EXT4_B2C(sbi, ee_block + ee_len - 1); in get_implied_cluster_alloc()
4018 if (map->m_lblk < ee_block) in get_implied_cluster_alloc()
4019 map->m_len = min(map->m_len, ee_block - map->m_lblk); in get_implied_cluster_alloc()
4030 if (map->m_lblk > ee_block) { in get_implied_cluster_alloc()
4167 ext4_lblk_t ee_block = le32_to_cpu(ex->ee_block); in ext4_ext_map_blocks() local
4178 trace_ext4_ext_show_extent(inode, ee_block, ee_start, ee_len); in ext4_ext_map_blocks()
4181 if (in_range(map->m_lblk, ee_block, ee_len)) { in ext4_ext_map_blocks()
4182 newblock = map->m_lblk - ee_block + ee_start; in ext4_ext_map_blocks()
4184 allocated = ee_len - (map->m_lblk - ee_block); in ext4_ext_map_blocks()
4186 map->m_lblk, ee_block, ee_len, newblock); in ext4_ext_map_blocks()
4235 newex.ee_block = cpu_to_le32(map->m_lblk); in ext4_ext_map_blocks()
5095 le32_add_cpu(&ex_start->ee_block, in ext4_ext_shift_path_extents()
5107 le32_add_cpu(&ex_last->ee_block, shift); in ext4_ext_shift_path_extents()
5174 stop = le32_to_cpu(extent->ee_block); in ext4_ext_shift_extents()
5189 ex_start = le32_to_cpu(extent->ee_block); in ext4_ext_shift_extents()
5190 ex_end = le32_to_cpu(extent->ee_block) + in ext4_ext_shift_extents()
5243 le32_to_cpu(extent->ee_block)) { in ext4_ext_shift_extents()
5256 *iterator = le32_to_cpu(extent->ee_block) + in ext4_ext_shift_extents()
5260 if (le32_to_cpu(extent->ee_block) > start) in ext4_ext_shift_extents()
5261 *iterator = le32_to_cpu(extent->ee_block) - 1; in ext4_ext_shift_extents()
5262 else if (le32_to_cpu(extent->ee_block) == start) in ext4_ext_shift_extents()
5266 while (le32_to_cpu(extent->ee_block) >= start) in ext4_ext_shift_extents()
5559 ee_start_lblk = le32_to_cpu(extent->ee_block); in ext4_insert_range()
5684 e1_blk = le32_to_cpu(ex1->ee_block); in ext4_swap_extents()
5685 e2_blk = le32_to_cpu(ex2->ee_block); in ext4_swap_extents()
5870 first_lblk = le32_to_cpu(extent->ee_block); in ext4_clu_mapped()
5921 if (le32_to_cpu(ex->ee_block) != start || in ext4_ext_replay_update_ex()
5936 WARN_ON(le32_to_cpu(ex->ee_block) != start); in ext4_ext_replay_update_ex()
5983 cur = le32_to_cpu(ex->ee_block) + ext4_ext_get_actual_len(ex); in ext4_ext_replay_shrink_inode()
6033 end = le32_to_cpu(ex->ee_block) + ext4_ext_get_actual_len(ex); in ext4_ext_replay_set_iblocks()
6074 cur = max(cur + 1, le32_to_cpu(ex->ee_block) + in ext4_ext_replay_set_iblocks()
6128 end = le32_to_cpu(ex->ee_block) + ext4_ext_get_actual_len(ex); in ext4_ext_clear_bb()