Searched refs:age (Results 1 – 6 of 6) sorted by relevance
/mm/damon/ |
D | sysfs-schemes.c | 20 unsigned int age; member 35 sysfs_region->age = region->age; in damon_sysfs_scheme_region_alloc() 73 return sysfs_emit(buf, "%u\n", region->age); in age_show() 95 __ATTR_RO_MODE(age, 0400); 786 unsigned int age; member 790 unsigned int nr_accesses, unsigned int age) in damon_sysfs_weights_alloc() argument 800 weights->age = age; in damon_sysfs_weights_alloc() 848 return sysfs_emit(buf, "%u\n", weights->age); in age_permil_show() 856 int err = kstrtouint(buf, 0, &weights->age); in age_permil_store() 1028 struct damon_sysfs_ul_range *age; member [all …]
|
D | core.c | 133 region->age = 0; in damon_new_region() 473 static unsigned int damon_age_for_new_attrs(unsigned int age, in damon_age_for_new_attrs() argument 476 return age * old_attrs->aggr_interval / new_attrs->aggr_interval; in damon_age_for_new_attrs() 507 r->age = damon_age_for_new_attrs(r->age, old_attrs, new_attrs); in damon_update_monitoring_result() 771 s->pattern.min_age_region <= r->age && in __damos_valid_target() 772 r->age <= s->pattern.max_age_region; in __damos_valid_target() 951 r->age = 0; in damos_apply_scheme() 1082 l->age = (l->age * sz_l + r->age * sz_r) / (sz_l + sz_r); in damon_merge_two_regions() 1101 r->age = 0; in damon_merge_regions_of() 1103 r->age++; in damon_merge_regions_of() [all …]
|
D | core-test.h | 300 r->age = 20; in damon_test_update_monitoring_result() 306 KUNIT_EXPECT_EQ(test, r->age, 2); in damon_test_update_monitoring_result() 312 KUNIT_EXPECT_EQ(test, r->age, 2); in damon_test_update_monitoring_result() 318 KUNIT_EXPECT_EQ(test, r->age, 20); in damon_test_update_monitoring_result()
|
D | ops-common.c | 86 age_in_sec = (unsigned long)r->age * c->attrs.aggr_interval / 1000000; in damon_hot_score()
|
/mm/ |
D | slub.c | 5315 unsigned long age = jiffies - track->when; in add_location() local 5344 l->sum_time += age; in add_location() 5345 if (age < l->min_time) in add_location() 5346 l->min_time = age; in add_location() 5347 if (age > l->max_time) in add_location() 5348 l->max_time = age; in add_location() 5386 l->sum_time = age; in add_location() 5387 l->min_time = age; in add_location() 5388 l->max_time = age; in add_location()
|
D | ksm.c | 844 unsigned char age; in remove_rmap_item_from_tree() local 852 age = (unsigned char)(ksm_scan.seqnr - rmap_item->address); in remove_rmap_item_from_tree() 853 BUG_ON(age > 1); in remove_rmap_item_from_tree() 854 if (!age) in remove_rmap_item_from_tree()
|