Lines Matching refs:lblock
311 int ext4_ext_calc_metadata_amount(struct inode *inode, ext4_lblk_t lblock) in ext4_ext_calc_metadata_amount() argument
328 ei->i_da_metadata_calc_last_lblock+1 == lblock) { in ext4_ext_calc_metadata_amount()
349 ei->i_da_metadata_calc_last_lblock = lblock; in ext4_ext_calc_metadata_amount()
377 ext4_lblk_t lblock = le32_to_cpu(ext->ee_block); in ext4_valid_extent() local
378 ext4_lblk_t last = lblock + len - 1; in ext4_valid_extent()
380 if (lblock > last) in ext4_valid_extent()
408 ext4_lblk_t lblock = 0; in ext4_valid_extent_entries() local
416 lblock = le32_to_cpu(ext->ee_block); in ext4_valid_extent_entries()
418 if ((lblock <= prev) && prev) { in ext4_valid_extent_entries()
425 prev = lblock + len - 1; in ext4_valid_extent_entries()
2310 ext4_lblk_t lblock = 0; in ext4_ext_put_gap_in_cache() local
2321 lblock = block; in ext4_ext_put_gap_in_cache()
2327 if (!ext4_find_delalloc_range(inode, lblock, lblock + len - 1)) in ext4_ext_put_gap_in_cache()
2328 ext4_es_insert_extent(inode, lblock, len, ~0, in ext4_ext_put_gap_in_cache()
2333 lblock = le32_to_cpu(ex->ee_block) in ext4_ext_put_gap_in_cache()
2341 BUG_ON(next == lblock); in ext4_ext_put_gap_in_cache()
2342 len = next - lblock; in ext4_ext_put_gap_in_cache()
2343 if (!ext4_find_delalloc_range(inode, lblock, lblock + len - 1)) in ext4_ext_put_gap_in_cache()
2344 ext4_es_insert_extent(inode, lblock, len, ~0, in ext4_ext_put_gap_in_cache()
2350 ext_debug(" -> %u:%lu\n", lblock, len); in ext4_ext_put_gap_in_cache()