/linux-master/include/trace/events/ |
H A D | damon.h | 29 __field(unsigned int, age) 40 __entry->age = r->age; 48 __entry->nr_accesses, __entry->age) 64 __field(unsigned int, age) 73 __entry->age = r->age; 79 __entry->nr_accesses, __entry->age)
|
/linux-master/include/linux/ |
H A D | unicode.h | 19 static inline u8 unicode_major(unsigned int age) argument 21 return (age >> UNICODE_MAJ_SHIFT) & 0xff; 24 static inline u8 unicode_minor(unsigned int age) argument 26 return (age >> UNICODE_MIN_SHIFT) & 0xff; 29 static inline u8 unicode_rev(unsigned int age) argument 31 return age & 0xff;
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_buffer_pool.c | 55 unsigned long age; local 59 age = READ_ONCE(node->age); 60 if (!age || jiffies - age < keep) 64 if (!xchg(&node->age, 0)) 115 GEM_BUG_ON(node->age); 118 WRITE_ONCE(node->age, jiffies ?: 1); /* 0 reserved for active nodes */ 151 node->age = 0; 184 unsigned long age; local [all...] |
H A D | intel_gt_buffer_pool_types.h | 31 unsigned long age; member in struct:intel_gt_buffer_pool_node
|
/linux-master/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 | 29 age = None variable in class:DamosAccessPattern 32 def __init__(self, size=None, nr_accesses=None, age=None): 35 self.age = age 41 if self.age == None: 42 self.age = [0, 2**64 - 1] 65 os.path.join(self.sysfs_dir(), 'age', 'min'), self.age[0]) 69 os.path.join(self.sysfs_dir(), 'age', 'max'), self.age[ [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]),
|
/linux-master/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) argument 73 * children are older or of the same age. 110 abs(time - znode->time) >= age) { 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) argument [all...] |
/linux-master/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-master/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, 174 *age = hfi1_16B_get_age(hdr); 189 #define LRH_16B_PRN "age:%d becn:%d fecn:%d l4:%d " \ 192 u8 age, bool becn, bool fecn, u8 l4, 203 age, becn, fecn, l4, rc, sc, pkey, entropy); 168 hfi1_trace_parse_16b_hdr(struct hfi1_16b_header *hdr, u8 *age, bool *becn, bool *fecn, u8 *l4, u8 *rc, u8 *sc, u16 *entropy, u16 *len, u16 *pkey, u32 *dlid, u32 *slid) argument 191 hfi1_trace_fmt_lrh(struct trace_seq *p, bool bypass, u8 age, bool becn, bool fecn, u8 l4, u8 lnh, const char *lnh_name, u8 lver, u8 rc, u8 sc, u8 sl, u16 entropy, u16 len, u16 pkey, u32 dlid, u32 slid) argument
|
/linux-master/mm/damon/ |
H A D | sysfs-schemes.c | 20 unsigned int age; member in struct:damon_sysfs_scheme_region 35 sysfs_region->age = region->age; 73 return sysfs_emit(buf, "%u\n", region->age); 95 __ATTR_RO_MODE(age, 0400); 1065 unsigned int age; member in struct:damon_sysfs_weights 1069 unsigned int nr_accesses, unsigned int age) 1079 weights->age = age; 1127 return sysfs_emit(buf, "%u\n", weights->age); 1068 damon_sysfs_weights_alloc(unsigned int sz, unsigned int nr_accesses, unsigned int age) argument 1342 struct damon_sysfs_ul_range *age; member in struct:damon_sysfs_access_pattern [all...] |
H A D | core.c | 135 region->age = 0; 538 static unsigned int damon_age_for_new_attrs(unsigned int age, argument 541 return age * old_attrs->aggr_interval / new_attrs->aggr_interval; 573 r->age = damon_age_for_new_attrs(r->age, old_attrs, new_attrs); 578 * aggregation interval that access to the region has found, and region->age is 582 * ->nr_accesses and ->age of given damon_ctx's regions for new damon_attrs. 847 s->pattern.min_age_region <= r->age && 848 r->age <= s->pattern.max_age_region; 1057 r->age [all...] |
H A D | ops-common.c | 86 age_in_sec = (unsigned long)r->age * c->attrs.aggr_interval / 1000000; 91 /* If frequency is 0, higher age means it's colder */ 97 * Scale it to be in [0, 100] and set it as age subscore.
|
H A D | core-test.h | 324 r->age = 20; 330 KUNIT_EXPECT_EQ(test, r->age, 2); 336 KUNIT_EXPECT_EQ(test, r->age, 2); 342 KUNIT_EXPECT_EQ(test, r->age, 20);
|
/linux-master/fs/f2fs/ |
H A D | extent_cache.c | 57 unsigned long age, unsigned long last_blocks, 71 ei->age = age; 140 abs(back->age - front->age) <= SAME_AGE_REGION && 446 /* initialize block age cache */ 614 tei->age, tei->last_blocks); 667 dei.age, dei.last_blocks, 676 dei.age, dei.last_blocks, 743 tei->age, te 54 __set_extent_info(struct extent_info *ei, unsigned int fofs, unsigned int len, block_t blk, bool keep_clen, unsigned long age, unsigned long last_blocks, enum extent_type type) argument [all...] |
H A D | gc.c | 339 unsigned char age = 0; local 359 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), 362 return UINT_MAX - ((100 * (100 - u) * age) / (100 + u)); 529 unsigned long long age, u, accu; local 560 /* age = 10000 * x% * 60 */ 561 age = div64_u64(accu * (max_mtime - ve->mtime), total_time) * 571 f2fs_bug_on(sbi, age + u >= UINT_MAX); 573 cost = UINT_MAX - (age + u); 577 (cost == p->min_cost && age > p->oldest_age)) { 579 p->oldest_age = age; 599 unsigned long long age; local 743 f2fs_get_victim(struct f2fs_sb_info *sbi, unsigned int *result, int gc_type, int type, char alloc_mode, unsigned long long age) argument [all...] |
/linux-master/fs/unicode/ |
H A D | mkutf8data.c | 1621 /* Two trees per age: nfdi and nfdicf */ 1978 printf("%d age entries\n", ages_count); 2309 unsigned int age; local 2349 age = UNICODE_AGE(major, minor, revision); 2350 corrections[count].correction = age; 2799 * Maximum age of any character in s. 2806 int age = 0; local 2818 if (leaf_age <= tree->maxage && leaf_age > age) 2819 age = leaf_age; 2822 return age; 2833 int age; local 2859 int age = 0; local 2887 int age; local [all...] |
/linux-master/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) argument 390 return DIV_ROUND_UP(age * RECOVERY_JOURNAL_1_ENTRIES_PER_BLOCK,
|
/linux-master/drivers/scsi/ |
H A D | libiscsi.c | 341 task->conn->session->age); 787 task->conn->session->age); 1178 * the LDD's itt space does not include the session age. 1368 int age = 0, i = 0; local 1374 session->tt->parse_pdu_itt(conn, itt, &i, &age); 1377 age = ((__force u32)itt >> ISCSI_AGE_SHIFT) & ISCSI_AGE_MASK; 1380 if (age != session->age) { 1382 "received itt %x expected session age (%x)\n", 1383 (__force u32)itt, session->age); 2351 int age; local [all...] |
/linux-master/mm/ |
H A D | ksm.c | 199 * @age: number of scan iterations since creation 213 rmap_age_t age; member in struct:ksm_rmap_item 1027 unsigned char age; local 1035 age = (unsigned char)(ksm_scan.seqnr - rmap_item->address); 1036 BUG_ON(age > 1); 1037 if (!age) 2495 * Calculate skip age for the ksm page age. The age determines how often 2496 * de-duplicating has already been tried unsuccessfully. If the age i 2501 skip_age(rmap_age_t age) argument 2522 rmap_age_t age; local [all...] |
/linux-master/include/scsi/ |
H A D | libiscsi.h | 158 int age; member in struct:iscsi_cmd 359 int age; /* counts session re-opens */ member in struct:iscsi_session
|
H A D | iscsi_proto.h | 68 #define build_itt(itt, age) ((__force itt_t)\ 69 ((itt) | ((age) << ISCSI_AGE_SHIFT)))
|
/linux-master/net/netfilter/ |
H A D | nf_conncount.c | 103 u32 age; local 116 age = a - b; 117 if (conn->cpu == cpu || age >= 2) {
|