Home
last modified time | relevance | path

Searched refs:list_lru (Results 1 – 22 of 22) sorted by relevance

/linux-6.12.1/include/linux/
Dlist_lru.h51 struct list_lru { struct
61 void list_lru_destroy(struct list_lru *lru); argument
62 int __list_lru_init(struct list_lru *lru, bool memcg_aware,
70 int memcg_list_lru_alloc(struct mem_cgroup *memcg, struct list_lru *lru,
92 bool list_lru_add(struct list_lru *lru, struct list_head *item, int nid,
106 bool list_lru_add_obj(struct list_lru *lru, struct list_head *item);
121 bool list_lru_del(struct list_lru *lru, struct list_head *item, int nid,
135 bool list_lru_del_obj(struct list_lru *lru, struct list_head *item);
149 unsigned long list_lru_count_one(struct list_lru *lru,
151 unsigned long list_lru_count_node(struct list_lru *lru, int nid);
[all …]
Dxarray.h25 struct list_lru;
1358 struct list_lru *xa_lru;
1682 static inline void xas_set_lru(struct xa_state *xas, struct list_lru *lru) in xas_set_lru()
Dslab.h236 struct list_lru;
714 void *kmem_cache_alloc_lru_noprof(struct kmem_cache *s, struct list_lru *lru,
Dfs.h1375 struct list_lru s_dentry_lru;
1376 struct list_lru s_inode_lru;
/linux-6.12.1/mm/
Dlist_lru.c22 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 …]
Dzswap.c170 static struct list_lru zswap_list_lru;
699 static void zswap_lru_add(struct list_lru *list_lru, struct zswap_entry *entry) in zswap_lru_add() argument
719 list_lru_add(list_lru, &entry->lru, nid, memcg); in zswap_lru_add()
723 static void zswap_lru_del(struct list_lru *list_lru, struct zswap_entry *entry) in zswap_lru_del() argument
731 list_lru_del(list_lru, &entry->lru, nid, memcg); in zswap_lru_del()
DMakefile57 interval_tree.o list_lru.o workingset.o \
Dslab.h596 bool __memcg_slab_post_alloc_hook(struct kmem_cache *s, struct list_lru *lru,
Dworkingset.c624 struct list_lru shadow_nodes;
Dinternal.h1475 extern struct list_lru shadow_nodes;
Dslub.c2147 bool memcg_slab_post_alloc_hook(struct kmem_cache *s, struct list_lru *lru, in memcg_slab_post_alloc_hook()
2225 struct list_lru *lru, in memcg_slab_post_alloc_hook()
4045 bool slab_post_alloc_hook(struct kmem_cache *s, struct list_lru *lru, in slab_post_alloc_hook()
4108 static __fastpath_inline void *slab_alloc_node(struct kmem_cache *s, struct list_lru *lru, in slab_alloc_node()
4150 void *kmem_cache_alloc_lru_noprof(struct kmem_cache *s, struct list_lru *lru, in kmem_cache_alloc_lru_noprof()
Dmemcontrol.c2939 bool __memcg_slab_post_alloc_hook(struct kmem_cache *s, struct list_lru *lru, in __memcg_slab_post_alloc_hook()
/linux-6.12.1/tools/include/linux/
Dslab.h30 struct list_lru;
32 void *kmem_cache_alloc_lru(struct kmem_cache *cachep, struct list_lru *, int flags);
/linux-6.12.1/fs/nfs/
Dnfs42xattr.c96 static struct list_lru nfs4_xattr_cache_lru;
97 static struct list_lru nfs4_xattr_entry_lru;
98 static struct list_lru nfs4_xattr_large_entry_lru;
130 struct list_lru *lru; in nfs4_xattr_entry_lru_add()
141 struct list_lru *lru; in nfs4_xattr_entry_lru_del()
925 struct list_lru *lru; in nfs4_xattr_entry_scan()
953 struct list_lru *lru; in nfs4_xattr_entry_count()
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/fs/gfs2/
Dquota.h64 extern struct list_lru gfs2_qd_lru;
Dquota.c81 struct list_lru gfs2_qd_lru;
/linux-6.12.1/drivers/android/
Dbinder_alloc.h18 extern struct list_lru binder_freelist;
Dbinder_alloc.c29 struct list_lru binder_freelist;
/linux-6.12.1/fs/xfs/
Dxfs_qm.h58 struct list_lru qi_lru;
Dxfs_buf.h122 struct list_lru bt_lru;
/linux-6.12.1/tools/testing/shared/
Dlinux.c69 void *kmem_cache_alloc_lru(struct kmem_cache *cachep, struct list_lru *lru, in kmem_cache_alloc_lru()
/linux-6.12.1/fs/nfsd/
Dfilecache.c71 static struct list_lru nfsd_file_lru;