Lines Matching refs:lblk
328 struct ext4_ext_path **ppath, ext4_lblk_t lblk, in ext4_force_split_extent_at() argument
338 return ext4_split_extent_at(handle, inode, ppath, lblk, unwritten ? in ext4_force_split_extent_at()
389 ext4_lblk_t lblk, ext4_fsblk_t *pblk, in ext4_valid_extent_entries() argument
410 lblk != le32_to_cpu(ext->ee_block)) in ext4_valid_extent_entries()
434 lblk != le32_to_cpu(ext_idx->ei_block)) in ext4_valid_extent_entries()
456 int depth, ext4_fsblk_t pblk, ext4_lblk_t lblk) in __ext4_ext_check() argument
486 if (!ext4_valid_extent_entries(inode, eh, lblk, &pblk, depth)) { in __ext4_ext_check()
532 ext4_lblk_t lblk = le32_to_cpu(ex->ee_block); in ext4_cache_extents() local
535 if (prev && (prev != lblk)) in ext4_cache_extents()
536 ext4_es_cache_extent(inode, prev, lblk - prev, ~0, in ext4_cache_extents()
541 ext4_es_cache_extent(inode, lblk, len, in ext4_cache_extents()
543 prev = lblk + len; in ext4_cache_extents()
2246 ext4_lblk_t *lblk) in ext4_ext_determine_hole() argument
2255 *lblk = 0; in ext4_ext_determine_hole()
2257 } else if (*lblk < le32_to_cpu(ex->ee_block)) { in ext4_ext_determine_hole()
2258 len = le32_to_cpu(ex->ee_block) - *lblk; in ext4_ext_determine_hole()
2259 } else if (*lblk >= le32_to_cpu(ex->ee_block) in ext4_ext_determine_hole()
2263 *lblk = le32_to_cpu(ex->ee_block) + ext4_ext_get_actual_len(ex); in ext4_ext_determine_hole()
2265 BUG_ON(next == *lblk); in ext4_ext_determine_hole()
2266 len = next - *lblk; in ext4_ext_determine_hole()
2438 static void ext4_rereserve_cluster(struct inode *inode, ext4_lblk_t lblk) in ext4_rereserve_cluster() argument
2451 ext4_remove_pending(inode, lblk); in ext4_rereserve_cluster()
2499 if (ext4_is_pending(inode, partial->lblk)) in ext4_remove_blocks()
2505 ext4_rereserve_cluster(inode, partial->lblk); in ext4_remove_blocks()
2564 partial->lblk = from; in ext4_remove_blocks()
2773 if (ext4_is_pending(inode, partial->lblk)) in ext4_ext_rm_leaf()
2779 ext4_rereserve_cluster(inode, partial->lblk); in ext4_ext_rm_leaf()
2825 partial.lblk = 0; in ext4_ext_remove_space()
2849 ext4_lblk_t ee_block, ex_end, lblk; in ext4_ext_remove_space() local
2917 lblk = ex_end + 1; in ext4_ext_remove_space()
2918 err = ext4_ext_search_right(inode, path, &lblk, &pblk, in ext4_ext_remove_space()
3042 if (ext4_is_pending(inode, partial.lblk)) in ext4_ext_remove_space()
3048 ext4_rereserve_cluster(inode, partial.lblk); in ext4_ext_remove_space()
4343 ext4_lblk_t lblk, len; in ext4_ext_map_blocks() local
4357 lblk = EXT4_LBLK_CMASK(sbi, map->m_lblk); in ext4_ext_map_blocks()
4359 n = ext4_es_delayed_clu(inode, lblk, len); in ext4_ext_map_blocks()
4525 ext4_lblk_t lblk; in ext4_zero_range() local
4551 lblk = start >> blkbits; in ext4_zero_range()
4553 if (max_blocks < lblk) in ext4_zero_range()
4556 max_blocks -= lblk; in ext4_zero_range()
4624 ret = ext4_alloc_file_blocks(file, lblk, max_blocks, new_size, in ext4_zero_range()
4682 ext4_lblk_t lblk; in ext4_fallocate() local
4727 lblk = offset >> blkbits; in ext4_fallocate()
4758 ret = ext4_alloc_file_blocks(file, lblk, max_blocks, new_size, flags); in ext4_fallocate()