Lines Matching full:age
368 unsigned char age = 0; in get_cb_cost() local
388 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), in get_cb_cost()
391 return UINT_MAX - ((100 * (100 - u) * age) / (100 + u)); in get_cb_cost()
563 unsigned long long age, u, accu; in atgc_lookup_victim() local
594 /* age = 10000 * x% * 60 */ in atgc_lookup_victim()
595 age = div64_u64(accu * (max_mtime - ve->mtime), total_time) * in atgc_lookup_victim()
605 f2fs_bug_on(sbi, age + u >= UINT_MAX); in atgc_lookup_victim()
607 cost = UINT_MAX - (age + u); in atgc_lookup_victim()
611 (cost == p->min_cost && age > p->oldest_age)) { in atgc_lookup_victim()
613 p->oldest_age = age; in atgc_lookup_victim()
633 unsigned long long age; in atssr_lookup_victim() local
648 ve = __lookup_victim_entry(sbi, p->age); in atssr_lookup_victim()
659 age = max_mtime - ve->mtime; in atssr_lookup_victim()
670 age = max_mtime - abs(p->age - age); in atssr_lookup_victim()
674 (cost == p->min_cost && age > p->oldest_age)) { in atssr_lookup_victim()
676 p->oldest_age = age; in atssr_lookup_victim()
779 unsigned long long age, bool one_time) in f2fs_get_victim() argument
794 p.age = age; in f2fs_get_victim()