/linux-6.12.1/mm/ |
D | list_lru.c | 22 static inline bool list_lru_memcg_aware(struct list_lru *lru) in list_lru_memcg_aware() 27 static void list_lru_register(struct list_lru *lru) in list_lru_register() 37 static void list_lru_unregister(struct list_lru *lru) in list_lru_unregister() 47 static int lru_shrinker_id(struct list_lru *lru) in lru_shrinker_id() 53 list_lru_from_memcg_idx(struct list_lru *lru, int nid, int idx) in list_lru_from_memcg_idx() 63 static void list_lru_register(struct list_lru *lru) in list_lru_register() 67 static void list_lru_unregister(struct list_lru *lru) in list_lru_unregister() 71 static int lru_shrinker_id(struct list_lru *lru) in lru_shrinker_id() 76 static inline bool list_lru_memcg_aware(struct list_lru *lru) in list_lru_memcg_aware() 82 list_lru_from_memcg_idx(struct list_lru *lru, int nid, int idx) in list_lru_from_memcg_idx() [all …]
|
D | mmzone.c | 77 enum lru_list lru; in lruvec_init() local
|
D | vmscan.c | 387 static unsigned long lruvec_lru_size(struct lruvec *lruvec, enum lru_list lru, in lruvec_lru_size() 1615 enum lru_list lru, unsigned long *nr_zone_taken) in update_lru_sizes() 1652 enum lru_list lru) in isolate_lru_folios() 1916 enum lru_list lru) in shrink_inactive_list() 2037 enum lru_list lru) in shrink_active_list() 2186 static unsigned long shrink_list(enum lru_list lru, unsigned long nr_to_scan, in shrink_list() 2380 enum lru_list lru; in get_scan_count() local 3213 enum lru_list lru = type * LRU_INACTIVE_FILE; in reset_batch_size() local 3840 enum lru_list lru = type * LRU_INACTIVE_FILE; in inc_max_seq() local 4985 enum lru_list lru; in state_is_valid() local [all …]
|
/linux-6.12.1/kernel/bpf/ |
D | bpf_lru_list.c | 144 static void __bpf_lru_list_rotate_active(struct bpf_lru *lru, in __bpf_lru_list_rotate_active() 171 static void __bpf_lru_list_rotate_inactive(struct bpf_lru *lru, in __bpf_lru_list_rotate_inactive() 211 __bpf_lru_list_shrink_inactive(struct bpf_lru *lru, in __bpf_lru_list_shrink_inactive() 242 static void __bpf_lru_list_rotate(struct bpf_lru *lru, struct bpf_lru_list *l) in __bpf_lru_list_rotate() 260 static unsigned int __bpf_lru_list_shrink(struct bpf_lru *lru, in __bpf_lru_list_shrink() 323 static void bpf_lru_list_pop_free_to_local(struct bpf_lru *lru, in bpf_lru_list_pop_free_to_local() 352 static void __local_list_add_pending(struct bpf_lru *lru, in __local_list_add_pending() 380 __local_list_pop_pending(struct bpf_lru *lru, struct bpf_lru_locallist *loc_l) in __local_list_pop_pending() 404 static struct bpf_lru_node *bpf_percpu_lru_pop_free(struct bpf_lru *lru, in bpf_percpu_lru_pop_free() 436 static struct bpf_lru_node *bpf_common_lru_pop_free(struct bpf_lru *lru, in bpf_common_lru_pop_free() [all …]
|
/linux-6.12.1/include/linux/ |
D | list_lru.h | 47 struct list_lru_one lru; member 65 #define list_lru_init(lru) \ argument 67 #define list_lru_init_memcg(lru, shrinker) \ argument 153 static inline unsigned long list_lru_shrink_count(struct list_lru *lru, in list_lru_shrink_count() 159 static inline unsigned long list_lru_count(struct list_lru *lru) in list_lru_count() 225 list_lru_shrink_walk(struct list_lru *lru, struct shrink_control *sc, in list_lru_shrink_walk() 233 list_lru_shrink_walk_irq(struct list_lru *lru, struct shrink_control *sc, in list_lru_shrink_walk_irq() 241 list_lru_walk(struct list_lru *lru, list_lru_walk_cb isolate, in list_lru_walk()
|
D | mm_inline.h | 39 enum lru_list lru, enum zone_type zid, in __update_lru_size() 53 enum lru_list lru, enum zone_type zid, in update_lru_size() 89 enum lru_list lru; in folio_lru_list() local 181 enum lru_list lru = type * LRU_INACTIVE_FILE; in lru_gen_update_size() local 321 enum lru_list lru = folio_lru_list(folio); in lruvec_add_folio() local 335 enum lru_list lru = folio_lru_list(folio); in lruvec_add_folio_tail() local 349 enum lru_list lru = folio_lru_list(folio); in lruvec_del_folio() local
|
D | lru_cache.h | 166 struct list_head lru; member
|
/linux-6.12.1/fs/nfs/ |
D | nfs42xattr.c | 71 struct list_head lru; member 82 struct list_head lru; member 130 struct list_lru *lru; in nfs4_xattr_entry_lru_add() local 141 struct list_lru *lru; in nfs4_xattr_entry_lru_del() local 805 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in cache_lru_isolate() 870 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in entry_lru_isolate() 925 struct list_lru *lru; in nfs4_xattr_entry_scan() local 953 struct list_lru *lru; in nfs4_xattr_entry_count() local 981 struct list_lru *lru, const char *name, in nfs4_xattr_shrinker_init() 1008 struct list_lru *lru) in nfs4_xattr_shrinker_destroy()
|
/linux-6.12.1/drivers/md/ |
D | dm-bufio.c | 86 struct lru *lru; member 92 struct lru { struct 101 static void lru_init(struct lru *lru) in lru_init() 108 static void lru_destroy(struct lru *lru) in lru_destroy() 117 static void lru_insert(struct lru *lru, struct lru_entry *le) in lru_insert() 147 static void lru_iter_begin(struct lru *lru, struct lru_iter *it) in lru_iter_begin() 196 static void lru_iter_invalidate(struct lru *lru, struct lru_entry *e) in lru_iter_invalidate() 222 static void lru_remove(struct lru *lru, struct lru_entry *le) in lru_remove() 257 static struct lru_entry *lru_evict(struct lru *lru, le_predicate pred, void *context, bool no_sleep) in lru_evict() 347 struct lru_entry lru; member [all …]
|
/linux-6.12.1/drivers/gpu/drm/ttm/ |
D | ttm_resource.c | 171 struct ttm_lru_item *lru = &cur->lru; in ttm_lru_prev_res() local 183 struct ttm_lru_item *lru = &cur->lru; in ttm_lru_next_res() local 614 struct ttm_lru_item *lru; in ttm_resource_manager_next() local 649 struct ttm_lru_item *lru; in ttm_lru_first_res_or_null() local
|
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_gem.c | 1344 drm_gem_lru_init(struct drm_gem_lru *lru, struct mutex *lock) in drm_gem_lru_init() 1371 struct drm_gem_lru *lru = obj->lru; in drm_gem_lru_remove() local 1391 drm_gem_lru_move_tail_locked(struct drm_gem_lru *lru, struct drm_gem_object *obj) in drm_gem_lru_move_tail_locked() 1415 drm_gem_lru_move_tail(struct drm_gem_lru *lru, struct drm_gem_object *obj) in drm_gem_lru_move_tail() 1439 drm_gem_lru_scan(struct drm_gem_lru *lru, in drm_gem_lru_scan()
|
/linux-6.12.1/fs/bcachefs/ |
D | lru.c | 29 const struct bch_lru *lru = bkey_s_c_to_lru(k).v; in bch2_lru_to_text() local 34 void bch2_lru_pos_to_text(struct printbuf *out, struct bpos lru) in bch2_lru_pos_to_text()
|
D | extent_update.c | 18 unsigned ret = 0, lru = 0; in bch2_bkey_nr_alloc_ptrs() local
|
/linux-6.12.1/samples/bpf/ |
D | test_lru_dist.c | 99 static void pfect_lru_init(struct pfect_lru *lru, unsigned int lru_size, in pfect_lru_init() 117 static void pfect_lru_destroy(struct pfect_lru *lru) in pfect_lru_destroy() 123 static int pfect_lru_lookup_or_insert(struct pfect_lru *lru, in pfect_lru_lookup_or_insert()
|
/linux-6.12.1/fs/proc/ |
D | meminfo.c | 42 int lru; in meminfo_proc_show() local
|
/linux-6.12.1/arch/mips/mm/ |
D | cerr-sb1.c | 326 uint8_t lru; in extract_ic() local 481 uint8_t ecc, lru; in extract_dc() local
|
/linux-6.12.1/include/drm/ttm/ |
D | ttm_resource.h | 207 struct list_head lru[TTM_MAX_BO_PRIORITY]; member 257 struct ttm_lru_item lru; member
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | nv50.c | 38 struct list_head lru; member 53 struct list_head lru; member
|
/linux-6.12.1/drivers/gpu/drm/msm/ |
D | msm_gem_shrinker.c | 104 struct drm_gem_lru *lru; in msm_gem_shrinker_scan() member
|
/linux-6.12.1/drivers/android/ |
D | binder_alloc.h | 68 struct list_head lru; member
|
D | binder_alloc.c | 991 int lru = 0; in binder_alloc_print_pages() local 1057 struct list_lru_one *lru, in binder_alloc_free_page()
|
/linux-6.12.1/kernel/power/ |
D | wakelock.c | 32 struct list_head lru; member
|
/linux-6.12.1/fs/nfsd/ |
D | filecache.c | 499 nfsd_file_lru_cb(struct list_head *item, struct list_lru_one *lru, in nfsd_file_lru_cb() 1296 unsigned long lru = 0, total_age = 0; in nfsd_file_cache_stats_show() local
|
/linux-6.12.1/fs/ |
D | dcache.c | 479 static void d_lru_isolate(struct list_lru_one *lru, struct dentry *dentry) in d_lru_isolate() 489 static void d_lru_shrink_move(struct list_lru_one *lru, struct dentry *dentry, in d_lru_shrink_move() 1092 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in dentry_lru_isolate() 1173 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in dentry_lru_isolate_shrink()
|
/linux-6.12.1/tools/testing/shared/ |
D | linux.c | 69 void *kmem_cache_alloc_lru(struct kmem_cache *cachep, struct list_lru *lru, in kmem_cache_alloc_lru()
|