Lines Matching refs:m_len

3290 	int allocated = map->m_len;  in ext4_split_extent()
3298 if (map->m_lblk + map->m_len < ee_block + ee_len) { in ext4_split_extent()
3307 map->m_lblk + map->m_len, split_flag1, flags1); in ext4_split_extent()
3381 unsigned int ee_len, depth, map_len = map->m_len; in ext4_ext_convert_to_initialized()
3550 split_map.m_len = map->m_len; in ext4_ext_convert_to_initialized()
3552 if (max_zeroout && (allocated > split_map.m_len)) { in ext4_ext_convert_to_initialized()
3557 split_map.m_len); in ext4_ext_convert_to_initialized()
3559 cpu_to_le16(allocated - split_map.m_len); in ext4_ext_convert_to_initialized()
3562 split_map.m_len - ee_block); in ext4_ext_convert_to_initialized()
3566 split_map.m_len = allocated; in ext4_ext_convert_to_initialized()
3568 if (split_map.m_lblk - ee_block + split_map.m_len < in ext4_ext_convert_to_initialized()
3582 split_map.m_len += split_map.m_lblk - ee_block; in ext4_ext_convert_to_initialized()
3584 allocated = map->m_len; in ext4_ext_convert_to_initialized()
3640 (unsigned long long)map->m_lblk, map->m_len); in ext4_split_convert_extents()
3644 if (eof_block < map->m_lblk + map->m_len) in ext4_split_convert_extents()
3645 eof_block = map->m_lblk + map->m_len; in ext4_split_convert_extents()
3694 if (ee_block != map->m_lblk || ee_len > map->m_len) { in ext4_convert_unwritten_extents_endio()
3699 (unsigned long long)map->m_lblk, map->m_len); in ext4_convert_unwritten_extents_endio()
3747 if (map->m_len > EXT_UNWRITTEN_MAX_LEN) in convert_initialized_extent()
3748 map->m_len = EXT_UNWRITTEN_MAX_LEN / 2; in convert_initialized_extent()
3758 if (ee_block != map->m_lblk || ee_len > map->m_len) { in convert_initialized_extent()
3795 if (*allocated > map->m_len) in convert_initialized_extent()
3796 *allocated = map->m_len; in convert_initialized_extent()
3797 map->m_len = *allocated; in convert_initialized_extent()
3812 (unsigned long long)map->m_lblk, map->m_len, flags, in ext4_ext_handle_unwritten_extents()
3840 map->m_len); in ext4_ext_handle_unwritten_extents()
3896 map->m_len); in ext4_ext_handle_unwritten_extents()
3908 if (allocated > map->m_len) in ext4_ext_handle_unwritten_extents()
3909 allocated = map->m_len; in ext4_ext_handle_unwritten_extents()
3910 map->m_len = allocated; in ext4_ext_handle_unwritten_extents()
3982 map->m_len = min(map->m_len, in get_implied_cluster_alloc()
3994 map->m_len = min(map->m_len, ee_block - map->m_lblk); in get_implied_cluster_alloc()
4007 map->m_len = min(map->m_len, next - map->m_lblk); in get_implied_cluster_alloc()
4050 ext_debug(inode, "blocks %u/%u requested\n", map->m_lblk, map->m_len); in ext4_ext_map_blocks()
4051 trace_ext4_ext_map_blocks_enter(inode, map->m_lblk, map->m_len, flags); in ext4_ext_map_blocks()
4112 if (allocated > map->m_len) in ext4_ext_map_blocks()
4113 allocated = map->m_len; in ext4_ext_map_blocks()
4114 map->m_len = allocated; in ext4_ext_map_blocks()
4149 map->m_len = min_t(unsigned int, map->m_len, hole_len); in ext4_ext_map_blocks()
4166 ar.len = allocated = map->m_len; in ext4_ext_map_blocks()
4185 ar.len = allocated = map->m_len; in ext4_ext_map_blocks()
4196 if (map->m_len > EXT_INIT_MAX_LEN && in ext4_ext_map_blocks()
4198 map->m_len = EXT_INIT_MAX_LEN; in ext4_ext_map_blocks()
4199 else if (map->m_len > EXT_UNWRITTEN_MAX_LEN && in ext4_ext_map_blocks()
4201 map->m_len = EXT_UNWRITTEN_MAX_LEN; in ext4_ext_map_blocks()
4204 newex.ee_len = cpu_to_le16(map->m_len); in ext4_ext_map_blocks()
4209 allocated = map->m_len; in ext4_ext_map_blocks()
4327 map->m_len = ar.len; in ext4_ext_map_blocks()
4328 allocated = map->m_len; in ext4_ext_map_blocks()
4395 map.m_len = len; in ext4_alloc_file_blocks()
4431 map.m_len, ret); in ext4_alloc_file_blocks()
4437 map.m_len = len = len - ret; in ext4_alloc_file_blocks()
4751 map.m_len = (max_blocks -= ret); in ext4_convert_unwritten_extents()
4767 map.m_len, ret); in ext4_convert_unwritten_extents()
5910 map.m_len = ((inode->i_size) >> inode->i_sb->s_blocksize_bits) - *cur; in skip_hole()
5915 *cur = *cur + map.m_len; in skip_hole()
5947 map.m_len = end - cur; in ext4_ext_replay_set_iblocks()
5953 cur = cur + map.m_len; in ext4_ext_replay_set_iblocks()
6041 map.m_len = end - cur; in ext4_ext_clear_bb()
6056 ext4_mb_mark_bb(inode->i_sb, map.m_pblk, map.m_len, 0); in ext4_ext_clear_bb()
6058 cur = cur + map.m_len; in ext4_ext_clear_bb()