• Home
  • Raw
  • Download

Lines Matching refs:ee_len

1423 	int depth, ee_len;  in ext4_ext_search_left()  local
1440 ee_len = ext4_ext_get_actual_len(ex); in ext4_ext_search_left()
1463 if (unlikely(*logical < (le32_to_cpu(ex->ee_block) + ee_len))) { in ext4_ext_search_left()
1466 *logical, le32_to_cpu(ex->ee_block), ee_len); in ext4_ext_search_left()
1470 *logical = le32_to_cpu(ex->ee_block) + ee_len - 1; in ext4_ext_search_left()
1471 *phys = ext4_ext_pblock(ex) + ee_len - 1; in ext4_ext_search_left()
1493 int ee_len; in ext4_ext_search_right() local
1510 ee_len = ext4_ext_get_actual_len(ex); in ext4_ext_search_right()
1530 if (unlikely(*logical < (le32_to_cpu(ex->ee_block) + ee_len))) { in ext4_ext_search_right()
1533 *logical, le32_to_cpu(ex->ee_block), ee_len); in ext4_ext_search_right()
1782 ex->ee_len = cpu_to_le16(ext4_ext_get_actual_len(ex) in ext4_ext_try_to_merge_right()
1910 newext->ee_len = cpu_to_le16(len1); in ext4_ext_check_overlap()
1916 newext->ee_len = cpu_to_le16(b2 - b1); in ext4_ext_check_overlap()
1993 ex->ee_len = cpu_to_le16(ext4_ext_get_actual_len(ex) in ext4_ext_insert_extent()
2022 ex->ee_len = cpu_to_le16(ext4_ext_get_actual_len(ex) in ext4_ext_insert_extent()
2129 nearex->ee_len = newext->ee_len; in ext4_ext_insert_extent()
2484 unsigned short ee_len = ext4_ext_get_actual_len(ex); in ext4_remove_blocks() local
2503 pblk = ext4_ext_pblock(ex) + ee_len - 1; in ext4_remove_blocks()
2516 sbi->s_ext_blocks += ee_len; in ext4_remove_blocks()
2518 if (ee_len < sbi->s_ext_min) in ext4_remove_blocks()
2519 sbi->s_ext_min = ee_len; in ext4_remove_blocks()
2520 if (ee_len > sbi->s_ext_max) in ext4_remove_blocks()
2521 sbi->s_ext_max = ee_len; in ext4_remove_blocks()
2528 && to == le32_to_cpu(ex->ee_block) + ee_len - 1) { in ext4_remove_blocks()
2533 num = le32_to_cpu(ex->ee_block) + ee_len - from; in ext4_remove_blocks()
2534 pblk = ext4_ext_pblock(ex) + ee_len - num; in ext4_remove_blocks()
2560 if (unaligned && (ee_len == num) && in ext4_remove_blocks()
2570 from, to, le32_to_cpu(ex->ee_block), ee_len); in ext4_remove_blocks()
2726 ex->ee_len = cpu_to_le16(num); in ext4_ext_rm_leaf()
3091 unsigned int ee_len; in ext4_zeroout_es() local
3094 ee_len = ext4_ext_get_actual_len(ex); in ext4_zeroout_es()
3097 if (ee_len == 0) in ext4_zeroout_es()
3100 return ext4_es_insert_extent(inode, ee_block, ee_len, ee_pblock, in ext4_zeroout_es()
3108 unsigned int ee_len; in ext4_ext_zeroout() local
3111 ee_len = ext4_ext_get_actual_len(ex); in ext4_ext_zeroout()
3117 ret = sb_issue_zeroout(inode->i_sb, ee_pblock, ee_len, GFP_NOFS); in ext4_ext_zeroout()
3157 unsigned int ee_len, depth; in ext4_split_extent_at() local
3171 ee_len = ext4_ext_get_actual_len(ex); in ext4_split_extent_at()
3174 BUG_ON(split < ee_block || split >= (ee_block + ee_len)); in ext4_split_extent_at()
3204 ex->ee_len = cpu_to_le16(split - ee_block); in ext4_split_extent_at()
3218 ex2->ee_len = cpu_to_le16(ee_len - (split - ee_block)); in ext4_split_extent_at()
3229 zero_ex.ee_len = cpu_to_le16( in ext4_split_extent_at()
3236 zero_ex.ee_len = cpu_to_le16( in ext4_split_extent_at()
3244 zero_ex.ee_len = cpu_to_le16( in ext4_split_extent_at()
3253 ex->ee_len = cpu_to_le16(ee_len); in ext4_split_extent_at()
3271 ex->ee_len = orig_ex.ee_len; in ext4_split_extent_at()
3297 unsigned int ee_len, depth; in ext4_split_extent() local
3306 ee_len = ext4_ext_get_actual_len(ex); in ext4_split_extent()
3309 if (map->m_lblk + map->m_len < ee_block + ee_len) { in ext4_split_extent()
3322 allocated = ee_len - (map->m_lblk - ee_block); in ext4_split_extent()
3392 unsigned int ee_len, depth, map_len = map->m_len; in ext4_ext_convert_to_initialized() local
3411 ee_len = ext4_ext_get_actual_len(ex); in ext4_ext_convert_to_initialized()
3412 zero_ex.ee_len = 0; in ext4_ext_convert_to_initialized()
3418 BUG_ON(!in_range(map->m_lblk, ee_block, ee_len)); in ext4_ext_convert_to_initialized()
3437 (map_len < ee_len) && /*L1*/ in ext4_ext_convert_to_initialized()
3472 ex->ee_len = cpu_to_le16(ee_len - map_len); in ext4_ext_convert_to_initialized()
3476 abut_ex->ee_len = cpu_to_le16(prev_len + map_len); in ext4_ext_convert_to_initialized()
3481 } else if (((map->m_lblk + map_len) == (ee_block + ee_len)) && in ext4_ext_convert_to_initialized()
3482 (map_len < ee_len) && /*L1*/ in ext4_ext_convert_to_initialized()
3506 ((ee_pblk + ee_len) == next_pblk) && /*C3*/ in ext4_ext_convert_to_initialized()
3518 ex->ee_len = cpu_to_le16(ee_len - map_len); in ext4_ext_convert_to_initialized()
3522 abut_ex->ee_len = cpu_to_le16(next_len + map_len); in ext4_ext_convert_to_initialized()
3536 allocated = ee_len - (map->m_lblk - ee_block); in ext4_ext_convert_to_initialized()
3543 split_flag |= ee_block + ee_len <= eof_block ? EXT4_EXT_MAY_ZEROOUT : 0; in ext4_ext_convert_to_initialized()
3550 if (max_zeroout && (ee_len <= max_zeroout)) { in ext4_ext_convert_to_initialized()
3555 zero_ex.ee_len = cpu_to_le16(ext4_ext_get_actual_len(ex)); in ext4_ext_convert_to_initialized()
3582 zero_ex.ee_len = cpu_to_le16(allocated); in ext4_ext_convert_to_initialized()
3594 zero_ex.ee_len = cpu_to_le16(map->m_lblk - in ext4_ext_convert_to_initialized()
3654 unsigned int ee_len; in ext4_split_convert_extents() local
3672 ee_len = ext4_ext_get_actual_len(ex); in ext4_split_convert_extents()
3679 split_flag |= ee_block + ee_len <= eof_block ? in ext4_split_convert_extents()
3695 unsigned int ee_len; in ext4_convert_unwritten_extents_endio() local
3702 ee_len = ext4_ext_get_actual_len(ex); in ext4_convert_unwritten_extents_endio()
3706 (unsigned long long)ee_block, ee_len); in ext4_convert_unwritten_extents_endio()
3714 if (ee_block != map->m_lblk || ee_len > map->m_len) { in ext4_convert_unwritten_extents_endio()
3718 inode->i_ino, (unsigned long long)ee_block, ee_len, in ext4_convert_unwritten_extents_endio()
3928 unsigned int ee_len; in convert_initialized_extent() local
3942 ee_len = ext4_ext_get_actual_len(ex); in convert_initialized_extent()
3946 (unsigned long long)ee_block, ee_len); in convert_initialized_extent()
3948 if (ee_block != map->m_lblk || ee_len > map->m_len) { in convert_initialized_extent()
4190 unsigned short ee_len = ext4_ext_get_actual_len(ex); in get_implied_cluster_alloc() local
4194 ex_cluster_end = EXT4_B2C(sbi, ee_block + ee_len - 1); in get_implied_cluster_alloc()
4202 ee_start += ee_len - 1; in get_implied_cluster_alloc()
4306 unsigned short ee_len; in ext4_ext_map_blocks() local
4313 ee_len = ext4_ext_get_actual_len(ex); in ext4_ext_map_blocks()
4315 trace_ext4_ext_show_extent(inode, ee_block, ee_start, ee_len); in ext4_ext_map_blocks()
4318 if (in_range(map->m_lblk, ee_block, ee_len)) { in ext4_ext_map_blocks()
4321 allocated = ee_len - (map->m_lblk - ee_block); in ext4_ext_map_blocks()
4323 ee_block, ee_len, newblock); in ext4_ext_map_blocks()
4421 newex.ee_len = cpu_to_le16(map->m_len); in ext4_ext_map_blocks()
4467 newex.ee_len = cpu_to_le16(ar.len); in ext4_ext_map_blocks()
5678 ex1->ee_len = cpu_to_le16(e2_len); in ext4_swap_extents()
5679 ex2->ee_len = cpu_to_le16(e1_len); in ext4_swap_extents()