/linux/Documentation/mm/damon/ |
H A D | monitoring_intervals_tuning_example.rst | 38 frequency and the age of the region. If the access frequency is 0 %, the 45 0 addr 16.052 GiB size 5.985 GiB access 0 % age 5.900 s # coldest 46 1 addr 22.037 GiB size 6.029 GiB access 0 % age 5.300 s 47 2 addr 28.065 GiB size 6.045 GiB access 0 % age 5.200 s 48 3 addr 10.069 GiB size 5.983 GiB access 0 % age 4.500 s 49 4 addr 4.000 GiB size 6.069 GiB access 0 % age 4.400 s 50 5 addr 62.008 GiB size 3.992 GiB access 0 % age 3.700 s 51 6 addr 56.795 GiB size 5.213 GiB access 0 % age 3.300 s 52 7 addr 39.393 GiB size 6.096 GiB access 0 % age 2.800 s 53 8 addr 50.782 GiB size 6.012 GiB access 0 % age 2.80 [all...] |
/linux/drivers/gpu/drm/i915/gt/ |
H A 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 [all...] |
H A D | intel_gt_buffer_pool_types.h | 31 unsigned long age; member
|
/linux/include/trace/events/ |
H A D | damon.h | 53 __field(unsigned int, age) 64 __entry->age = r->age; 72 __entry->nr_accesses, __entry->age) 105 __field(unsigned int, age) 114 __entry->age = r->age; 120 __entry->nr_accesses, __entry->age)
|
/linux/include/linux/ |
H A D | unicode.h | 21 static inline u8 unicode_major(unsigned int age) in unicode_major() argument 23 return (age >> UNICODE_MAJ_SHIFT) & 0xff; in unicode_major() 26 static inline u8 unicode_minor(unsigned int age) in unicode_minor() argument 28 return (age >> UNICODE_MIN_SHIFT) & 0xff; in unicode_minor() 31 static inline u8 unicode_rev(unsigned int age) in unicode_rev() argument 33 return age & 0xff; in unicode_rev()
|
/linux/Documentation/translations/zh_TW/admin-guide/mm/damon/ |
H A D | usage.rst | 75 │ │ │ │ │ │ │ │ age/min,max 81 │ │ │ │ │ │ │ │ 0/start,end,nr_accesses,age 227 在 ``access_pattern`` 目錄下,存在三個目錄( ``sz``, ``nr_accesses``, 和 ``age`` ), 229 ``age`` 目錄下的 ``min`` 和 ``max`` 文件分別寫入和讀取來設置和獲取給定方案的訪問模式。 293 在每個區域目錄中,你會發現四個文件(``start``, ``end``, ``nr_accesses``, and ``age``)。 316 # echo 10 > access_pattern/age/min 317 # echo 20 > access_pattern/age/max
|
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 | usage.rst | 75 │ │ │ │ │ │ │ │ age/min,max 81 │ │ │ │ │ │ │ │ 0/start,end,nr_accesses,age 227 在 ``access_pattern`` 目录下,存在三个目录( ``sz``, ``nr_accesses``, 和 ``age`` ), 229 ``age`` 目录下的 ``min`` 和 ``max`` 文件分别写入和读取来设置和获取给定方案的访问模式。 293 在每个区域目录中,你会发现四个文件(``start``, ``end``, ``nr_accesses``, and ``age``)。 316 # echo 10 > access_pattern/age/min 317 # echo 20 > access_pattern/age/max
|
H A D | start.rst | 122 $ echo "#min-size max-size min-acc max-acc min-age max-age action" > test_scheme
|
/linux/fs/ubifs/ |
H A 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, unti 144 shrink_tnc_trees(int nr,int age,int * contention) shrink_tnc_trees() argument [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, 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/tools/testing/selftests/bpf/progs/ |
H A D | bpf_qdisc_fq.c | 79 u64 age; member 213 /* flow->age is used to denote the state of the flow (not-detached, detached, throttled) 222 flow->age = bpf_jiffies64(); in fq_flow_set_detached() 227 return flow->age != 0 && flow->age != ~0ULL; in fq_flow_is_detached() 249 flow->age = 1, in fq_new_flow() 353 if ((s64)(jiffies - (flow_copy->age + q.flow_refill_delay)) > 0) { in BPF_PROG() 357 flow_copy->age = 0; in BPF_PROG() 421 flow->age = 0; in fq_unset_throttled_flows() 429 flow->age in fq_flow_set_throttled() [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,
|
/linux/tools/testing/selftests/kvm/lib/ |
H A D | lru_gen_util.c | 128 char *gen, *age, *nr_anon, *nr_file; in memcg_stats_handle_in_node() local 155 age = split_next(&it); in memcg_stats_handle_in_node() 159 TEST_ASSERT(age && nr_anon && nr_file, in memcg_stats_handle_in_node() 165 gen_stats->age_ms = strtol(age, &end, 10); in memcg_stats_handle_in_node() 166 TEST_ASSERT(*end == '\0', "malformed generation age '%s'", age); in memcg_stats_handle_in_node()
|
/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() 475 /* initialize block age cache */ in f2fs_init_extent_tree() 672 tei->age, tei->last_blocks); in __update_extent_tree_range() 727 dei.age, dei.last_blocks, in __update_extent_tree_range() 736 dei.age, dei.last_blocks, in __update_extent_tree_range() 800 tei->age, te in __update_extent_tree_range() [all...] |
H A D | gc.c | 365 unsigned char age = 0; in get_cb_cost() local 382 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), in get_cb_cost() 385 return UINT_MAX - ((100 * (100 - u) * age) / (100 + u)); in get_cb_cost() 554 unsigned long long age, u, accu; in atgc_lookup_victim() local 585 /* age = 10000 * x% * 60 */ in atgc_lookup_victim() 586 age = div64_u64(accu * (max_mtime - ve->mtime), total_time) * in atgc_lookup_victim() 596 f2fs_bug_on(sbi, age + u >= UINT_MAX); in atgc_lookup_victim() 598 cost = UINT_MAX - (age + u); in atgc_lookup_victim() 602 (cost == p->min_cost && age > p->oldest_age)) { in atgc_lookup_victim() 604 p->oldest_age = age; in atgc_lookup_victim() 624 unsigned long long age; atssr_lookup_victim() local 770 f2fs_get_victim(struct f2fs_sb_info * sbi,unsigned int * result,int gc_type,int type,char alloc_mode,unsigned long long age,bool one_time) f2fs_get_victim() argument [all...] |
/linux/tools/testing/selftests/damon/ |
H A 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]),
|
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[ 383 __init__(self, start, end, nr_accesses, age) global() argument [all...] |
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', 214 age=[5,71]),
|
/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() 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() 1915 iscsi_exec_task_mgmt_fn(struct iscsi_conn * conn,struct iscsi_tm * hdr,int age,int timeout) iscsi_exec_task_mgmt_fn() argument 2352 int age; iscsi_eh_abort() local [all...] |
/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); 1290 unsigned int age; member 1294 unsigned int nr_accesses, unsigned int age) in damon_sysfs_weights_alloc() argument 1304 weights->age = age; in damon_sysfs_weights_alloc() 1352 return sysfs_emit(buf, "%u\n", weights->age); in age_permil_show() 1567 struct damon_sysfs_ul_range *age; global() member [all...] |
H A D | core.c | 135 region->age = 0; in damon_new_region() 573 static unsigned int damon_age_for_new_attrs(unsigned int age, in damon_age_for_new_attrs() argument 576 return age * old_attrs->aggr_interval / new_attrs->aggr_interval; in damon_age_for_new_attrs() 628 r->age = damon_age_for_new_attrs(r->age, old_attrs, new_attrs); in damon_update_monitoring_result() 633 * aggregation interval that access to the region has found, and region->age is 637 * ->nr_accesses and ->age of given damon_ctx's regions for new damon_attrs. 1572 s->pattern.min_age_region <= r->age && in __damos_valid_target() 1573 r->age <= s->pattern.max_age_region; in __damos_valid_target() 1873 r->age in damos_apply_scheme() [all...] |
/linux/fs/unicode/ |
H A D | mkutf8data.c | 1621 /* Two trees per age: nfdi and nfdicf */ in trees_init() 1978 printf("%d age entries\n", ages_count); in age_init() 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() 2799 * Maximum age of any character in s. 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; utf8agemin() local 2859 int age = 0; utf8nagemax() local 2887 int age; utf8nagemin() local [all...] |
/linux/drivers/md/dm-vdo/ |
H A 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/mm/damon/tests/ |
H A 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()
|