| /Linux-v6.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() 113 GEM_BUG_ON(node->age); in pool_retire() 116 WRITE_ONCE(node->age, jiffies ?: 1); /* 0 reserved for active nodes */ in pool_retire() 149 node->age = 0; in node_create() 182 unsigned long age; in intel_gt_get_buffer_pool() local 190 age = READ_ONCE(node->age); in intel_gt_get_buffer_pool() 191 if (!age) in intel_gt_get_buffer_pool() [all …]
|
| D | intel_mocs.c | 170 /* Age 0 - LLC */ \ 174 /* Age 0 - L3 + LLC */ \ 178 /* Age: Don't Chg. - LLC */ \ 182 /* Age: Don't Chg. - L3 + LLC */ \ 194 /* No AOM; Age 0 - LLC */ \ 198 /* No AOM; Age 0 - L3 + LLC */ \ 202 /* No AOM; Age:DC - LLC */ \ 206 /* No AOM; Age:DC - L3 + LLC */ \
|
| /Linux-v6.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()
|
| D | damon.h | 43 * @age: Age of this region. 45 * @age is initially zero, increased for each aggregation interval, and reset 47 * regions are merged into a new region, both @nr_accesses and @age of the new 56 unsigned int age; member 57 /* private: Internal value for age calculation. */ 114 * @weight_age: Weight of the region's age for prioritization. 224 * @min_age_region: Minimum age of target regions. 225 * @max_age_region: Maximum age of target regions.
|
| /Linux-v6.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-v6.1/include/trace/events/ |
| D | damon.h | 25 __field(unsigned int, age) 34 __entry->age = r->age; 40 __entry->nr_accesses, __entry->age)
|
| /Linux-v6.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-v6.1/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
| D | usage.rst | 80 │ │ │ │ │ │ │ │ age/min,max 223 在 ``access_pattern`` 目录下,存在三个目录( ``sz``, ``nr_accesses``, 和 ``age`` ), 225 ``age`` 目录下的 ``min`` 和 ``max`` 文件分别写入和读取来设置和获取给定方案的访问模式。 294 # echo 10 > access_patterns/age/min 295 # echo 20 > access_patterns/age/max 407 min-size max-size min-acc max-acc min-age max-age 410 数( `min-acc` 和 `max-acc` ),区域年龄的聚合区间数( `min-age` 和 `max-age` )都被指定。 443 <size weight> <access frequency weight> <age weight>
|
| /Linux-v6.1/Documentation/admin-guide/mm/damon/ |
| D | usage.rst | 86 │ │ │ │ │ │ │ │ age/min,max 277 for the age of the region. 280 ``nr_accesses``, and ``age``) each having two files (``min`` and ``max``) 283 ``nr_accesses``, and ``age`` directories, respectively. 298 and age. For personalized prioritization, users can set the weights for the 308 frequency, and age in per-thousand unit by writing the values to the three 358 limitation, page out memory regions having longer age first. Also, check the 373 # echo 10 > access_pattern/age/min 374 # echo 20 > access_pattern/age/max 519 min-size max-size min-acc max-acc min-age max-age [all …]
|
| /Linux-v6.1/drivers/gpu/drm/savage/ |
| D | savage_bci.c | 236 SET_AGE(&entry->age, 0, 0); in savage_freelist_init() 265 DRM_DEBUG(" tail=0x%04x %d\n", tail->age.event, tail->age.wrap); in savage_freelist_get() 268 if (tail->buf && (TEST_AGE(&tail->age, event, wrap) || event == 0)) { in savage_freelist_get() 286 DRM_DEBUG("age=0x%04x wrap=%d\n", entry->age.event, entry->age.wrap); in savage_freelist_put() 317 SET_AGE(&dev_priv->dma_pages[i].age, 0, 0); in savage_dma_init() 336 SET_AGE(&dev_priv->dma_pages[i].age, event, wrap); in savage_dma_reset() 349 /* Faked DMA buffer pages don't age. */ in savage_dma_wait() 362 if (dev_priv->dma_pages[page].age.wrap > wrap || in savage_dma_wait() 363 (dev_priv->dma_pages[page].age.wrap == wrap && in savage_dma_wait() 364 dev_priv->dma_pages[page].age.event > event)) { in savage_dma_wait() [all …]
|
| D | savage_drv.h | 66 drm_savage_age_t age; member 71 drm_savage_age_t age; member 572 #define SET_AGE( age, e, w ) do { \ argument 573 (age)->event = e; \ 574 (age)->wrap = w; \ 577 #define TEST_AGE( age, e, w ) \ argument 578 ( (age)->wrap < (w) || ( (age)->wrap == (w) && (age)->event <= (e) ) )
|
| /Linux-v6.1/drivers/gpu/drm/mga/ |
| D | mga_drv.h | 80 drm_mga_age_t age; member 354 #define SET_AGE(age, h, w) \ argument 356 (age)->head = h; \ 357 (age)->wrap = w; \ 360 #define TEST_AGE(age, h, w) ((age)->wrap < w || \ argument 361 ((age)->wrap == w && \ 362 (age)->head < h)) 368 entry->age.head = (dev_priv->prim.tail + \ 370 entry->age.wrap = dev_priv->sarea_priv->last_wrap; \ 372 entry->age.head = 0; \ [all …]
|
| D | mga_dma.c | 236 DRM_INFO(" %p idx=%2d age=0x%x 0x%06lx\n", in mga_freelist_print() 237 entry, entry->buf->idx, entry->age.head, in mga_freelist_print() 238 (unsigned long)(entry->age.head - dev_priv->primary->offset)); in mga_freelist_print() 257 SET_AGE(&dev_priv->head->age, MGA_BUFFER_USED, 0); in mga_freelist_init() 269 SET_AGE(&entry->age, MGA_BUFFER_FREE, 0); in mga_freelist_init() 317 SET_AGE(&buf_priv->list_entry->age, MGA_BUFFER_FREE, 0); 335 tail->age.head ? in mga_freelist_get() 336 (unsigned long)(tail->age.head - dev_priv->primary->offset) : 0, in mga_freelist_get() 337 tail->age.wrap); in mga_freelist_get() 341 if (TEST_AGE(&tail->age, head, wrap)) { in mga_freelist_get() [all …]
|
| /Linux-v6.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-v6.1/mm/damon/ |
| D | ops-common.c | 105 age_in_sec = (unsigned long)r->age * c->attrs.aggr_interval / 1000000; in damon_hot_score() 110 /* If frequency is 0, higher age means it's colder */ in damon_hot_score() 116 * Scale it to be in [0, 100] and set it as age subscore. in damon_hot_score()
|
| D | core.c | 133 region->age = 0; in damon_new_region() 682 s->pattern.min_age_region <= r->age && in __damos_valid_target() 683 r->age <= s->pattern.max_age_region; in __damos_valid_target() 772 r->age = 0; in damon_do_apply_schemes() 877 l->age = (l->age * sz_l + r->age * sz_r) / (sz_l + sz_r); in damon_merge_two_regions() 896 r->age = 0; in damon_merge_regions_of() 898 r->age++; in damon_merge_regions_of() 946 new->age = r->age; in damon_split_region_at()
|
| D | sysfs.c | 398 unsigned int age; member 402 unsigned int nr_accesses, unsigned int age) in damon_sysfs_weights_alloc() argument 412 weights->age = age; in damon_sysfs_weights_alloc() 460 return sysfs_emit(buf, "%u\n", weights->age); in age_permil_show() 468 int err = kstrtouint(buf, 0, &weights->age); in age_permil_store() 640 struct damon_sysfs_ul_range *age; member 690 &access_pattern->age, "age"); in damon_sysfs_access_pattern_add_dirs() 696 kobject_put(&access_pattern->age->kobj); in damon_sysfs_access_pattern_add_dirs() 697 access_pattern->age = NULL; in damon_sysfs_access_pattern_add_dirs() 712 kobject_put(&access_pattern->age->kobj); in damon_sysfs_access_pattern_rm_dirs() [all …]
|
| /Linux-v6.1/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-v6.1/fs/f2fs/ |
| 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() 472 f2fs_lookup_rb_tree_ext(sbi, &am->root, &parent, p->age, &left_most); in lookup_central_victim() 487 unsigned long long age, u, accu; in atgc_lookup_victim() local 520 /* age = 10000 * x% * 60 */ in atgc_lookup_victim() 521 age = div64_u64(accu * (max_mtime - ve->mtime), total_time) * in atgc_lookup_victim() 531 f2fs_bug_on(sbi, age + u >= UINT_MAX); in atgc_lookup_victim() 533 cost = UINT_MAX - (age + u); in atgc_lookup_victim() 537 (cost == p->min_cost && age > p->oldest_age)) { in atgc_lookup_victim() [all …]
|
| /Linux-v6.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-v6.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-v6.1/include/uapi/drm/ |
| D | i810_drm.h | 153 int age; /* tracked by clients to update local LRU's */ member 167 * age different to the one you set, then you are mistaken and 173 * in the same lru which is used to age their own textures, 185 int last_dispatch; /* age of the most recently dispatched buffer */
|
| /Linux-v6.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
|
| /Linux-v6.1/Documentation/mm/ |
| D | slub.rst | 190 INFO: Allocated in get_modalias+0x61/0xf5 age=53 cpu=1 pid=554 236 INFO: Allocated in <kernel function> age=<jiffies since alloc> cpu=<allocated by 238 INFO: Freed in <kernel function> age=<jiffies since free> cpu=<freed by cpu> 410 338 pci_alloc_dev+0x2c/0xa0 waste=521872/1544 age=290837/291891/293509 pid=1 cpus=106 nodes=0-1 441 1980 <not-available> age=4294912290 pid=0 cpus=0 442 51 acpi_ut_update_ref_count+0x6a6/0x782 age=236886/237027/237772 pid=1 cpus=1
|
| /Linux-v6.1/Documentation/ABI/testing/ |
| D | sysfs-kernel-mm-damon | 172 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/age/min 176 'age' of the scheme's target regions. 178 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/age/max 182 'age' of the scheme's target regions. 220 under-quota limit regions prioritization weight for 'age' in
|