Home
last modified time | relevance | path

Searched defs:lru (Results 1 – 25 of 34) sorted by relevance

12

/linux/mm/
H A Dlist_lru.c22 static inline bool list_lru_memcg_aware(struct list_lru *lru) in list_lru_memcg_aware() argument
27 static void list_lru_register(struct list_lru *lru) in list_lru_register() argument
37 static void list_lru_unregister(struct list_lru *lru) in list_lru_unregister() argument
47 static int lru_shrinker_id(struct list_lru *lru) in lru_shrinker_id() argument
53 list_lru_from_memcg_idx(struct list_lru * lru,int nid,int idx) list_lru_from_memcg_idx() argument
63 list_lru_register(struct list_lru * lru) list_lru_register() argument
67 list_lru_unregister(struct list_lru * lru) list_lru_unregister() argument
71 lru_shrinker_id(struct list_lru * lru) lru_shrinker_id() argument
76 list_lru_memcg_aware(struct list_lru * lru) list_lru_memcg_aware() argument
82 list_lru_from_memcg_idx(struct list_lru * lru,int nid,int idx) list_lru_from_memcg_idx() argument
89 list_lru_add(struct list_lru * lru,struct list_head * item,int nid,struct mem_cgroup * memcg) list_lru_add() argument
111 list_lru_add_obj(struct list_lru * lru,struct list_head * item) list_lru_add_obj() argument
129 list_lru_del(struct list_lru * lru,struct list_head * item,int nid,struct mem_cgroup * memcg) list_lru_del() argument
149 list_lru_del_obj(struct list_lru * lru,struct list_head * item) list_lru_del_obj() argument
181 list_lru_count_one(struct list_lru * lru,int nid,struct mem_cgroup * memcg) list_lru_count_one() argument
199 list_lru_count_node(struct list_lru * lru,int nid) list_lru_count_node() argument
209 __list_lru_walk_one(struct list_lru * lru,int nid,int memcg_idx,list_lru_walk_cb isolate,void * cb_arg,unsigned long * nr_to_walk) __list_lru_walk_one() argument
274 list_lru_walk_one(struct list_lru * lru,int nid,struct mem_cgroup * memcg,list_lru_walk_cb isolate,void * cb_arg,unsigned long * nr_to_walk) list_lru_walk_one() argument
290 list_lru_walk_one_irq(struct list_lru * lru,int nid,struct mem_cgroup * memcg,list_lru_walk_cb isolate,void * cb_arg,unsigned long * nr_to_walk) list_lru_walk_one_irq() argument
304 list_lru_walk_node(struct list_lru * lru,int nid,list_lru_walk_cb isolate,void * cb_arg,unsigned long * nr_to_walk) list_lru_walk_node() argument
359 memcg_list_lru_free(struct list_lru * lru,int src_idx) memcg_list_lru_free() argument
373 memcg_init_list_lru(struct list_lru * lru,bool memcg_aware) memcg_init_list_lru() argument
380 memcg_destroy_list_lru(struct list_lru * lru) memcg_destroy_list_lru() argument
396 memcg_reparent_list_lru_node(struct list_lru * lru,int nid,int src_idx,struct mem_cgroup * dst_memcg) memcg_reparent_list_lru_node() argument
425 memcg_reparent_list_lru(struct list_lru * lru,int src_idx,struct mem_cgroup * dst_memcg) memcg_reparent_list_lru() argument
439 struct list_lru *lru; memcg_reparent_list_lrus() local
471 memcg_list_lru_allocated(struct mem_cgroup * memcg,struct list_lru * lru) memcg_list_lru_allocated() argument
478 memcg_list_lru_alloc(struct mem_cgroup * memcg,struct list_lru * lru,gfp_t gfp) memcg_list_lru_alloc() argument
556 memcg_init_list_lru(struct list_lru * lru,bool memcg_aware) memcg_init_list_lru() argument
560 memcg_destroy_list_lru(struct list_lru * lru) memcg_destroy_list_lru() argument
565 __list_lru_init(struct list_lru * lru,bool memcg_aware,struct lock_class_key * key,struct shrinker * shrinker) __list_lru_init() argument
598 list_lru_destroy(struct list_lru * lru) list_lru_destroy() argument
[all...]
H A Dmmzone.c77 enum lru_list lru; in lruvec_init() local
H A Dvmscan.c387 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()
2187 static unsigned long shrink_list(enum lru_list lru, unsigned long nr_to_scan, in shrink_list()
2381 enum lru_list lru; in get_scan_count() local
3211 enum lru_list lru = type * LRU_INACTIVE_FILE; in reset_batch_size() local
3837 enum lru_list lru = type * LRU_INACTIVE_FILE; in inc_max_seq() local
4997 enum lru_list lru; in state_is_valid() local
[all …]
H A Dworkingset.c714 * &lru->lock. Because the page cache tree is emptied before in shadow_lru_isolate() argument
[all...]
H A Dmemcontrol-v1.c2624 enum lru_list lru; mem_cgroup_node_nr_lru_pages() local
2644 enum lru_list lru; mem_cgroup_nr_lru_pages() local
[all...]
H A Dzswap.c203 struct list_head lru; member
H A Dslub.c2143 bool memcg_slab_post_alloc_hook(struct kmem_cache *s, struct list_lru *lru, in memcg_slab_post_alloc_hook() argument
2221 memcg_slab_post_alloc_hook(struct kmem_cache * s,struct list_lru * lru,gfp_t flags,size_t size,void ** p) memcg_slab_post_alloc_hook() argument
4064 slab_post_alloc_hook(struct kmem_cache * s,struct list_lru * lru,gfp_t flags,size_t size,void ** p,bool init,unsigned int orig_size) slab_post_alloc_hook() argument
4127 slab_alloc_node(struct kmem_cache * s,struct list_lru * lru,gfp_t gfpflags,int node,unsigned long addr,size_t orig_size) slab_alloc_node() argument
4169 kmem_cache_alloc_lru_noprof(struct kmem_cache * s,struct list_lru * lru,gfp_t gfpflags) kmem_cache_alloc_lru_noprof() argument
/linux/kernel/bpf/
H A Dbpf_lru_list.c144 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 …]
H A Dhashtab.c95 struct bpf_lru lru; member
418 bool lru = (attr->map_type == BPF_MAP_TYPE_LRU_HASH || in htab_map_alloc_check() local
476 bool lru = (attr->map_type == BPF_MAP_TYPE_LRU_HASH || in htab_map_alloc() local
2258 bool lru = htab_is_lru(htab); in htab_map_mem_usage() local
/linux/drivers/gpu/drm/ttm/
H A Dttm_resource.c172 struct ttm_lru_item *lru = &cur->lru; in ttm_lru_prev_res() local
184 struct ttm_lru_item *lru = &cur->lru; in ttm_lru_next_res() local
630 struct ttm_lru_item *lru; in ttm_resource_manager_next() local
665 struct ttm_lru_item *lru; in ttm_lru_first_res_or_null() local
/linux/drivers/gpu/drm/
H A Ddrm_gem.c1370 drm_gem_lru_init(struct drm_gem_lru *lru, struct mutex *lock) in drm_gem_lru_init()
1397 struct drm_gem_lru *lru = obj->lru; in drm_gem_lru_remove() local
1417 drm_gem_lru_move_tail_locked(struct drm_gem_lru *lru, struct drm_gem_object *obj) in drm_gem_lru_move_tail_locked()
1441 drm_gem_lru_move_tail(struct drm_gem_lru *lru, struct drm_gem_object *obj) in drm_gem_lru_move_tail()
1465 drm_gem_lru_scan(struct drm_gem_lru *lru, in drm_gem_lru_scan()
/linux/fs/bcachefs/
H A Dlru.c29 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()
/linux/samples/bpf/
H A Dtest_lru_dist.c99 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/arch/mips/mm/
H A Dcerr-sb1.c326 uint8_t lru; in extract_ic() local
481 uint8_t ecc, lru; in extract_dc() local
/linux/include/drm/ttm/
H A Dttm_resource.h207 struct list_head lru[TTM_MAX_BO_PRIORITY]; member
257 struct ttm_lru_item lru; member
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
H A Dnv50.c38 struct list_head lru; member
53 struct list_head lru; member
/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_shrinker.c104 struct drm_gem_lru *lru; in msm_gem_shrinker_scan() member
H A Dmsm_drv.h177 } lru; member
/linux/kernel/power/
H A Dwakelock.c32 struct list_head lru; member
/linux/include/linux/
H A Dlru_cache.h166 struct list_head lru; member
H A Dvmstat.h516 static inline const char *lru_list_name(enum lru_list lru) in lru_list_name()
/linux/fs/nfsd/
H A Dfilecache.c498 nfsd_file_lru_cb(struct list_head *item, struct list_lru_one *lru, in nfsd_file_lru_cb()
1292 unsigned long lru = 0, total_age = 0; in nfsd_file_cache_stats_show() local
/linux/tools/testing/shared/
H A Dlinux.c69 void *kmem_cache_alloc_lru(struct kmem_cache *cachep, struct list_lru *lru, in kmem_cache_alloc_lru()
/linux/include/drm/
H A Ddrm_gem.h432 struct drm_gem_lru *lru; member
/linux/drivers/md/
H A Ddm-writecache.c84 struct list_head lru; member
111 struct list_head lru; member

12