Home
last modified time | relevance | path

Searched full:age (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_gt_buffer_pool.c59 unsigned long age; in pool_free_older_than() local
63 age = READ_ONCE(node->age); in pool_free_older_than()
64 if (!age || jiffies - age < keep) in pool_free_older_than()
68 if (!xchg(&node->age, 0)) in pool_free_older_than()
137 GEM_BUG_ON(node->age); in pool_retire()
140 WRITE_ONCE(node->age, jiffies ?: 1); /* 0 reserved for active nodes */ in pool_retire()
159 node->age = 0; in node_create()
189 unsigned long age; in intel_gt_get_buffer_pool() local
194 age = READ_ONCE(node->age); in intel_gt_get_buffer_pool()
195 if (!age) in intel_gt_get_buffer_pool()
[all …]
Dintel_mocs.c174 /* Age 0 - LLC */ \
178 /* Age 0 - L3 + LLC */ \
182 /* Age: Don't Chg. - LLC */ \
186 /* Age: Don't Chg. - L3 + LLC */ \
198 /* No AOM; Age 0 - LLC */ \
202 /* No AOM; Age 0 - L3 + LLC */ \
206 /* No AOM; Age:DC - LLC */ \
210 /* No AOM; Age:DC - L3 + LLC */ \
/kernel/linux/linux-6.6/include/linux/
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()
/kernel/linux/linux-6.6/fs/ubifs/
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) 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()
/kernel/linux/linux-5.10/fs/ubifs/
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) 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()
/kernel/linux/linux-5.10/fs/unicode/
Dutf8-norm.c402 * Maximum age of any character in s.
409 int age = 0; in utf8agemax() local
422 if (leaf_age <= data->maxage && leaf_age > age) in utf8agemax()
423 age = leaf_age; in utf8agemax()
426 return age; in utf8agemax()
431 * Minimum age of any character in s.
438 int age; in utf8agemin() local
444 age = data->maxage; in utf8agemin()
450 if (leaf_age <= data->maxage && leaf_age < age) in utf8agemin()
451 age = leaf_age; in utf8agemin()
[all …]
/kernel/linux/linux-6.6/include/trace/events/
Ddamon.h25 __field(unsigned int, age)
34 __entry->age = r->age;
40 __entry->nr_accesses, __entry->age)
/kernel/linux/linux-6.6/Documentation/translations/zh_CN/admin-guide/mm/damon/
Dusage.rst80 │ │ │ │ │ │ │ │ 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>
/kernel/linux/linux-6.6/arch/mips/include/asm/sn/sn0/
Dhubni.h46 #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 */
/kernel/linux/linux-5.10/arch/mips/include/asm/sn/sn0/
Dhubni.h46 #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 */
/kernel/linux/linux-6.6/scripts/gdb/linux/
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'])
/kernel/linux/linux-6.6/fs/f2fs/
Dextent_cache.c58 unsigned long age, unsigned long last_blocks, in __set_extent_info() argument
72 ei->age = age; in __set_extent_info()
141 abs(back->age - front->age) <= SAME_AGE_REGION && in __is_extent_mergeable()
447 /* initialize block age cache */ in f2fs_init_extent_tree()
615 tei->age, tei->last_blocks); in __update_extent_tree_range()
668 dei.age, dei.last_blocks, in __update_extent_tree_range()
677 dei.age, dei.last_blocks, in __update_extent_tree_range()
744 tei->age, tei->last_blocks, EX_BLOCK_AGE); in __update_extent_tree_range()
815 /* This returns a new age and allocated blocks in ei */
827 * file block even in seq write. So don't record age for newly last file in __get_new_block_age()
[all …]
/kernel/linux/linux-6.6/mm/damon/
Dsysfs-schemes.c20 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 …]
Dops-common.c86 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()
Dcore.c133 region->age = 0; in damon_new_region()
473 static unsigned int damon_age_for_new_attrs(unsigned int age, in damon_age_for_new_attrs() argument
476 return age * old_attrs->aggr_interval / new_attrs->aggr_interval; in damon_age_for_new_attrs()
507 r->age = damon_age_for_new_attrs(r->age, old_attrs, new_attrs); in damon_update_monitoring_result()
512 * aggregation interval that access to the region has found, and region->age is
516 * ->nr_accesses and ->age of given damon_ctx's regions for new damon_attrs.
772 s->pattern.min_age_region <= r->age && in __damos_valid_target()
773 r->age <= s->pattern.max_age_region; in __damos_valid_target()
952 r->age = 0; in damos_apply_scheme()
1083 l->age = (l->age * sz_l + r->age * sz_r) / (sz_l + sz_r); in damon_merge_two_regions()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/savage/
Dsavage_bci.c236 SET_AGE(&entry->age, 0, 0); in savage_freelist_init()
265 DRM_DEBUG(" tail=0x%04x %d\n", tail->age.event, tail->age.wrap); in savage_freelist_get()
268 if (tail->buf && (TEST_AGE(&tail->age, event, wrap) || event == 0)) { in savage_freelist_get()
286 DRM_DEBUG("age=0x%04x wrap=%d\n", entry->age.event, entry->age.wrap); in savage_freelist_put()
317 SET_AGE(&dev_priv->dma_pages[i].age, 0, 0); in savage_dma_init()
336 SET_AGE(&dev_priv->dma_pages[i].age, event, wrap); in savage_dma_reset()
349 /* Faked DMA buffer pages don't age. */ in savage_dma_wait()
362 if (dev_priv->dma_pages[page].age.wrap > wrap || in savage_dma_wait()
363 (dev_priv->dma_pages[page].age.wrap == wrap && in savage_dma_wait()
364 dev_priv->dma_pages[page].age.event > event)) { in savage_dma_wait()
[all …]
Dsavage_drv.h66 drm_savage_age_t age; member
71 drm_savage_age_t age; member
572 #define SET_AGE( age, e, w ) do { \ argument
573 (age)->event = e; \
574 (age)->wrap = w; \
577 #define TEST_AGE( age, e, w ) \ argument
578 ( (age)->wrap < (w) || ( (age)->wrap == (w) && (age)->event <= (e) ) )
/kernel/linux/linux-5.10/drivers/gpu/drm/mga/
Dmga_drv.h82 drm_mga_age_t age; member
356 #define SET_AGE(age, h, w) \ argument
358 (age)->head = h; \
359 (age)->wrap = w; \
362 #define TEST_AGE(age, h, w) ((age)->wrap < w || \ argument
363 ((age)->wrap == w && \
364 (age)->head < h))
370 entry->age.head = (dev_priv->prim.tail + \
372 entry->age.wrap = dev_priv->sarea_priv->last_wrap; \
374 entry->age.head = 0; \
[all …]
Dmga_dma.c236 DRM_INFO(" %p idx=%2d age=0x%x 0x%06lx\n", in mga_freelist_print()
237 entry, entry->buf->idx, entry->age.head, in mga_freelist_print()
238 (unsigned long)(entry->age.head - dev_priv->primary->offset)); in mga_freelist_print()
257 SET_AGE(&dev_priv->head->age, MGA_BUFFER_USED, 0); in mga_freelist_init()
269 SET_AGE(&entry->age, MGA_BUFFER_FREE, 0); in mga_freelist_init()
317 SET_AGE(&buf_priv->list_entry->age, MGA_BUFFER_FREE, 0);
335 tail->age.head ? in mga_freelist_get()
336 (unsigned long)(tail->age.head - dev_priv->primary->offset) : 0, in mga_freelist_get()
337 tail->age.wrap); in mga_freelist_get()
341 if (TEST_AGE(&tail->age, head, wrap)) { in mga_freelist_get()
[all …]
/kernel/linux/linux-6.6/Documentation/admin-guide/mm/damon/
Dusage.rst83 │ │ │ │ │ │ │ │ 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 …]
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
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,
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dtrace_ibhdrs.h127 u8 *age, bool *becn, bool *fecn,
133 u8 age, bool becn, bool fecn, u8 l4,
164 __field(u8, age)
201 &__entry->age,
267 __entry->age,
324 __field(u8, age)
361 &__entry->age,
431 __entry->age,
/kernel/linux/linux-6.6/include/uapi/linux/
Dtcp_metrics.h36 TCP_METRICS_ATTR_TW_TS_STAMP, /* s32, sec age */
40 TCP_METRICS_ATTR_FOPEN_SYN_DROP_TS, /* msecs age */
/kernel/linux/linux-5.10/include/uapi/linux/
Dtcp_metrics.h36 TCP_METRICS_ATTR_TW_TS_STAMP, /* s32, sec age */
40 TCP_METRICS_ATTR_FOPEN_SYN_DROP_TS, /* msecs age */

12345678910>>...16