Lines Matching refs:es2
537 struct extent_status *es2) in ext4_es_can_be_merged() argument
539 if (ext4_es_type(es1) != ext4_es_type(es2)) in ext4_es_can_be_merged()
542 if (((__u64) es1->es_len) + es2->es_len > EXT_MAX_BLOCKS) { in ext4_es_can_be_merged()
546 es1->es_len, es2->es_len, EXT_MAX_BLOCKS); in ext4_es_can_be_merged()
551 if (((__u64) es1->es_lblk) + es1->es_len != es2->es_lblk) in ext4_es_can_be_merged()
555 (ext4_es_pblock(es1) + es1->es_len == ext4_es_pblock(es2))) in ext4_es_can_be_merged()
859 struct extent_status *es2 = NULL; in ext4_es_insert_extent() local
889 if ((err1 || err2) && !es2) in ext4_es_insert_extent()
890 es2 = __es_alloc_extent(true); in ext4_es_insert_extent()
905 err2 = __es_insert_extent(inode, &newes, es2); in ext4_es_insert_extent()
911 if (es2) { in ext4_es_insert_extent()
912 if (!es2->es_len) in ext4_es_insert_extent()
913 __es_free_extent(es2); in ext4_es_insert_extent()
914 es2 = NULL; in ext4_es_insert_extent()
2095 struct extent_status *es2 = NULL; in ext4_es_insert_delayed_extent() local
2121 if ((err1 || err2) && !es2) in ext4_es_insert_delayed_extent()
2122 es2 = __es_alloc_extent(true); in ext4_es_insert_delayed_extent()
2141 err2 = __es_insert_extent(inode, &newes, es2); in ext4_es_insert_delayed_extent()
2145 if (es2) { in ext4_es_insert_delayed_extent()
2146 if (!es2->es_len) in ext4_es_insert_delayed_extent()
2147 __es_free_extent(es2); in ext4_es_insert_delayed_extent()
2148 es2 = NULL; in ext4_es_insert_delayed_extent()