Lines Matching refs:m_lblk
3344 if (map->m_lblk + map->m_len < ee_block + ee_len) { in ext4_split_extent()
3353 map->m_lblk + map->m_len, split_flag1, flags1); in ext4_split_extent()
3357 allocated = ee_len - (map->m_lblk - ee_block); in ext4_split_extent()
3363 path = ext4_find_extent(inode, map->m_lblk, ppath, flags); in ext4_split_extent()
3370 (unsigned long) map->m_lblk); in ext4_split_extent()
3375 if (map->m_lblk >= ee_block) { in ext4_split_extent()
3383 map->m_lblk, split_flag1, flags); in ext4_split_extent()
3433 (unsigned long long)map->m_lblk, map_len); in ext4_ext_convert_to_initialized()
3438 if (eof_block < map->m_lblk + map_len) in ext4_ext_convert_to_initialized()
3439 eof_block = map->m_lblk + map_len; in ext4_ext_convert_to_initialized()
3453 BUG_ON(!in_range(map->m_lblk, ee_block, ee_len)); in ext4_ext_convert_to_initialized()
3470 if ((map->m_lblk == ee_block) && in ext4_ext_convert_to_initialized()
3516 } else if (((map->m_lblk + map_len) == (ee_block + ee_len)) && in ext4_ext_convert_to_initialized()
3540 ((map->m_lblk + map_len) == next_lblk) && /*C2*/ in ext4_ext_convert_to_initialized()
3571 allocated = ee_len - (map->m_lblk - ee_block); in ext4_ext_convert_to_initialized()
3573 WARN_ON(map->m_lblk < ee_block); in ext4_ext_convert_to_initialized()
3595 split_map.m_lblk = map->m_lblk; in ext4_ext_convert_to_initialized()
3602 cpu_to_le32(split_map.m_lblk + in ext4_ext_convert_to_initialized()
3607 ext4_ext_pblock(ex) + split_map.m_lblk + in ext4_ext_convert_to_initialized()
3614 if (split_map.m_lblk - ee_block + split_map.m_len < in ext4_ext_convert_to_initialized()
3617 if (split_map.m_lblk != ee_block) { in ext4_ext_convert_to_initialized()
3619 zero_ex2.ee_len = cpu_to_le16(split_map.m_lblk - in ext4_ext_convert_to_initialized()
3628 split_map.m_len += split_map.m_lblk - ee_block; in ext4_ext_convert_to_initialized()
3629 split_map.m_lblk = ee_block; in ext4_ext_convert_to_initialized()
3686 (unsigned long long)map->m_lblk, map->m_len); in ext4_split_convert_extents()
3690 if (eof_block < map->m_lblk + map->m_len) in ext4_split_convert_extents()
3691 eof_block = map->m_lblk + map->m_len; in ext4_split_convert_extents()
3740 if (ee_block != map->m_lblk || ee_len > map->m_len) { in ext4_convert_unwritten_extents_endio()
3745 (unsigned long long)map->m_lblk, map->m_len); in ext4_convert_unwritten_extents_endio()
3751 path = ext4_find_extent(inode, map->m_lblk, ppath, 0); in ext4_convert_unwritten_extents_endio()
3804 if (ee_block != map->m_lblk || ee_len > map->m_len) { in convert_initialized_extent()
3809 path = ext4_find_extent(inode, map->m_lblk, ppath, 0); in convert_initialized_extent()
3816 (unsigned long) map->m_lblk); in convert_initialized_extent()
3857 (unsigned long long)map->m_lblk, map->m_len, flags, in ext4_ext_handle_unwritten_extents()
4008 ext4_lblk_t c_offset = EXT4_LBLK_COFF(sbi, map->m_lblk); in get_implied_cluster_alloc()
4020 rr_cluster_start = EXT4_B2C(sbi, map->m_lblk); in get_implied_cluster_alloc()
4038 if (map->m_lblk < ee_block) in get_implied_cluster_alloc()
4039 map->m_len = min(map->m_len, ee_block - map->m_lblk); in get_implied_cluster_alloc()
4050 if (map->m_lblk > ee_block) { in get_implied_cluster_alloc()
4052 map->m_len = min(map->m_len, next - map->m_lblk); in get_implied_cluster_alloc()
4158 ext_debug(inode, "blocks %u/%u requested\n", map->m_lblk, map->m_len); in ext4_ext_map_blocks()
4159 trace_ext4_ext_map_blocks_enter(inode, map->m_lblk, map->m_len, flags); in ext4_ext_map_blocks()
4162 path = ext4_find_extent(inode, map->m_lblk, NULL, 0); in ext4_ext_map_blocks()
4179 (unsigned long) map->m_lblk, depth, in ext4_ext_map_blocks()
4201 if (in_range(map->m_lblk, ee_block, ee_len)) { in ext4_ext_map_blocks()
4202 newblock = map->m_lblk - ee_block + ee_start; in ext4_ext_map_blocks()
4204 allocated = ee_len - (map->m_lblk - ee_block); in ext4_ext_map_blocks()
4206 map->m_lblk, ee_block, ee_len, newblock); in ext4_ext_map_blocks()
4245 len = ext4_ext_determine_insert_hole(inode, path, map->m_lblk); in ext4_ext_map_blocks()
4255 newex.ee_block = cpu_to_le32(map->m_lblk); in ext4_ext_map_blocks()
4256 cluster_offset = EXT4_LBLK_COFF(sbi, map->m_lblk); in ext4_ext_map_blocks()
4270 ar.lleft = map->m_lblk; in ext4_ext_map_blocks()
4274 ar.lright = map->m_lblk; in ext4_ext_map_blocks()
4311 ar.goal = ext4_ext_find_goal(inode, path, map->m_lblk); in ext4_ext_map_blocks()
4312 ar.logical = map->m_lblk; in ext4_ext_map_blocks()
4321 offset = EXT4_LBLK_COFF(sbi, map->m_lblk); in ext4_ext_map_blocks()
4406 lblk = EXT4_LBLK_CMASK(sbi, map->m_lblk); in ext4_ext_map_blocks()
4481 map.m_lblk = offset; in ext4_alloc_file_blocks()
4517 inode->i_ino, map.m_lblk, in ext4_alloc_file_blocks()
4527 map.m_lblk += ret; in ext4_alloc_file_blocks()
4529 epos = (loff_t)map.m_lblk << inode->i_blkbits; in ext4_alloc_file_blocks()
4843 map.m_lblk = offset >> blkbits; in ext4_convert_unwritten_extents()
4853 map.m_lblk += ret; in ext4_convert_unwritten_extents()
4869 inode->i_ino, map.m_lblk, in ext4_convert_unwritten_extents()
5993 map.m_lblk = *cur; in skip_hole()
6031 map.m_lblk = cur; in ext4_ext_replay_set_iblocks()
6125 map.m_lblk = cur; in ext4_ext_clear_bb()
6131 path = ext4_find_extent(inode, map.m_lblk, NULL, 0); in ext4_ext_clear_bb()
6144 map.m_lblk, map.m_pblk, map.m_len, 1); in ext4_ext_clear_bb()