Lines Matching refs:tei
583 struct extent_info *tei, enum extent_type type) in __update_extent_tree_range() argument
591 unsigned int fofs = tei->fofs, len = tei->len; in __update_extent_tree_range()
601 tei->blk, 0); in __update_extent_tree_range()
604 tei->age, tei->last_blocks); in __update_extent_tree_range()
703 if (tei->blk) { in __update_extent_tree_range()
704 __set_extent_info(&ei, fofs, len, tei->blk, false, in __update_extent_tree_range()
729 if (!tei->last_blocks) in __update_extent_tree_range()
733 tei->age, tei->last_blocks, EX_BLOCK_AGE); in __update_extent_tree_range()
812 struct extent_info tei = *ei; /* only fofs and len are valid */ in __get_new_block_age() local
823 if (__lookup_extent_tree(inode, ei->fofs, &tei, EX_BLOCK_AGE)) { in __get_new_block_age()
826 if (cur_blocks >= tei.last_blocks) in __get_new_block_age()
827 cur_age = cur_blocks - tei.last_blocks; in __get_new_block_age()
830 cur_age = ULLONG_MAX - tei.last_blocks + cur_blocks; in __get_new_block_age()
832 if (tei.age) in __get_new_block_age()
833 ei->age = __calculate_block_age(sbi, cur_age, tei.age); in __get_new_block_age()