Lines Matching defs:tei
594 struct extent_info *tei, enum extent_type type)
602 unsigned int fofs = tei->fofs, len = tei->len;
612 tei->blk, 0);
615 tei->age, tei->last_blocks);
714 if (tei->blk) {
715 __set_extent_info(&ei, fofs, len, tei->blk, false,
740 if (!tei->last_blocks)
744 tei->age, tei->last_blocks, EX_BLOCK_AGE);
823 struct extent_info tei = *ei; /* only fofs and len are valid */
834 if (__lookup_extent_tree(inode, ei->fofs, &tei, EX_BLOCK_AGE)) {
837 if (cur_blocks >= tei.last_blocks)
838 cur_age = cur_blocks - tei.last_blocks;
841 cur_age = ULLONG_MAX - tei.last_blocks + cur_blocks;
843 if (tei.age)
844 ei->age = __calculate_block_age(sbi, cur_age, tei.age);