| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | intel_gt_buffer_pool.c | 56 unsigned long age; in pool_free_older_than() local 60 age = READ_ONCE(node->age); in pool_free_older_than() 61 if (!age || jiffies - age < keep) in pool_free_older_than() 65 if (!xchg(&node->age, 0)) in pool_free_older_than() 116 GEM_BUG_ON(node->age); in pool_retire() 119 WRITE_ONCE(node->age, jiffies ?: 1); /* 0 reserved for active nodes */ in pool_retire() 152 node->age = 0; in node_create() 185 unsigned long age; in intel_gt_get_buffer_pool() local 193 age = READ_ONCE(node->age); in intel_gt_get_buffer_pool() 194 if (!age) in intel_gt_get_buffer_pool() [all …]
|
| /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 …]
|
| /linux/include/trace/events/ |
| H A D | damon.h | 94 __field(unsigned int, age) 105 __entry->age = r->age; 113 __entry->nr_accesses, __entry->age) 146 __field(unsigned int, age) 155 __entry->age = r->age; 161 __entry->nr_accesses, __entry->age)
|
| /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, 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/arch/mips/include/asm/sn/sn0/ |
| H A 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/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/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_update_schemes_tried_regions_wss_estimation.py | 19 # >= 25% access rate, >= 200ms age 20 nr_accesses=[5, 20], age=[2, 2**64 - 1]))] # schemes
|
| H A D | damos_quota.py | 23 # >= 25% access rate, >= 200ms age 24 nr_accesses=[5, 20], age=[2, 2**64 - 1]),
|
| H A D | sysfs.py | 113 assert_true(dump['min_age_region'] == pattern.age[0], 'min_age_region', 115 assert_true(dump['max_age_region'] == pattern.age[1], 'miaxage_region', 233 age=[5,71]),
|
| /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() 189 #define LRH_16B_PRN "age:%d becn:%d fecn:%d l4:%d " \ 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/fs/unicode/ |
| H A 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/include/uapi/linux/ |
| H A 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/mm/damon/ |
| H A 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() 104 __ATTR_RO_MODE(age, 0400); 1396 unsigned int age; member 1400 unsigned int nr_accesses, unsigned int age) in damon_sysfs_weights_alloc() argument 1409 weights->age = age; in damon_sysfs_weights_alloc() 1457 return sysfs_emit(buf, "%u\n", weights->age); in age_permil_show() 1465 int err = kstrtouint(buf, 0, &weights->age); in age_permil_store() 1729 struct damon_sysfs_ul_range *age; member [all …]
|
| H A D | ops-common.c | 119 age_in_sec = (unsigned long)r->age * c->attrs.aggr_interval / 1000000; in damon_hot_score() 124 /* If frequency is 0, higher age means it's colder */ in damon_hot_score() 130 * Scale it to be in [0, 100] and set it as age subscore. in damon_hot_score()
|
| H A D | core.c | 143 region->age = 0; in damon_new_region() 650 static unsigned int damon_age_for_new_attrs(unsigned int age, in damon_age_for_new_attrs() argument 653 return age * old_attrs->aggr_interval / new_attrs->aggr_interval; in damon_age_for_new_attrs() 705 r->age = damon_age_for_new_attrs(r->age, old_attrs, new_attrs); in damon_update_monitoring_result() 710 * aggregation interval that access to the region has found, and region->age is 714 * ->nr_accesses and ->age of given damon_ctx's regions for new damon_attrs. 1795 s->pattern.min_age_region <= r->age && in __damos_valid_target() 1796 r->age <= s->pattern.max_age_region; in __damos_valid_target() 2113 r->age = 0; in damos_apply_scheme() 2589 l->age = (l->age * sz_l + r->age * sz_r) / (sz_l + sz_r); in damon_merge_two_regions() [all …]
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | slab.rst | 198 INFO: Allocated in get_modalias+0x61/0xf5 age=53 cpu=1 pid=554 244 INFO: Allocated in <kernel function> age=<jiffies since alloc> cpu=<allocated by 246 INFO: Freed in <kernel function> age=<jiffies since free> cpu=<freed by cpu> 418 338 pci_alloc_dev+0x2c/0xa0 waste=521872/1544 age=290837/291891/293509 pid=1 cpus=106 nodes=0-1 449 1980 <not-available> age=4294912290 pid=0 cpus=0 450 51 acpi_ut_update_ref_count+0x6a6/0x782 age=236886/237027/237772 pid=1 cpus=1
|
| /linux/tools/usb/usbip/ |
| H A D | configure.ac | 9 AGE=0 10 AC_SUBST([LIBUSBIP_VERSION], [$CURRENT:$REVISION:$AGE], [library version])
|
| /linux/Documentation/netlink/specs/ |
| H A D | tcp_metrics.yaml | 39 name: age 151 - age
|
| /linux/include/linux/ |
| H A D | damon.h | 56 * @age: Age of this region. 73 * @age is initially zero, increased for each aggregation interval, and reset 75 * regions are merged into a new region, both @nr_accesses and @age of the new 85 unsigned int age; member 86 /* private: Internal value for age calculation. */ 239 * @weight_age: Weight of the region's age for prioritization. 479 * @min_age_region: Minimum age of target regions. 480 * @max_age_region: Maximum age of target regions.
|
| /linux/fs/f2fs/ |
| H A D | gc.h | 23 /* choose candidates from sections which has age of more than 7 days */ 27 #define DEF_GC_THREAD_AGE_WEIGHT 60 /* age weight */
|
| /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
|