Searched refs:age (Results 1 - 25 of 62) sorted by relevance

123

/linux-master/include/trace/events/
H A Ddamon.h29 __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 Dunicode.h19 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 Dintel_gt_buffer_pool.c55 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 Dintel_gt_buffer_pool_types.h31 unsigned long age; member in struct:intel_gt_buffer_pool_node
/linux-master/tools/testing/selftests/damon/
H A Ddamos_apply_interval.py22 # >= 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 Dsysfs_update_schemes_tried_regions_wss_estimation.py19 # >= 25% access rate, >= 200ms age
20 nr_accesses=[5, 20], age=[2, 2**64 - 1]))] # schemes
H A Ddamos_quota.py23 # >= 25% access rate, >= 200ms age
24 nr_accesses=[5, 20], age=[2, 2**64 - 1]),
H A D_damon_sysfs.py40 age = None variable in class:DamosAccessPattern
43 def __init__(self, size=None, nr_accesses=None, age=None):
46 self.age = age
52 if self.age is None:
53 self.age = [0, 2**64 - 1]
76 os.path.join(self.sysfs_dir(), 'age', 'min'), self.age[0])
80 os.path.join(self.sysfs_dir(), 'age', 'max'), self.age[
[all...]
/linux-master/fs/ubifs/
H A Dshrinker.c23 * 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 Dslab.py119 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 Dtrace_ibhdrs.h86 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 Dtrace.c169 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 Dsysfs-schemes.c20 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);
1066 unsigned int age; member in struct:damon_sysfs_weights
1070 unsigned int nr_accesses, unsigned int age)
1080 weights->age = age;
1128 return sysfs_emit(buf, "%u\n", weights->age);
1069 damon_sysfs_weights_alloc(unsigned int sz, unsigned int nr_accesses, unsigned int age) argument
1343 struct damon_sysfs_ul_range *age; member in struct:damon_sysfs_access_pattern
[all...]
H A Dcore.c135 region->age = 0;
539 static unsigned int damon_age_for_new_attrs(unsigned int age, argument
542 return age * old_attrs->aggr_interval / new_attrs->aggr_interval;
574 r->age = damon_age_for_new_attrs(r->age, old_attrs, new_attrs);
579 * aggregation interval that access to the region has found, and region->age is
583 * ->nr_accesses and ->age of given damon_ctx's regions for new damon_attrs.
848 s->pattern.min_age_region <= r->age &&
849 r->age <= s->pattern.max_age_region;
1058 r->age
[all...]
H A Dops-common.c86 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 Dcore-test.h324 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 Dextent_cache.c57 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 Dgc.c339 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 Dmkutf8data.c1621 /* 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 Dblock-map.h375 * 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 Dlibiscsi.c341 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 Dksm.c199 * @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)
2501 * Calculate skip age for the ksm page age. The age determines how often
2502 * de-duplicating has already been tried unsuccessfully. If the age i
2507 skip_age(rmap_age_t age) argument
2528 rmap_age_t age; local
[all...]
/linux-master/include/scsi/
H A Dlibiscsi.h158 int age; member in struct:iscsi_cmd
359 int age; /* counts session re-opens */ member in struct:iscsi_session
H A Discsi_proto.h68 #define build_itt(itt, age) ((__force itt_t)\
69 ((itt) | ((age) << ISCSI_AGE_SHIFT)))
/linux-master/net/netfilter/
H A Dnf_conncount.c103 u32 age; local
116 age = a - b;
117 if (conn->cpu == cpu || age >= 2) {

Completed in 303 milliseconds

123