/linux-6.12.1/drivers/gpu/drm/i915/gt/ |
D | intel_gt_buffer_pool.c | 55 unsigned long age; in pool_free_older_than() local 59 age = READ_ONCE(node->age); in pool_free_older_than() 60 if (!age || jiffies - age < keep) in pool_free_older_than() 64 if (!xchg(&node->age, 0)) in pool_free_older_than() 115 GEM_BUG_ON(node->age); in pool_retire() 118 WRITE_ONCE(node->age, jiffies ?: 1); /* 0 reserved for active nodes */ in pool_retire() 151 node->age = 0; in node_create() 184 unsigned long age; in intel_gt_get_buffer_pool() local 192 age = READ_ONCE(node->age); in intel_gt_get_buffer_pool() 193 if (!age) in intel_gt_get_buffer_pool() [all …]
|
D | intel_gt_buffer_pool_types.h | 31 unsigned long age; member
|
/linux-6.12.1/include/trace/events/ |
D | damon.h | 29 __field(unsigned int, age) 40 __entry->age = r->age; 48 __entry->nr_accesses, __entry->age) 64 __field(unsigned int, age) 73 __entry->age = r->age; 79 __entry->nr_accesses, __entry->age)
|
/linux-6.12.1/include/linux/ |
D | unicode.h | 19 static inline u8 unicode_major(unsigned int age) in unicode_major() argument 21 return (age >> UNICODE_MAJ_SHIFT) & 0xff; in unicode_major() 24 static inline u8 unicode_minor(unsigned int age) in unicode_minor() argument 26 return (age >> UNICODE_MIN_SHIFT) & 0xff; in unicode_minor() 29 static inline u8 unicode_rev(unsigned int age) in unicode_rev() argument 31 return age & 0xff; in unicode_rev()
|
/linux-6.12.1/Documentation/admin-guide/mm/damon/ |
D | start.rst | 46 0 addr [85.541 TiB , 85.541 TiB ) (57.707 MiB ) access 0 % age 10.400 s 47 1 addr [85.541 TiB , 85.542 TiB ) (413.285 MiB) access 0 % age 11.400 s 48 2 addr [127.649 TiB , 127.649 TiB) (57.500 MiB ) access 0 % age 1.600 s 49 3 addr [127.649 TiB , 127.649 TiB) (32.500 MiB ) access 0 % age 500 ms 50 4 addr [127.649 TiB , 127.649 TiB) (9.535 MiB ) access 100 % age 300 ms 51 5 addr [127.649 TiB , 127.649 TiB) (8.000 KiB ) access 60 % age 0 ns 52 6 addr [127.649 TiB , 127.649 TiB) (6.926 MiB ) access 0 % age 1 s 53 7 addr [127.998 TiB , 127.998 TiB) (120.000 KiB) access 0 % age 11.100 s 54 8 addr [127.998 TiB , 127.998 TiB) (8.000 KiB ) access 40 % age 100 ms 55 9 addr [127.998 TiB , 127.998 TiB) (4.000 KiB ) access 0 % age 11 s [all …]
|
D | usage.rst | 85 │ │ │ │ │ │ │ │ age/min,max 95 │ │ │ │ │ │ │ │ 0/start,end,nr_accesses,age 316 ``nr_accesses``, and ``age``) each having two files (``min`` and ``max``) 319 ``nr_accesses``, and ``age`` directories, respectively. Note that the ``min`` 355 <damon_design_damos_quotas_prioritization>` for size, access frequency, and age 484 and ``age`` of the region. 505 ``nr_accesses``, and ``age``). Reading the files will show the start and end 506 addresses, ``nr_accesses``, and ``age`` of the region that corresponding 516 limitation, page out memory regions having longer age first. Also, check the 531 # echo 10 > access_pattern/age/min [all …]
|
/linux-6.12.1/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
D | usage.rst | 80 │ │ │ │ │ │ │ │ age/min,max 86 │ │ │ │ │ │ │ │ 0/start,end,nr_accesses,age 232 在 ``access_pattern`` 目录下,存在三个目录( ``sz``, ``nr_accesses``, 和 ``age`` ), 234 ``age`` 目录下的 ``min`` 和 ``max`` 文件分别写入和读取来设置和获取给定方案的访问模式。 298 在每个区域目录中,你会发现四个文件(``start``, ``end``, ``nr_accesses``, and ``age``)。 321 # echo 10 > access_pattern/age/min 322 # echo 20 > access_pattern/age/max 439 min-size max-size min-acc max-acc min-age max-age 442 数( `min-acc` 和 `max-acc` ),区域年龄的聚合区间数( `min-age` 和 `max-age` )都被指定。 475 <size weight> <access frequency weight> <age weight>
|
D | start.rst | 122 $ echo "#min-size max-size min-acc max-acc min-age max-age action" > test_scheme
|
/linux-6.12.1/Documentation/translations/zh_TW/admin-guide/mm/damon/ |
D | usage.rst | 80 │ │ │ │ │ │ │ │ age/min,max 86 │ │ │ │ │ │ │ │ 0/start,end,nr_accesses,age 232 在 ``access_pattern`` 目錄下,存在三個目錄( ``sz``, ``nr_accesses``, 和 ``age`` ), 234 ``age`` 目錄下的 ``min`` 和 ``max`` 文件分別寫入和讀取來設置和獲取給定方案的訪問模式。 298 在每個區域目錄中,你會發現四個文件(``start``, ``end``, ``nr_accesses``, and ``age``)。 321 # echo 10 > access_pattern/age/min 322 # echo 20 > access_pattern/age/max 439 min-size max-size min-acc max-acc min-age max-age 442 數( `min-acc` 和 `max-acc` ),區域年齡的聚合區間數( `min-age` 和 `max-age` )都被指定。 475 <size weight> <access frequency weight> <age weight>
|
D | start.rst | 122 $ echo "#min-size max-size min-acc max-acc min-age max-age action" > test_scheme
|
/linux-6.12.1/tools/testing/selftests/damon/ |
D | _damon_sysfs.py | 40 age = None variable in DamosAccessPattern 43 def __init__(self, size=None, nr_accesses=None, age=None): argument 46 self.age = age 52 if self.age is None: 53 self.age = [0, 2**64 - 1] 76 os.path.join(self.sysfs_dir(), 'age', 'min'), self.age[0]) 80 os.path.join(self.sysfs_dir(), 'age', 'max'), self.age[1]) 179 def __init__(self, start, end, nr_accesses, age): argument 183 self.age = age
|
D | damos_apply_interval.py | 23 nr_accesses=[5, 20], age=[2, 2**64 - 1]), 30 nr_accesses=[5, 20], age=[2, 2**64 - 1]),
|
D | sysfs_update_schemes_tried_regions_wss_estimation.py | 20 nr_accesses=[5, 20], age=[2, 2**64 - 1]))] # schemes
|
/linux-6.12.1/scripts/gdb/linux/ |
D | slab.py | 119 age = jiffies - track['when'] 132 loc['sum_time'] += age 133 loc['min_time'] = min(loc['min_time'], age) 134 loc['max_time'] = max(loc['max_time'], age) 142 'sum_time' : age, 143 'min_time' : age, 144 'max_time' : age,
|
/linux-6.12.1/fs/ubifs/ |
D | shrinker.c | 58 static int shrink_tnc(struct ubifs_info *c, int nr, int age, int *contention) in shrink_tnc() argument 110 abs(time - znode->time) >= age) { in shrink_tnc() 144 static int shrink_tnc_trees(int nr, int age, int *contention) in shrink_tnc_trees() argument 187 freed += shrink_tnc(c, nr, age, contention); in shrink_tnc_trees()
|
/linux-6.12.1/drivers/infiniband/hw/hfi1/ |
D | trace_ibhdrs.h | 86 u8 *age, bool *becn, bool *fecn, 92 u8 age, bool becn, bool fecn, u8 l4, 123 __field(u8, age) 160 &__entry->age, 226 __entry->age, 283 __field(u8, age) 320 &__entry->age, 390 __entry->age,
|
/linux-6.12.1/fs/f2fs/ |
D | extent_cache.c | 47 unsigned long age, unsigned long last_blocks, in __set_extent_info() argument 61 ei->age = age; in __set_extent_info() 130 abs(back->age - front->age) <= SAME_AGE_REGION && in __is_extent_mergeable() 604 tei->age, tei->last_blocks); in __update_extent_tree_range() 657 dei.age, dei.last_blocks, in __update_extent_tree_range() 666 dei.age, dei.last_blocks, in __update_extent_tree_range() 733 tei->age, tei->last_blocks, EX_BLOCK_AGE); in __update_extent_tree_range() 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() 835 ei->age = cur_age; in __get_new_block_age() [all …]
|
D | gc.c | 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 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 [all …]
|
/linux-6.12.1/mm/damon/ |
D | sysfs-schemes.c | 21 unsigned int age; member 36 sysfs_region->age = region->age; in damon_sysfs_scheme_region_alloc() 74 return sysfs_emit(buf, "%u\n", region->age); in age_show() 96 __ATTR_RO_MODE(age, 0400); 1067 unsigned int age; member 1071 unsigned int nr_accesses, unsigned int age) in damon_sysfs_weights_alloc() argument 1081 weights->age = age; in damon_sysfs_weights_alloc() 1129 return sysfs_emit(buf, "%u\n", weights->age); in age_permil_show() 1137 int err = kstrtouint(buf, 0, &weights->age); in age_permil_store() 1344 struct damon_sysfs_ul_range *age; member [all …]
|
D | core.c | 135 region->age = 0; in damon_new_region() 542 static unsigned int damon_age_for_new_attrs(unsigned int age, in damon_age_for_new_attrs() argument 545 return age * old_attrs->aggr_interval / new_attrs->aggr_interval; in damon_age_for_new_attrs() 583 r->age = damon_age_for_new_attrs(r->age, old_attrs, new_attrs); in damon_update_monitoring_result() 1190 s->pattern.min_age_region <= r->age && in __damos_valid_target() 1191 r->age <= s->pattern.max_age_region; in __damos_valid_target() 1400 r->age = 0; in damos_apply_scheme() 1678 l->age = (l->age * sz_l + r->age * sz_r) / (sz_l + sz_r); in damon_merge_two_regions() 1697 r->age = 0; in damon_merge_regions_of() 1699 r->age++; in damon_merge_regions_of() [all …]
|
/linux-6.12.1/drivers/scsi/ |
D | libiscsi.c | 341 task->conn->session->age); in iscsi_prep_scsi_cmd_pdu() 787 task->conn->session->age); in iscsi_alloc_mgmt_task() 1368 int age = 0, i = 0; in iscsi_verify_itt() local 1374 session->tt->parse_pdu_itt(conn, itt, &i, &age); in iscsi_verify_itt() 1377 age = ((__force u32)itt >> ISCSI_AGE_SHIFT) & ISCSI_AGE_MASK; in iscsi_verify_itt() 1380 if (age != session->age) { in iscsi_verify_itt() 1383 (__force u32)itt, session->age); in iscsi_verify_itt() 1417 if (iscsi_cmd(task->sc)->age != conn->session->age) { in iscsi_itt_to_ctask() 1420 iscsi_cmd(task->sc)->age, conn->session->age); in iscsi_itt_to_ctask() 1722 iscsi_cmd(sc)->age = conn->session->age; in iscsi_alloc_task() [all …]
|
/linux-6.12.1/fs/unicode/ |
D | mkutf8data.c | 2240 unsigned int age; in corrections_init() local 2280 age = UNICODE_AGE(major, minor, revision); in corrections_init() 2281 corrections[count].correction = age; in corrections_init() 2737 int age = 0; in utf8agemax() local 2749 if (leaf_age <= tree->maxage && leaf_age > age) in utf8agemax() 2750 age = leaf_age; in utf8agemax() 2753 return age; in utf8agemax() 2764 int age; in utf8agemin() local 2770 age = tree->maxage; in utf8agemin() 2776 if (leaf_age <= tree->maxage && leaf_age < age) in utf8agemin() [all …]
|
/linux-6.12.1/mm/ |
D | ksm.c | 213 rmap_age_t age; member 995 unsigned char age; in remove_rmap_item_from_tree() local 1003 age = (unsigned char)(ksm_scan.seqnr - rmap_item->address); in remove_rmap_item_from_tree() 1004 BUG_ON(age > 1); in remove_rmap_item_from_tree() 1005 if (!age) in remove_rmap_item_from_tree() 2389 static unsigned int skip_age(rmap_age_t age) in skip_age() argument 2391 if (age <= 3) in skip_age() 2393 if (age <= 5) in skip_age() 2395 if (age <= 8) in skip_age() 2410 rmap_age_t age; in should_skip_rmap_item() local [all …]
|
/linux-6.12.1/drivers/md/dm-vdo/ |
D | block-map.h | 388 static inline block_count_t vdo_convert_maximum_age(block_count_t age) in vdo_convert_maximum_age() argument 390 return DIV_ROUND_UP(age * RECOVERY_JOURNAL_1_ENTRIES_PER_BLOCK, in vdo_convert_maximum_age()
|
/linux-6.12.1/mm/damon/tests/ |
D | core-kunit.h | 347 r->age = 20; in damon_test_update_monitoring_result() 353 KUNIT_EXPECT_EQ(test, r->age, 2); in damon_test_update_monitoring_result() 359 KUNIT_EXPECT_EQ(test, r->age, 2); in damon_test_update_monitoring_result() 365 KUNIT_EXPECT_EQ(test, r->age, 20); in damon_test_update_monitoring_result()
|