Lines Matching refs:es_lblk

190 		       es->es_lblk, es->es_len,  in ext4_es_print_tree()
202 BUG_ON(es->es_lblk + es->es_len < es->es_lblk); in ext4_es_end()
203 return es->es_lblk + es->es_len - 1; in ext4_es_end()
218 if (lblk < es->es_lblk) in __es_tree_search()
226 if (es && lblk < es->es_lblk) in __es_tree_search()
271 es->es_lblk = es->es_len = es->es_pblk = 0; in __es_find_extent_range()
273 if (es1 && in_range(lblk, es1->es_lblk, es1->es_len)) { in __es_find_extent_range()
275 lblk, es1->es_lblk, es1->es_len, in __es_find_extent_range()
286 if (es1->es_lblk > end) { in __es_find_extent_range()
297 es->es_lblk = es1->es_lblk; in __es_find_extent_range()
348 else if (es.es_lblk <= start && in __es_scan_range()
349 start < es.es_lblk + es.es_len) in __es_scan_range()
351 else if (start <= es.es_lblk && es.es_lblk <= end) in __es_scan_range()
475 es->es_lblk = lblk; in ext4_es_init_extent()
535 if (((__u64) es1->es_lblk) + es1->es_len != es2->es_lblk) in ext4_es_can_be_merged()
612 path = ext4_find_extent(inode, es->es_lblk, NULL, EXT4_EX_NOCACHE); in ext4_es_insert_extent_ext_check()
633 if (in_range(es->es_lblk, ee_block, ee_len)) { in ext4_es_insert_extent_ext_check()
641 es->es_lblk, es->es_len, in ext4_es_insert_extent_ext_check()
651 if (es->es_lblk < ee_block || in ext4_es_insert_extent_ext_check()
652 ext4_es_pblock(es) != ee_start + es->es_lblk - ee_block) { in ext4_es_insert_extent_ext_check()
657 ee_status ? 'u' : 'w', es->es_lblk, es->es_len, in ext4_es_insert_extent_ext_check()
667 ee_status ? 'u' : 'w', es->es_lblk, es->es_len, in ext4_es_insert_extent_ext_check()
680 es->es_lblk, es->es_lblk, es->es_len, in ext4_es_insert_extent_ext_check()
701 map.m_lblk = es->es_lblk; in ext4_es_insert_extent_ind_check()
714 inode->i_ino, es->es_lblk, es->es_len, in ext4_es_insert_extent_ind_check()
744 inode->i_ino, es->es_lblk, es->es_len, in ext4_es_insert_extent_ind_check()
783 if (newes->es_lblk < es->es_lblk) { in __es_insert_extent()
789 es->es_lblk = newes->es_lblk; in __es_insert_extent()
799 } else if (newes->es_lblk > ext4_es_end(es)) { in __es_insert_extent()
818 ext4_es_init_extent(inode, es, newes->es_lblk, newes->es_len, in __es_insert_extent()
864 newes.es_lblk = lblk; in ext4_es_insert_extent()
929 newes.es_lblk = lblk; in ext4_es_cache_extent()
942 if (!es || es->es_lblk > end) in ext4_es_cache_extent()
974 es->es_lblk = es->es_len = es->es_pblk = 0; in ext4_es_lookup_extent()
976 if (es1 && in_range(lblk, es1->es_lblk, es1->es_len)) { in ext4_es_lookup_extent()
978 lblk, es1->es_lblk, es1->es_len); in ext4_es_lookup_extent()
986 if (lblk < es1->es_lblk) in ext4_es_lookup_extent()
1000 es->es_lblk = es1->es_lblk; in ext4_es_lookup_extent()
1011 *next_lblk = es1->es_lblk; in ext4_es_lookup_extent()
1062 if (lblk > es->es_lblk) { in init_rsvd()
1106 i = (lblk < es->es_lblk) ? es->es_lblk : lblk; in count_rsvd()
1262 while (es && es->es_lblk <= in get_rsvd()
1360 if (es->es_lblk > end) in __es_remove_extent()
1368 orig_es.es_lblk = es->es_lblk; in __es_remove_extent()
1372 len1 = lblk > es->es_lblk ? lblk - es->es_lblk : 0; in __es_remove_extent()
1380 newes.es_lblk = end + 1; in __es_remove_extent()
1394 es->es_lblk = orig_es.es_lblk; in __es_remove_extent()
1399 es->es_lblk = end + 1; in __es_remove_extent()
1426 count_rsvd(inode, es->es_lblk, es->es_len, es, &rc); in __es_remove_extent()
1437 if (es && es->es_lblk < end + 1) { in __es_remove_extent()
1442 count_rsvd(inode, es->es_lblk, orig_len - len1, in __es_remove_extent()
1444 es->es_lblk = end + 1; in __es_remove_extent()
1753 if (es->es_lblk > end) { in es_do_reclaim_extents()
1776 ei->i_es_shrink_lblk = es->es_lblk; in es_do_reclaim_extents()
2043 newes.es_lblk = lblk; in ext4_es_insert_delayed_block()
2118 while (es && (es->es_lblk <= end)) { in __es_delayed_clu()
2120 if (es->es_lblk <= start) in __es_delayed_clu()
2123 first_lclu = EXT4_B2C(sbi, es->es_lblk); in __es_delayed_clu()