Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
H A 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
[all...]
H A Dintel_gt_buffer_pool_types.h33 unsigned long age; member
/kernel/linux/linux-6.6/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
[all...]
H A Dintel_gt_buffer_pool_types.h31 unsigned long age; member
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/fs/unicode/
H A 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 in utf8agemin()
465 int age = 0; utf8nagemax() local
494 int age; utf8nagemin() local
[all...]
H A Dmkutf8data.c1621 /* Two trees per age: nfdi and nfdicf */ in trees_init()
1978 printf("%d age entries\n", ages_count); in age_init()
2309 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()
2799 * Maximum age of any character in s.
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; utf8agemin() local
2859 int age = 0; utf8nagemax() local
2887 int age; utf8nagemin() local
[all...]
/kernel/linux/linux-6.6/include/trace/events/
H A Ddamon.h25 __field(unsigned int, age)
34 __entry->age = r->age;
40 __entry->nr_accesses, __entry->age)
/kernel/linux/linux-5.10/drivers/gpu/drm/mga/
H A Dmga_drv.h82 drm_mga_age_t age; member
356 #define SET_AGE(age, h, w) \
358 (age)->head = h; \
359 (age)->wrap = w; \
362 #define TEST_AGE(age, h, w) ((age)->wrap < w || \
363 ((age)->wrap == w && \
364 (age)->head < h))
370 entry->age.head = (dev_priv->prim.tail + \
372 entry->age
[all...]
H A 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, hea in mga_freelist_get()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/savage/
H A Dsavage_drv.h66 drm_savage_age_t age; member
71 drm_savage_age_t age; member
572 #define SET_AGE( age, e, w ) do { \
573 (age)->event = e; \
574 (age)->wrap = w; \
577 #define TEST_AGE( age, e, w ) \
578 ( (age)->wrap < (w) || ( (age)->wrap == (w) && (age)->event <= (e) ) )
H A 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()
[all...]
/kernel/linux/linux-5.10/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) 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, unti
144 shrink_tnc_trees(int nr, int age, int *contention) shrink_tnc_trees() argument
[all...]
/kernel/linux/linux-6.6/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) 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, unti
144 shrink_tnc_trees(int nr, int age, int *contention) shrink_tnc_trees() argument
[all...]
/kernel/linux/linux-6.6/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'])
/kernel/linux/linux-6.6/fs/f2fs/
H A Dextent_cache.c58 unsigned long age, unsigned long last_blocks, in __set_extent_info()
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, te in __update_extent_tree_range()
55 __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) __set_extent_info() argument
[all...]
H A Dgc.c339 unsigned char age = 0; in get_cb_cost() local
359 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), in get_cb_cost()
362 return UINT_MAX - ((100 * (100 - u) * age) / (100 + u)); in get_cb_cost()
529 unsigned long long age, u, accu; in atgc_lookup_victim() local
560 /* age = 10000 * x% * 60 */ in atgc_lookup_victim()
561 age = div64_u64(accu * (max_mtime - ve->mtime), total_time) * in atgc_lookup_victim()
571 f2fs_bug_on(sbi, age + u >= UINT_MAX); in atgc_lookup_victim()
573 cost = UINT_MAX - (age + u); in atgc_lookup_victim()
577 (cost == p->min_cost && age > p->oldest_age)) { in atgc_lookup_victim()
579 p->oldest_age = age; in atgc_lookup_victim()
599 unsigned long long age; atssr_lookup_victim() local
744 f2fs_get_victim(struct f2fs_sb_info *sbi, unsigned int *result, int gc_type, int type, char alloc_mode, unsigned long long age) f2fs_get_victim() argument
[all...]
/kernel/linux/linux-6.6/mm/damon/
H A 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 in damos_apply_scheme()
[all...]
H A 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()
800 weights->age = age; in damon_sysfs_weights_alloc()
848 return sysfs_emit(buf, "%u\n", weights->age); in age_permil_show()
789 damon_sysfs_weights_alloc(unsigned int sz, unsigned int nr_accesses, unsigned int age) damon_sysfs_weights_alloc() argument
1028 struct damon_sysfs_ul_range *age; global() member
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A 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/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,
/kernel/linux/linux-5.10/fs/f2fs/
H A Dgc.c312 unsigned char age = 0; in get_cb_cost() local
332 age = 100 - div64_u64(100 * (mtime - sit_i->min_mtime), in get_cb_cost()
335 return UINT_MAX - ((100 * (100 - u) * age) / (100 + u)); in get_cb_cost()
444 f2fs_lookup_rb_tree_ext(sbi, &am->root, &parent, p->age, &left_most); in lookup_central_victim()
459 unsigned long long age, u, accu; in atgc_lookup_victim() local
492 /* age = 10000 * x% * 60 */ in atgc_lookup_victim()
493 age = div64_u64(accu * (max_mtime - ve->mtime), total_time) * in atgc_lookup_victim()
503 f2fs_bug_on(sbi, age + u >= UINT_MAX); in atgc_lookup_victim()
505 cost = UINT_MAX - (age + u); in atgc_lookup_victim()
509 (cost == p->min_cost && age > in atgc_lookup_victim()
533 unsigned long long age; atssr_lookup_victim() local
637 get_victim_by_default(struct f2fs_sb_info *sbi, unsigned int *result, int gc_type, int type, char alloc_mode, unsigned long long age) get_victim_by_default() argument
[all...]
/kernel/linux/linux-6.6/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()
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()
2351 int age; iscsi_eh_abort() local
[all...]
/kernel/linux/linux-6.6/fs/unicode/
H A Dmkutf8data.c1621 /* Two trees per age: nfdi and nfdicf */ in trees_init()
1978 printf("%d age entries\n", ages_count); in age_init()
2309 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()
2799 * Maximum age of any character in s.
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; utf8agemin() local
2859 int age = 0; utf8nagemax() local
2887 int age; utf8nagemin() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Dlibiscsi.c329 task->conn->session->age); in iscsi_prep_scsi_cmd_pdu()
748 task->conn->session->age); in __iscsi_conn_send_pdu()
1106 * the LDD's itt space does not include the session age.
1296 int age = 0, i = 0; in iscsi_verify_itt() local
1302 session->tt->parse_pdu_itt(conn, itt, &i, &age); in iscsi_verify_itt()
1305 age = ((__force u32)itt >> ISCSI_AGE_SHIFT) & ISCSI_AGE_MASK; in iscsi_verify_itt()
1308 if (age != session->age) { in iscsi_verify_itt()
1310 "received itt %x expected session age (%x)\n", in iscsi_verify_itt()
1311 (__force u32)itt, session->age); in iscsi_verify_itt()
2248 int age; iscsi_eh_abort() local
[all...]

Completed in 29 milliseconds

12345