Home
last modified time | relevance | path

Searched refs:age (Results 1 – 25 of 73) sorted by relevance

123

/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_buffer_pool.c55 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 Dintel_gt_buffer_pool_types.h31 unsigned long age; member
/linux/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/include/linux/
H A Dunicode.h19 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()
/linux/tools/testing/selftests/damon/
H A D_damon_sysfs.py40 age = None variable in DamosAccessPattern
43 def __init__(self, size=None, nr_accesses=None, age=None): argument
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[1])
179 def __init__(self, start, end, nr_accesses, age): argument
183 self.age = age
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]),
/linux/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,
/linux/fs/ubifs/
H A Dshrinker.c58 static int shrink_tnc(struct ubifs_info *c, int nr, int age, int *contention) in shrink_tnc() argument
110 abs(time - znode->time) >= age) { in shrink_tnc()
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/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, in hfi1_trace_parse_16b_hdr() argument
174 *age = hfi1_16B_get_age(hdr); in hfi1_trace_parse_16b_hdr()
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/mm/damon/
H A Dsysfs-schemes.c21 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()
96 __ATTR_RO_MODE(age, 0400);
1067 unsigned int age; member
1071 unsigned int nr_accesses, unsigned int age) in damon_sysfs_weights_alloc() argument
1081 weights->age = age; in damon_sysfs_weights_alloc()
1129 return sysfs_emit(buf, "%u\n", weights->age); in age_permil_show()
1137 int err = kstrtouint(buf, 0, &weights->age); in age_permil_store()
1344 struct damon_sysfs_ul_range *age; member
[all …]
H A Dcore.c135 region->age = 0; in damon_new_region()
542 static unsigned int damon_age_for_new_attrs(unsigned int age, in damon_age_for_new_attrs() argument
545 return age * old_attrs->aggr_interval / new_attrs->aggr_interval; in damon_age_for_new_attrs()
583 r->age = damon_age_for_new_attrs(r->age, old_attrs, new_attrs);
588 * aggregation interval that access to the region has found, and region->age is in damon_update_monitoring_results()
592 * ->nr_accesses and ->age of given damon_ctx's regions for new damon_attrs. in damon_update_monitoring_results()
1190 s->pattern.min_age_region <= r->age && in damos_valid_target()
1191 r->age <= s->pattern.max_age_region; in damos_valid_target()
1400 r->age
[all...]
H A Dcore-test.h
H A Dops-common.c86 age_in_sec = (unsigned long)r->age * c->attrs.aggr_interval / 1000000; in damon_hot_score()
/linux/drivers/scsi/
H A Dlibiscsi.c341 task->conn->session->age); in iscsi_prep_scsi_cmd_pdu()
787 task->conn->session->age); in iscsi_alloc_mgmt_task()
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()
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()
1420 iscsi_cmd(task->sc)->age, conn->session->age); in iscsi_itt_to_ctask()
1722 iscsi_cmd(sc)->age = conn->session->age; in iscsi_alloc_task()
[all …]
/linux/fs/unicode/
H A Dmkutf8data.c2309 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()
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; in utf8agemin() local
2839 age = tree->maxage; in utf8agemin()
2845 if (leaf_age <= tree->maxage && leaf_age < age) in utf8agemin()
[all …]
/linux/mm/
H A Dksm.c199 * @age: number of scan iterations since creation
213 rmap_age_t age; member
995 unsigned char age; in remove_rmap_item_from_tree()
1003 age = (unsigned char)(ksm_scan.seqnr - rmap_item->address); in remove_rmap_item_from_tree()
1004 BUG_ON(age > 1); in remove_rmap_item_from_tree()
1005 if (!age) in remove_rmap_item_from_tree()
2383 * Calculate skip age for the ksm page age. The age determines how often in get_next_rmap_item()
2384 * de-duplicating has already been tried unsuccessfully. If the age i in get_next_rmap_item()
1023 unsigned char age; remove_rmap_item_from_tree() local
2417 skip_age(rmap_age_t age) skip_age() argument
2438 rmap_age_t age; should_skip_rmap_item() local
[all...]
/linux/drivers/md/dm-vdo/
H A Dblock-map.h388 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/drivers/net/dsa/hirschmann/
H A Dhellcreek.c788 entry->age = (meta & HR_FDBMDRD_AGE_MASK) >> in hellcreek_populate_fdb_entry()
1072 .age = 0, in hellcreek_setup_fdb()
1083 .age = 0, in hellcreek_setup_fdb()
1094 .age = 0, in hellcreek_setup_fdb()
1105 .age = 0, in hellcreek_setup_fdb()
1116 .age = 0, in hellcreek_setup_fdb()
1127 .age = 0, in hellcreek_setup_fdb()
1138 .age = 0, in hellcreek_setup_fdb()
/linux/net/netfilter/
H A Dnf_conncount.c103 u32 age; in find_or_evict() local
116 age = a - b; in find_or_evict()
117 if (conn->cpu == cpu || age >= 2) { in find_or_evict()
/linux/include/scsi/
H A Dlibiscsi.h158 int age; member
359 int age; /* counts session re-opens */ member
/linux/drivers/net/ethernet/neterion/
H A DKconfig27 on its age.
/linux/Documentation/mm/
H A Dslub.rst190 INFO: Allocated in get_modalias+0x61/0xf5 age=53 cpu=1 pid=554
236 INFO: Allocated in <kernel function> age=<jiffies since alloc> cpu=<allocated by
238 INFO: Freed in <kernel function> age=<jiffies since free> cpu=<freed by cpu>
410 338 pci_alloc_dev+0x2c/0xa0 waste=521872/1544 age=290837/291891/293509 pid=1 cpus=106 nodes=0-1
441 1980 <not-available> age=4294912290 pid=0 cpus=0
442 51 acpi_ut_update_ref_count+0x6a6/0x782 age=236886/237027/237772 pid=1 cpus=1

123