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()
274 if (in_range(lblk, es1->es_lblk, es1->es_len)) { in __es_find_extent_range()
276 lblk, es1->es_lblk, es1->es_len, in __es_find_extent_range()
288 if (es1->es_lblk > end) { in __es_find_extent_range()
299 es->es_lblk = es1->es_lblk; in __es_find_extent_range()
350 else if (es.es_lblk <= start && in __es_scan_range()
351 start < es.es_lblk + es.es_len) in __es_scan_range()
353 else if (start <= es.es_lblk && es.es_lblk <= end) in __es_scan_range()
461 es->es_lblk = lblk; in ext4_es_alloc_extent()
520 if (((__u64) es1->es_lblk) + es1->es_len != es2->es_lblk) in ext4_es_can_be_merged()
597 path = ext4_find_extent(inode, es->es_lblk, NULL, EXT4_EX_NOCACHE); in ext4_es_insert_extent_ext_check()
618 if (in_range(es->es_lblk, ee_block, ee_len)) { in ext4_es_insert_extent_ext_check()
626 es->es_lblk, es->es_len, in ext4_es_insert_extent_ext_check()
636 if (es->es_lblk < ee_block || in ext4_es_insert_extent_ext_check()
637 ext4_es_pblock(es) != ee_start + es->es_lblk - ee_block) { in ext4_es_insert_extent_ext_check()
642 ee_status ? 'u' : 'w', es->es_lblk, es->es_len, in ext4_es_insert_extent_ext_check()
652 ee_status ? 'u' : 'w', es->es_lblk, es->es_len, in ext4_es_insert_extent_ext_check()
665 es->es_lblk, es->es_lblk, es->es_len, in ext4_es_insert_extent_ext_check()
686 map.m_lblk = es->es_lblk; in ext4_es_insert_extent_ind_check()
699 inode->i_ino, es->es_lblk, es->es_len, in ext4_es_insert_extent_ind_check()
729 inode->i_ino, es->es_lblk, es->es_len, in ext4_es_insert_extent_ind_check()
767 if (newes->es_lblk < es->es_lblk) { in __es_insert_extent()
773 es->es_lblk = newes->es_lblk; in __es_insert_extent()
783 } else if (newes->es_lblk > ext4_es_end(es)) { in __es_insert_extent()
796 es = ext4_es_alloc_extent(inode, newes->es_lblk, newes->es_len, in __es_insert_extent()
842 newes.es_lblk = lblk; in ext4_es_insert_extent()
890 newes.es_lblk = lblk; in ext4_es_cache_extent()
903 if (!es || es->es_lblk > end) in ext4_es_cache_extent()
935 es->es_lblk = es->es_len = es->es_pblk = 0; in ext4_es_lookup_extent()
938 if (in_range(lblk, es1->es_lblk, es1->es_len)) { in ext4_es_lookup_extent()
940 lblk, es1->es_lblk, es1->es_len); in ext4_es_lookup_extent()
949 if (lblk < es1->es_lblk) in ext4_es_lookup_extent()
963 es->es_lblk = es1->es_lblk; in ext4_es_lookup_extent()
974 *next_lblk = es1->es_lblk; in ext4_es_lookup_extent()
1025 if (lblk > es->es_lblk) { in init_rsvd()
1069 i = (lblk < es->es_lblk) ? es->es_lblk : lblk; in count_rsvd()
1225 while (es && es->es_lblk <= in get_rsvd()
1323 if (es->es_lblk > end) in __es_remove_extent()
1331 orig_es.es_lblk = es->es_lblk; in __es_remove_extent()
1335 len1 = lblk > es->es_lblk ? lblk - es->es_lblk : 0; in __es_remove_extent()
1343 newes.es_lblk = end + 1; in __es_remove_extent()
1354 es->es_lblk = orig_es.es_lblk; in __es_remove_extent()
1363 es->es_lblk = end + 1; in __es_remove_extent()
1390 count_rsvd(inode, es->es_lblk, es->es_len, es, &rc); in __es_remove_extent()
1401 if (es && es->es_lblk < end + 1) { in __es_remove_extent()
1406 count_rsvd(inode, es->es_lblk, orig_len - len1, in __es_remove_extent()
1408 es->es_lblk = end + 1; in __es_remove_extent()
1704 if (es->es_lblk > end) { in es_do_reclaim_extents()
1730 ei->i_es_shrink_lblk = es->es_lblk; in es_do_reclaim_extents()
1998 newes.es_lblk = lblk; in ext4_es_insert_delayed_block()
2059 while (es && (es->es_lblk <= end)) { in __es_delayed_clu()
2061 if (es->es_lblk <= start) in __es_delayed_clu()
2064 first_lclu = EXT4_B2C(sbi, es->es_lblk); in __es_delayed_clu()