Home
last modified time | relevance | path

Searched refs:list_head (Results 1 – 25 of 39) sorted by relevance

12

/mm/
Dslab.h27 struct list_head list; /* List of all slab caches on the system */
69 extern struct list_head slab_caches;
432 struct list_head slabs_partial; /* partial list first, better asm code */
433 struct list_head slabs_full;
434 struct list_head slabs_free;
447 struct list_head partial;
451 struct list_head full;
Dlist_lru.c109 bool list_lru_add(struct list_lru *lru, struct list_head *item) in list_lru_add()
129 bool list_lru_del(struct list_lru *lru, struct list_head *item) in list_lru_del()
149 void list_lru_isolate(struct list_lru_one *list, struct list_head *item) in list_lru_isolate()
156 void list_lru_isolate_move(struct list_lru_one *list, struct list_head *item, in list_lru_isolate_move()
157 struct list_head *head) in list_lru_isolate_move()
203 struct list_head *item, *n; in __list_lru_walk_one()
Dzbud.c95 struct list_head unbuddied[NCHUNKS];
96 struct list_head buddied;
97 struct list_head lru;
115 struct list_head buddy;
116 struct list_head lru;
Dswap.c113 void put_pages_list(struct list_head *pages) in put_pages_list()
819 struct lruvec *lruvec, struct list_head *list) in lru_add_page_tail()
839 struct list_head *list_head; in lru_add_page_tail() local
848 list_head = page_tail->lru.prev; in lru_add_page_tail()
849 list_move_tail(&page_tail->lru, list_head); in lru_add_page_tail()
Dinternal.h178 struct list_head freepages; /* List of free pages to migrate to */
179 struct list_head migratepages; /* List of pages being migrated */
460 struct list_head *page_list);
Dslob.c112 static void set_slob_page_free(struct page *sp, struct list_head *list) in set_slob_page_free()
271 struct list_head *prev; in slob_alloc()
272 struct list_head *slob_list; in slob_alloc()
346 struct list_head *slob_list; in slob_free()
Dz3fold.c80 struct list_head unbuddied[NCHUNKS];
81 struct list_head buddied;
82 struct list_head lru;
107 struct list_head buddy;
Dreadahead.c62 struct list_head *pages) in read_cache_pages_invalidate_pages()
83 int read_cache_pages(struct address_space *mapping, struct list_head *pages, in read_cache_pages()
112 struct list_head *pages, unsigned int nr_pages, gfp_t gfp) in read_pages()
Dmemory-failure.c263 struct list_head nd;
281 struct list_head *to_kill, in add_to_kill()
323 static void kill_procs(struct list_head *to_kill, int forcekill, int trapno, in kill_procs()
401 static void collect_procs_anon(struct page *page, struct list_head *to_kill, in collect_procs_anon()
437 static void collect_procs_file(struct page *page, struct list_head *to_kill, in collect_procs_file()
475 static void collect_procs(struct page *page, struct list_head *tokill, in collect_procs()
Ddmapool.c46 struct list_head page_list;
53 struct list_head pools;
57 struct list_head page_list;
Dslab_common.c459 struct list_head *release, bool *need_rcu_barrier) in shutdown_cache()
474 static void release_caches(struct list_head *release, bool need_rcu_barrier) in release_caches()
626 struct list_head *release, bool *need_rcu_barrier) in __shutdown_memcg_cache()
665 struct list_head *release, bool *need_rcu_barrier) in shutdown_memcg_caches()
721 struct list_head *release, bool *need_rcu_barrier) in shutdown_memcg_caches()
Dhighmem.c384 struct list_head list;
393 struct list_head lh; /* List of page_address_maps */
Dkmemleak-test.c36 struct list_head list;
Dvmscan.c938 static unsigned long shrink_page_list(struct list_head *page_list, in shrink_page_list()
1308 struct list_head *page_list) in reclaim_clean_pages_from_list()
1452 struct lruvec *lruvec, struct list_head *dst, in isolate_lru_pages()
1456 struct list_head *src = &lruvec->lists[lru]; in isolate_lru_pages()
1625 putback_inactive_pages(struct lruvec *lruvec, struct list_head *page_list) in putback_inactive_pages()
1881 struct list_head *list, in move_active_pages_to_lru()
1882 struct list_head *pages_to_free, in move_active_pages_to_lru()
Dcompaction.c50 static unsigned long release_freepages(struct list_head *freelist) in release_freepages()
66 static void map_pages(struct list_head *list) in map_pages()
415 struct list_head *freelist, in isolate_freepages_block()
1031 struct list_head *freelist = &cc->freepages; in isolate_freepages()
Dhugetlb.c238 struct list_head link;
259 struct list_head *head = &resv->regions; in region_add()
355 struct list_head *head = &resv->regions; in region_chg()
482 struct list_head *head = &resv->regions; in region_del()
589 struct list_head *head = &resv->regions; in region_count()
728 struct list_head *head = &resv_map->region_cache; in resv_map_release()
1695 struct list_head surplus_list; in gather_surplus_pages()
2241 struct list_head *freel = &h->hugepage_freelists[i]; in try_to_free_low()
4557 bool isolate_huge_page(struct page *page, struct list_head *list) in isolate_huge_page()
Dzpool.c25 struct list_head list;
Dpercpu.c107 struct list_head list; /* linked to pcpu_slot lists */
115 struct list_head map_extend_list;/* on pcpu_map_extend_chunks */
167 static struct list_head *pcpu_slot __read_mostly; /* chunk list slots */
1112 struct list_head *free_head = &pcpu_slot[pcpu_nr_slots - 1]; in pcpu_balance_workfn()
Dvmpressure.c144 struct list_head node;
Dmempolicy.c468 static void migrate_page_add(struct page *page, struct list_head *pagelist,
472 struct list_head *pagelist;
668 struct list_head *pagelist) in queue_pages_range()
952 static void migrate_page_add(struct page *page, struct list_head *pagelist, in migrate_page_add()
1146 static void migrate_page_add(struct page *page, struct list_head *pagelist, in migrate_page_add()
Dworkingset.c381 static enum lru_status shadow_lru_isolate(struct list_head *item, in shadow_lru_isolate()
Dhuge_memory.c472 static inline struct list_head *page_deferred_list(struct page *page) in page_deferred_list()
478 return (struct list_head *)&page[2].mapping; in page_deferred_list()
1873 struct lruvec *lruvec, struct list_head *list) in __split_huge_page_tail()
1932 static void __split_huge_page(struct page *page, struct list_head *list, in __split_huge_page()
2092 int split_huge_page_to_list(struct page *page, struct list_head *list) in split_huge_page_to_list()
Dslab.c211 int node, struct list_head *list);
212 static void slabs_destroy(struct kmem_cache *cachep, struct list_head *list);
729 struct list_head *list) in __drain_alien_cache()
1761 static void slabs_destroy(struct kmem_cache *cachep, struct list_head *list) in slabs_destroy()
2241 int node, bool free_all, struct list_head *list) in drain_array_locked()
2305 struct list_head *p; in drain_freelist()
3416 int nr_objects, int node, struct list_head *list) in free_block()
Dbacking-dev.c524 struct list_head *memcg_cgwb_list, *blkcg_cgwb_list; in cgwb_create()
722 struct list_head *memcg_cgwb_list = mem_cgroup_cgwb_list(memcg); in wb_memcg_offline()
Dswap_state.c163 int add_to_swap(struct page *page, struct list_head *list) in add_to_swap()

12