| /linux/Documentation/admin-guide/mm/damon/ |
| H A D | start.rst | 48 0 addr 86.182 TiB size 8.000 KiB access 0 % age 14.900 s 49 1 addr 86.182 TiB size 8.000 KiB access 60 % age 0 ns 50 2 addr 86.182 TiB size 3.422 MiB access 0 % age 4.100 s 51 3 addr 86.182 TiB size 2.004 MiB access 95 % age 2.200 s 52 4 addr 86.182 TiB size 29.688 MiB access 0 % age 14.100 s 53 5 addr 86.182 TiB size 29.516 MiB access 0 % age 16.700 s 54 6 addr 86.182 TiB size 29.633 MiB access 0 % age 17.900 s 55 7 addr 86.182 TiB size 117.652 MiB access 0 % age 18.400 s 56 8 addr 126.990 TiB size 62.332 MiB access 0 % age 9.500 s 57 9 addr 126.990 TiB size 13.980 MiB access 0 % age 5.200 s [all …]
|
| H A D | usage.rst | 80 │ │ │ │ │ │ │ │ age/min,max 92 │ │ │ │ │ │ │ │ 0/start,end,nr_accesses,age,sz_filter_passed 361 ``nr_accesses``, and ``age``) each having two files (``min`` and ``max``) 364 ``nr_accesses``, and ``age`` directories, respectively. Note that the ``min`` 400 <damon_design_damos_quotas_prioritization>` for size, access frequency, and age 566 and ``age`` of the region. 587 ``nr_accesses``, ``age``, and ``sz_filter_passed``). Reading the files will 598 limitation, page out memory regions having longer age first. Also, check the 613 # echo 10 > access_pattern/age/min 614 # echo 20 > access_pattern/age/max [all …]
|
| /linux/scripts/gdb/linux/ |
| H A 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/fs/ubifs/ |
| H A 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/fs/f2fs/ |
| H A D | extent_cache.c | 77 unsigned long age, unsigned long last_blocks, in __set_extent_info() argument 91 ei->age = age; in __set_extent_info() 163 abs(back->age - front->age) <= SAME_AGE_REGION && in __is_extent_mergeable() 610 __func__, et->type, en->ei.fofs, en->ei.blk, en->ei.len, en->ei.age, in __insert_extent_tree() 611 en->ei.last_blocks, ei->fofs, ei->blk, ei->len, ei->age, ei->last_blocks); in __insert_extent_tree() 677 tei->age, tei->last_blocks); in __update_extent_tree_range() 687 tei->age, tei->last_blocks); in __update_extent_tree_range() 742 dei.age, dei.last_blocks, in __update_extent_tree_range() 751 dei.age, dei.last_blocks, in __update_extent_tree_range() 815 tei->age, tei->last_blocks, EX_BLOCK_AGE); in __update_extent_tree_range() [all …]
|
| H A D | gc.c | 368 unsigned char age = 0; in get_cb_cost() local 385 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), in get_cb_cost() 388 return UINT_MAX - ((100 * (100 - u) * age) / (100 + u)); in get_cb_cost() 557 unsigned long long age, u, accu; in atgc_lookup_victim() local 589 age = div64_u64(accu * (max_mtime - ve->mtime), total_time) * in atgc_lookup_victim() 599 f2fs_bug_on(sbi, age + u >= UINT_MAX); in atgc_lookup_victim() 601 cost = UINT_MAX - (age + u); in atgc_lookup_victim() 605 (cost == p->min_cost && age > p->oldest_age)) { in atgc_lookup_victim() 607 p->oldest_age = age; in atgc_lookup_victim() 627 unsigned long long age; in atssr_lookup_victim() local [all …]
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A 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,
|
| H A D | trace.c | 169 u8 *age, bool *becn, bool *fecn, in hfi1_trace_parse_16b_hdr() argument 174 *age = hfi1_16B_get_age(hdr); in hfi1_trace_parse_16b_hdr() 192 u8 age, bool becn, bool fecn, u8 l4, in hfi1_trace_fmt_lrh() argument 203 age, becn, fecn, l4, rc, sc, pkey, entropy); in hfi1_trace_fmt_lrh()
|
| /linux/tools/testing/selftests/damon/ |
| H A 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]),
|
| H A D | _damon_sysfs.py | 44 age = None variable in DamosAccessPattern 47 def __init__(self, size=None, nr_accesses=None, age=None): argument 50 self.age = age 56 if self.age is None: 57 self.age = [0, 2**32 - 1] 80 os.path.join(self.sysfs_dir(), 'age', 'min'), self.age[0]) 84 os.path.join(self.sysfs_dir(), 'age', 'max'), self.age[1]) 383 def __init__(self, start, end, nr_accesses, age): argument 387 self.age = age
|
| H A D | sysfs.py | 107 assert_true(dump['min_age_region'] == pattern.age[0], 'min_age_region', 109 assert_true(dump['max_age_region'] == pattern.age[1], 'miaxage_region', 227 age=[5,71]),
|
| H A D | sysfs_update_schemes_tried_regions_wss_estimation.py | 20 nr_accesses=[5, 20], age=[2, 2**64 - 1]))] # schemes
|
| H A D | damos_quota.py | 24 nr_accesses=[5, 20], age=[2, 2**64 - 1]),
|
| /linux/drivers/scsi/ |
| H A 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/Documentation/translations/zh_TW/admin-guide/mm/damon/ |
| H A D | start.rst | 122 $ echo "#min-size max-size min-acc max-acc min-age max-age action" > test_scheme
|
| /linux/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
| H A D | start.rst | 122 $ echo "#min-size max-size min-acc max-acc min-age max-age action" > test_scheme
|
| /linux/mm/damon/ |
| H A D | sysfs-schemes.c | 21 unsigned int age; member 37 sysfs_region->age = region->age; in damon_sysfs_scheme_region_alloc() 75 return sysfs_emit(buf, "%u\n", region->age); in age_show() 106 __ATTR_RO_MODE(age, 0400); 1331 unsigned int age; member 1335 unsigned int nr_accesses, unsigned int age) in damon_sysfs_weights_alloc() argument 1345 weights->age = age; in damon_sysfs_weights_alloc() 1393 return sysfs_emit(buf, "%u\n", weights->age); in age_permil_show() 1401 int err = kstrtouint(buf, 0, &weights->age); in age_permil_store() 1608 struct damon_sysfs_ul_range *age; member [all …]
|
| H A D | core.c | 131 region->age = 0; in damon_new_region() 594 static unsigned int damon_age_for_new_attrs(unsigned int age, in damon_age_for_new_attrs() argument 597 return age * old_attrs->aggr_interval / new_attrs->aggr_interval; in damon_age_for_new_attrs() 649 r->age = damon_age_for_new_attrs(r->age, old_attrs, new_attrs); in damon_update_monitoring_result() 1621 s->pattern.min_age_region <= r->age && in __damos_valid_target() 1622 r->age <= s->pattern.max_age_region; in __damos_valid_target() 1924 r->age = 0; in damos_apply_scheme() 2296 l->age = (l->age * sz_l + r->age * sz_r) / (sz_l + sz_r); in damon_merge_two_regions() 2315 r->age = 0; in damon_merge_regions_of() 2317 r->age = 0; in damon_merge_regions_of() [all …]
|
| H A D | stat.c | 69 return -1 * (r->age + 1); in damon_stat_idletime() 70 return r->age + 1; in damon_stat_idletime()
|
| /linux/fs/unicode/ |
| H A D | mkutf8data.c | 2309 unsigned int age; in corrections_init() local 2349 age = UNICODE_AGE(major, minor, revision); in corrections_init() 2350 corrections[count].correction = age; in corrections_init() 2806 int age = 0; in utf8agemax() local 2818 if (leaf_age <= tree->maxage && leaf_age > age) in utf8agemax() 2819 age = leaf_age; in utf8agemax() 2822 return age; in utf8agemax() 2833 int age; in utf8agemin() local 2839 age = tree->maxage; in utf8agemin() 2845 if (leaf_age <= tree->maxage && leaf_age < age) in utf8agemin() [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | intel_gt_buffer_pool_types.h | 31 unsigned long age; member
|
| /linux/drivers/md/dm-vdo/ |
| H A 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/mm/ |
| H A D | ksm.c | 212 rmap_age_t age; member 1056 unsigned char age; in remove_rmap_item_from_tree() local 1064 age = (unsigned char)(ksm_scan.seqnr - rmap_item->address); in remove_rmap_item_from_tree() 1065 BUG_ON(age > 1); in remove_rmap_item_from_tree() 1066 if (!age) in remove_rmap_item_from_tree() 2424 static unsigned int skip_age(rmap_age_t age) in skip_age() argument 2426 if (age <= 3) in skip_age() 2428 if (age <= 5) in skip_age() 2430 if (age <= 8) in skip_age() 2445 rmap_age_t age; in should_skip_rmap_item() local [all …]
|
| /linux/net/netfilter/ |
| H A D | nf_conncount.c | 103 u32 age; in find_or_evict() local 116 age = a - b; in find_or_evict() 117 if (conn->cpu == cpu || age >= 2) { in find_or_evict()
|
| /linux/include/scsi/ |
| H A D | libiscsi.h | 158 int age; member 359 int age; /* counts session re-opens */ member
|