/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_mocs.c | 181 /* Age 0 - LLC */ \ 185 /* Age 0 - L3 + LLC */ \ 189 /* Age: Don't Chg. - LLC */ \ 193 /* Age: Don't Chg. - L3 + LLC */ \ 205 /* No AOM; Age 0 - LLC */ \ 209 /* No AOM; Age 0 - L3 + LLC */ \ 213 /* No AOM; Age:DC - LLC */ \ 217 /* No AOM; Age:DC - L3 + LLC */ \
|
/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/fs/ubifs/ |
D | shrinker.c | 23 * The age of znodes is just the time-stamp when they were last looked at. 52 * @age: the age of znodes to free 56 * clean znodes which younger then @age. Returns number of freed znodes. 58 static int shrink_tnc(struct ubifs_info *c, int nr, int age, int *contention) in shrink_tnc() argument 73 * children are older or of the same age. in shrink_tnc() 110 abs(time - znode->time) >= age) { in shrink_tnc() 137 * @age: the age of znodes to free 141 * znodes which are older than @age, until at least @nr znodes are freed. 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/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/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 429 for f in ['start', 'end', 'nr_accesses', 'age']:
|
D | damos_apply_interval.py | 22 # >= 25% access rate, >= 200ms age 23 nr_accesses=[5, 20], age=[2, 2**64 - 1]), 29 # >= 25% access rate, >= 200ms age 30 nr_accesses=[5, 20], age=[2, 2**64 - 1]),
|
D | sysfs_update_schemes_tried_regions_wss_estimation.py | 19 # >= 25% access rate, >= 200ms age 20 nr_accesses=[5, 20], age=[2, 2**64 - 1]))] # schemes
|
D | damos_quota.py | 23 # >= 25% access rate, >= 200ms age 24 nr_accesses=[5, 20], age=[2, 2**64 - 1]),
|
/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>
|
/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>
|
/linux-6.12.1/arch/mips/include/asm/sn/sn0/ |
D | hubni.h | 46 #define NI_AGE_CPU0_MEMORY 0x600500 /* CPU 0 memory age control */ 47 #define NI_AGE_CPU0_PIO 0x600508 /* CPU 0 PIO age control */ 48 #define NI_AGE_CPU1_MEMORY 0x600510 /* CPU 1 memory age control */ 49 #define NI_AGE_CPU1_PIO 0x600518 /* CPU 1 PIO age control */ 50 #define NI_AGE_GBR_MEMORY 0x600520 /* GBR memory age control */ 51 #define NI_AGE_GBR_PIO 0x600528 /* GBR PIO age control */ 52 #define NI_AGE_IO_MEMORY 0x600530 /* IO memory age control */ 53 #define NI_AGE_IO_PIO 0x600538 /* IO PIO age control */
|
/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, 218 … gdb.write(" age=%d/%d/%d" % (loc['min_time'], loc['sum_time']/loc['count'], loc['max_time'])) 220 gdb.write(" age=%d" % loc['min_time'])
|
/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() 436 /* initialize block age cache */ in f2fs_init_extent_tree() 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() 804 /* This returns a new age and allocated blocks in ei */ 816 * file block even in seq write. So don't record age for newly last file 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 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() [all …]
|
/linux-6.12.1/drivers/md/dm-vdo/ |
D | block-map.h | 375 * vdo_convert_maximum_age() - Convert the maximum age to reflect the new recovery journal format 376 * @age: The configured maximum age 378 * Return: The converted age 381 * made two entries. The old maximum age was half the usable journal length. In the new format, 383 * age so that the number of writes in a block map era is the same in the old and new formats. This 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/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/mm/damon/ |
D | ops-common.c | 86 age_in_sec = (unsigned long)r->age * c->attrs.aggr_interval / 1000000; in damon_hot_score() 91 /* If frequency is 0, higher age means it's colder */ in damon_hot_score() 97 * Scale it to be in [0, 100] and set it as age subscore. in damon_hot_score()
|
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 …]
|
/linux-6.12.1/include/uapi/linux/ |
D | tcp_metrics.h | 52 TCP_METRICS_ATTR_TW_TS_STAMP, /* s32, sec age */ 56 TCP_METRICS_ATTR_FOPEN_SYN_DROP_TS, /* msecs age */
|
/linux-6.12.1/fs/unicode/ |
D | mkutf8data.c | 1327 * We need to keep track of the Canonical Combining Class, the Age, 1330 * For the Age, we store the index into the ages table. Effectively 1621 /* Two trees per age: nfdi and nfdicf */ in trees_init() 1954 ret = sscanf(line, "# Age=V%d_%d_%d", in age_init() 1959 printf(" Age V%d_%d_%d\n", in age_init() 1965 ret = sscanf(line, "# Age=V%d_%d", &major, &minor); in age_init() 1969 printf(" Age V%d_%d\n", major, minor); in age_init() 1978 printf("%d age entries\n", ages_count); in age_init() 1992 ret = sscanf(line, "# Age=V%d_%d_%d", in age_init() 1998 printf(" Age V%d_%d_%d = gen %d\n", in age_init() [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() 1178 * the LDD's itt space does not include the session age. 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() 1382 "received itt %x expected session age (%x)\n", 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() [all …]
|
/linux-6.12.1/Documentation/admin-guide/laptops/ |
D | laptop-mode.rst | 263 # kernel default dirty buffer age 384 # kernel default dirty buffer age 540 AGE=$((100*$MAX_AGE)) 564 # not USER_HZ, so we have to use $AGE, not $XFS_AGE. 565 echo $AGE > /proc/sys/fs/xfs/age_buffer_centisecs 566 echo $AGE > /proc/sys/fs/xfs/xfssyncd_centisecs 573 echo "30 500 0 0 $AGE $AGE 60 20 0" > /proc/sys/vm/bdflush 577 echo "$AGE" > /proc/sys/vm/dirty_writeback_centisecs 578 echo "$AGE" > /proc/sys/vm/dirty_expire_centisecs
|