/openbmc/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 192 age = READ_ONCE(node->age); in intel_gt_get_buffer_pool() 193 if (!age) in intel_gt_get_buffer_pool() [all …]
|
H A 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 */ \
|
/openbmc/linux/include/linux/ |
H A 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()
|
H A D | damon.h | 44 * @age: Age of this region. 46 * @age is initially zero, increased for each aggregation interval, and reset 48 * regions are merged into a new region, both @nr_accesses and @age of the new 57 unsigned int age; member 58 /* private: Internal value for age calculation. */ 121 * @weight_age: Weight of the region's age for prioritization. 285 * @min_age_region: Minimum age of target regions. 286 * @max_age_region: Maximum age of target regions.
|
/openbmc/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()
|
/openbmc/linux/include/trace/events/ |
H A D | damon.h | 25 __field(unsigned int, age) 34 __entry->age = r->age; 40 __entry->nr_accesses, __entry->age)
|
/openbmc/linux/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
H A 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>
|
/openbmc/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 */
|
/openbmc/qemu/tests/unit/ |
H A D | rcutorture.c | 232 int age; /* how many update cycles while not rcu_stress_current */ member 270 pc = qatomic_read(&p->age); in rcu_read_stress_test() 293 * one of the rcu_stress_array_entries and resets it's age. It 294 * then increments the age of all the other entries. The age 323 qatomic_set(&p->age, 0); in rcu_update_stress_test() 333 qatomic_set(&rcu_stress_array[i].age, in rcu_update_stress_test() 334 rcu_stress_array[i].age + 1); in rcu_update_stress_test() 367 rcu_stress_current->age = 0; in stresstest() 397 rcu_stress_current->age = 0; in gtest_stress()
|
/openbmc/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'])
|
/openbmc/linux/fs/f2fs/ |
H A D | extent_cache.c | 48 unsigned long age, unsigned long last_blocks, in __set_extent_info() argument 62 ei->age = age; in __set_extent_info() 131 abs(back->age - front->age) <= SAME_AGE_REGION && in __is_extent_mergeable() 438 /* initialize block age cache */ in f2fs_init_extent_tree() 630 tei->age, tei->last_blocks); in __update_extent_tree_range() 683 dei.age, dei.last_blocks, in __update_extent_tree_range() 692 dei.age, dei.last_blocks, in __update_extent_tree_range() 756 tei->age, tei->last_blocks, EX_BLOCK_AGE); in __update_extent_tree_range() 830 /* This returns a new age and allocated blocks in ei */ 842 * file block even in seq write. So don't record age for newly last file in __get_new_block_age() [all …]
|
H A D | gc.c | 341 unsigned char age = 0; in get_cb_cost() local 361 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), in get_cb_cost() 364 return UINT_MAX - ((100 * (100 - u) * age) / (100 + u)); in get_cb_cost() 531 unsigned long long age, u, accu; in atgc_lookup_victim() local 562 /* age = 10000 * x% * 60 */ in atgc_lookup_victim() 563 age = div64_u64(accu * (max_mtime - ve->mtime), total_time) * in atgc_lookup_victim() 573 f2fs_bug_on(sbi, age + u >= UINT_MAX); in atgc_lookup_victim() 575 cost = UINT_MAX - (age + u); in atgc_lookup_victim() 579 (cost == p->min_cost && age > p->oldest_age)) { in atgc_lookup_victim() 581 p->oldest_age = age; in atgc_lookup_victim() [all …]
|
/openbmc/linux/mm/damon/ |
H A 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); 786 unsigned int age; member 790 unsigned int nr_accesses, unsigned int age) in damon_sysfs_weights_alloc() argument 800 weights->age = age; in damon_sysfs_weights_alloc() 848 return sysfs_emit(buf, "%u\n", weights->age); in age_permil_show() 856 int err = kstrtouint(buf, 0, &weights->age); in age_permil_store() 1028 struct damon_sysfs_ul_range *age; member [all …]
|
H A 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()
|
H A D | core.c | 133 region->age = 0; in damon_new_region() 494 static unsigned int damon_age_for_new_attrs(unsigned int age, in damon_age_for_new_attrs() argument 497 return age * old_attrs->aggr_interval / new_attrs->aggr_interval; in damon_age_for_new_attrs() 528 r->age = damon_age_for_new_attrs(r->age, old_attrs, new_attrs); in damon_update_monitoring_result() 533 * aggregation interval that access to the region has found, and region->age is 537 * ->nr_accesses and ->age of given damon_ctx's regions for new damon_attrs. 797 s->pattern.min_age_region <= r->age && in __damos_valid_target() 798 r->age <= s->pattern.max_age_region; in __damos_valid_target() 977 r->age = 0; in damos_apply_scheme() 1130 l->age = (l->age * sz_l + r->age * sz_r) / (sz_l + sz_r); in damon_merge_two_regions() [all …]
|
/openbmc/openbmc-test-automation/redfish/service_root/ |
H A D | test_service_root_security.robot | 14 &{header_requirements} Strict-Transport-Security=max-age=31536000; includeSubdomains 17 ... Cache-Control=no-store, max-age=0 119 # Strict-Transport-Security: max-age=31536000; includeSubdomains 122 # Cache-Control: no-store, max-age=0 140 # [Strict-Transport-Security]: max-age=31536000; includeSubdomains 143 # [Cache-Control]: no-store, max-age=0
|
/openbmc/linux/Documentation/admin-guide/mm/damon/ |
H A D | usage.rst | 83 │ │ │ │ │ │ │ │ age/min,max 91 │ │ │ │ │ │ │ │ 0/start,end,nr_accesses,age 307 ``nr_accesses``, and ``age``) each having two files (``min`` and ``max``) 310 ``nr_accesses``, and ``age`` directories, respectively. Note that the ``min`` 332 <damon_design_damos_quotas_prioritization>` for size, access frequency, and age 435 ``nr_accesses``, and ``age`` of the region. 454 ``nr_accesses``, and ``age``). Reading the files will show the start and end 455 addresses, ``nr_accesses``, and ``age`` of the region that corresponding 465 limitation, page out memory regions having longer age first. Also, check the 480 # echo 10 > access_pattern/age/min [all …]
|
/openbmc/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,
|
/openbmc/linux/include/uapi/linux/ |
H A D | tcp_metrics.h | 36 TCP_METRICS_ATTR_TW_TS_STAMP, /* s32, sec age */ 40 TCP_METRICS_ATTR_FOPEN_SYN_DROP_TS, /* msecs age */
|
/openbmc/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 …]
|
/openbmc/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() 1417 if (iscsi_cmd(task->sc)->age != conn->session->age) { in iscsi_itt_to_ctask() [all …]
|
/openbmc/linux/Documentation/admin-guide/laptops/ |
H A 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
|
/openbmc/openbmc-tools/expectedJsonChecker/ |
H A D | README.md | 39 [{"age": 5}, {"name": "Joe"}]} 42 [{"age": 4}, {"name": "Joe"}]} 45 [{"age": 3}, {"name": "Moe"}]} 47 documents that do not meet the expression. i.e.) {"$not": {"age": 4}}
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-kernel-mm-damon | 178 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/age/min 182 'age' of the scheme's target regions. 184 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/age/max 188 'age' of the scheme's target regions. 226 under-quota limit regions prioritization weight for 'age' in 373 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/age 376 Description: Reading this file returns the 'age' of a memory region that
|
/openbmc/bmcweb/include/ |
H A D | security_headers.hpp | 15 res.addHeader(bf::strict_transport_security, "max-age=31536000; " in addSecurityHeaders() 22 res.addHeader(bf::cache_control, "no-store, max-age=0"); in addSecurityHeaders()
|