/linux-6.8/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 | 182 /* Age 0 - LLC */ \ 186 /* Age 0 - L3 + LLC */ \ 190 /* Age: Don't Chg. - LLC */ \ 194 /* Age: Don't Chg. - L3 + LLC */ \ 206 /* No AOM; Age 0 - LLC */ \ 210 /* No AOM; Age 0 - L3 + LLC */ \ 214 /* No AOM; Age:DC - LLC */ \ 218 /* No AOM; Age:DC - L3 + LLC */ \
|
/linux-6.8/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.8/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()
|
D | damon.h | 46 * @age: Age of this region. 61 * @age is initially zero, increased for each aggregation interval, and reset 63 * regions are merged into a new region, both @nr_accesses and @age of the new 73 unsigned int age; member 74 /* private: Internal value for age calculation. */ 137 * @weight_age: Weight of the region's age for prioritization. 321 * @min_age_region: Minimum age of target regions. 322 * @max_age_region: Maximum age of target regions.
|
/linux-6.8/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.8/tools/testing/selftests/damon/ |
D | _damon_sysfs.py | 29 age = None variable in DamosAccessPattern 32 def __init__(self, size=None, nr_accesses=None, age=None): argument 35 self.age = age 41 if self.age == None: 42 self.age = [0, 2**64 - 1] 65 os.path.join(self.sysfs_dir(), 'age', 'min'), self.age[0]) 69 os.path.join(self.sysfs_dir(), 'age', 'max'), self.age[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
|
/linux-6.8/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.8/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.8/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.8/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.8/fs/f2fs/ |
D | extent_cache.c | 58 unsigned long age, unsigned long last_blocks, in __set_extent_info() argument 72 ei->age = age; in __set_extent_info() 141 abs(back->age - front->age) <= SAME_AGE_REGION && in __is_extent_mergeable() 447 /* initialize block age cache */ in f2fs_init_extent_tree() 615 tei->age, tei->last_blocks); in __update_extent_tree_range() 668 dei.age, dei.last_blocks, in __update_extent_tree_range() 677 dei.age, dei.last_blocks, in __update_extent_tree_range() 744 tei->age, tei->last_blocks, EX_BLOCK_AGE); in __update_extent_tree_range() 815 /* This returns a new age and allocated blocks in ei */ 827 * file block even in seq write. So don't record age for newly last file in __get_new_block_age() [all …]
|
D | gc.c | 339 unsigned char age = 0; in get_cb_cost() local 359 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), in get_cb_cost() 362 return UINT_MAX - ((100 * (100 - u) * age) / (100 + u)); in get_cb_cost() 529 unsigned long long age, u, accu; in atgc_lookup_victim() local 560 /* age = 10000 * x% * 60 */ in atgc_lookup_victim() 561 age = div64_u64(accu * (max_mtime - ve->mtime), total_time) * in atgc_lookup_victim() 571 f2fs_bug_on(sbi, age + u >= UINT_MAX); in atgc_lookup_victim() 573 cost = UINT_MAX - (age + u); in atgc_lookup_victim() 577 (cost == p->min_cost && age > p->oldest_age)) { in atgc_lookup_victim() 579 p->oldest_age = age; in atgc_lookup_victim() [all …]
|
/linux-6.8/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.8/Documentation/admin-guide/mm/damon/ |
D | usage.rst | 85 │ │ │ │ │ │ │ │ age/min,max 95 │ │ │ │ │ │ │ │ 0/start,end,nr_accesses,age 339 ``nr_accesses``, and ``age``) each having two files (``min`` and ``max``) 342 ``nr_accesses``, and ``age`` directories, respectively. Note that the ``min`` 367 <damon_design_damos_quotas_prioritization>` for size, access frequency, and age 496 and ``age`` of the region. 517 ``nr_accesses``, and ``age``). Reading the files will show the start and end 518 addresses, ``nr_accesses``, and ``age`` of the region that corresponding 528 limitation, page out memory regions having longer age first. Also, check the 543 # echo 10 > access_pattern/age/min [all …]
|
/linux-6.8/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); 1028 unsigned int age; member 1032 unsigned int nr_accesses, unsigned int age) in damon_sysfs_weights_alloc() argument 1042 weights->age = age; in damon_sysfs_weights_alloc() 1090 return sysfs_emit(buf, "%u\n", weights->age); in age_permil_show() 1098 int err = kstrtouint(buf, 0, &weights->age); in age_permil_store() 1291 struct damon_sysfs_ul_range *age; member [all …]
|
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 | core.c | 134 region->age = 0; in damon_new_region() 495 static unsigned int damon_age_for_new_attrs(unsigned int age, in damon_age_for_new_attrs() argument 498 return age * old_attrs->aggr_interval / new_attrs->aggr_interval; in damon_age_for_new_attrs() 530 r->age = damon_age_for_new_attrs(r->age, old_attrs, new_attrs); in damon_update_monitoring_result() 535 * aggregation interval that access to the region has found, and region->age is 539 * ->nr_accesses and ->age of given damon_ctx's regions for new damon_attrs. 804 s->pattern.min_age_region <= r->age && in __damos_valid_target() 805 r->age <= s->pattern.max_age_region; in __damos_valid_target() 1014 r->age = 0; in damos_apply_scheme() 1218 l->age = (l->age * sz_l + r->age * sz_r) / (sz_l + sz_r); in damon_merge_two_regions() [all …]
|
/linux-6.8/drivers/gpu/drm/xe/ |
D | xe_mocs.c | 159 /* Age 0 - LLC */ 163 /* Age 0 - L3 + LLC */ 167 /* Age: Don't Chg. - LLC */ 171 /* Age: Don't Chg. - L3 + LLC */ 183 /* No AOM; Age 0 - LLC */ 187 /* No AOM; Age 0 - L3 + LLC */ 191 /* No AOM; Age:DC - LLC */ 195 /* No AOM; Age:DC - L3 + LLC */
|
/linux-6.8/include/uapi/linux/ |
D | tcp_metrics.h | 36 TCP_METRICS_ATTR_TW_TS_STAMP, /* s32, sec age */ 40 TCP_METRICS_ATTR_FOPEN_SYN_DROP_TS, /* msecs age */
|
/linux-6.8/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.8/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.8/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
|
/linux-6.8/Documentation/ABI/testing/ |
D | sysfs-kernel-mm-damon | 187 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/age/min 191 'age' of the scheme's target regions. 193 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/age/max 197 'age' of the scheme's target regions. 254 under-quota limit regions prioritization weight for 'age' in 401 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/age 404 Description: Reading this file returns the 'age' of a memory region that
|