Home
last modified time | relevance | path

Searched defs:page (Results 1 – 25 of 76) sorted by relevance

1234

/mm/
Dswap.c58 static void __page_cache_release(struct page *page) in __page_cache_release()
76 static void __put_single_page(struct page *page) in __put_single_page()
82 static void __put_compound_page(struct page *page) in __put_compound_page()
98 void __put_page(struct page *page) in __put_page()
189 void (*move_fn)(struct page *page, struct lruvec *lruvec, void *arg), in pagevec_lru_move_fn()
198 struct page *page = pvec->pages[i]; in pagevec_lru_move_fn() local
217 static void pagevec_move_tail_fn(struct page *page, struct lruvec *lruvec, in pagevec_move_tail_fn()
247 void rotate_reclaimable_page(struct page *page) in rotate_reclaimable_page()
273 static void __activate_page(struct page *page, struct lruvec *lruvec, in __activate_page()
305 void activate_page(struct page *page) in activate_page()
[all …]
Dfilemap.c117 struct page *page, void **shadowp) in page_cache_tree_insert()
145 struct page *page, void *shadow) in page_cache_tree_delete()
188 void __delete_from_page_cache(struct page *page, void *shadow) in __delete_from_page_cache()
267 void delete_from_page_cache(struct page *page) in delete_from_page_cache()
399 struct page *page; in filemap_range_has_page() local
435 struct page *page = pvec.pages[i]; in __filemap_fdatawait_range() local
751 static int __add_to_page_cache_locked(struct page *page, in __add_to_page_cache_locked()
815 int add_to_page_cache_locked(struct page *page, struct address_space *mapping, in add_to_page_cache_locked()
823 int add_to_page_cache_lru(struct page *page, struct address_space *mapping, in add_to_page_cache_lru()
856 struct page *page; in __page_cache_alloc() local
[all …]
Drmap.c464 struct anon_vma *page_get_anon_vma(struct page *page) in page_get_anon_vma()
507 struct anon_vma *page_lock_anon_vma_read(struct page *page) in page_lock_anon_vma_read()
687 unsigned long page_address_in_vma(struct page *page, struct vm_area_struct *vma) in page_address_in_vma()
753 static bool page_referenced_one(struct page *page, struct vm_area_struct *vma, in page_referenced_one()
836 int page_referenced(struct page *page, in page_referenced()
883 static bool page_mkclean_one(struct page *page, struct vm_area_struct *vma, in page_mkclean_one()
962 int page_mkclean(struct page *page) in page_mkclean()
997 void page_move_anon_rmap(struct page *page, struct vm_area_struct *vma) in page_move_anon_rmap()
1022 static void __page_set_anon_rmap(struct page *page, in __page_set_anon_rmap()
1051 static void __page_check_anon_rmap(struct page *page, in __page_check_anon_rmap()
[all …]
Dtruncate.c113 void do_invalidatepage(struct page *page, unsigned int offset, in do_invalidatepage()
138 truncate_complete_page(struct address_space *mapping, struct page *page) in truncate_complete_page()
166 invalidate_complete_page(struct address_space *mapping, struct page *page) in invalidate_complete_page()
181 int truncate_inode_page(struct address_space *mapping, struct page *page) in truncate_inode_page()
198 int generic_error_remove_page(struct address_space *mapping, struct page *page) in generic_error_remove_page()
218 int invalidate_inode_page(struct page *page) in invalidate_inode_page()
296 struct page *page = pvec.pages[i]; in truncate_inode_pages_range() local
326 struct page *page = find_lock_page(mapping, start - 1); in truncate_inode_pages_range() local
345 struct page *page = find_lock_page(mapping, end); in truncate_inode_pages_range() local
383 struct page *page = pvec.pages[i]; in truncate_inode_pages_range() local
[all …]
Dmigrate.c83 int isolate_movable_page(struct page *page, isolate_mode_t mode) in isolate_movable_page()
145 void putback_movable_page(struct page *page) in putback_movable_page()
168 struct page *page; in putback_movable_pages() local
202 static bool remove_migration_pte(struct page *page, struct vm_area_struct *vma, in remove_migration_pte()
312 struct page *page; in __migration_entry_wait() local
361 struct page *page; in pmd_migration_entry_wait() local
437 struct page *newpage, struct page *page, in migrate_page_move_mapping()
572 struct page *newpage, struct page *page) in migrate_huge_page_move_mapping()
659 void migrate_page_states(struct page *newpage, struct page *page) in migrate_page_states()
720 void migrate_page_copy(struct page *newpage, struct page *page) in migrate_page_copy()
[all …]
Ddebug_page_ref.c8 void __page_ref_set(struct page *page, int v) in __page_ref_set()
15 void __page_ref_mod(struct page *page, int v) in __page_ref_mod()
22 void __page_ref_mod_and_test(struct page *page, int v, int ret) in __page_ref_mod_and_test()
29 void __page_ref_mod_and_return(struct page *page, int v, int ret) in __page_ref_mod_and_return()
36 void __page_ref_mod_unless(struct page *page, int v, int u) in __page_ref_mod_unless()
43 void __page_ref_freeze(struct page *page, int v, int ret) in __page_ref_freeze()
50 void __page_ref_unfreeze(struct page *page, int v) in __page_ref_unfreeze()
Dpage_io.c30 struct page *page, bio_end_io_t end_io) in get_swap_bio()
53 struct page *page = bio->bi_io_vec[0].bv_page; in end_swap_bio_write() local
75 static void swap_slot_free_notify(struct page *page) in swap_slot_free_notify()
125 struct page *page = bio->bi_io_vec[0].bv_page; in end_swap_bio_read() local
245 int swap_writepage(struct page *page, struct writeback_control *wbc) in swap_writepage()
264 static sector_t swap_page_sector(struct page *page) in swap_page_sector()
269 static inline void count_swpout_vm_event(struct page *page) in count_swpout_vm_event()
278 int __swap_writepage(struct page *page, struct writeback_control *wbc, in __swap_writepage()
350 int swap_readpage(struct page *page, bool do_poll) in swap_readpage()
421 int swap_set_page_dirty(struct page *page) in swap_set_page_dirty()
Dpage_isolation.c18 static int set_migratetype_isolate(struct page *page, in set_migratetype_isolate()
83 static void unset_migratetype_isolate(struct page *page, unsigned migratetype) in unset_migratetype_isolate()
145 struct page *page; in __first_valid_page() local
176 struct page *page; in start_isolate_page_range() local
196 struct page *page = pfn_to_online_page(pfn); in start_isolate_page_range() local
212 struct page *page; in undo_isolate_page_range() local
238 struct page *page; in __test_page_isolated_in_pageblock() local
268 struct page *page; in test_pages_isolated() local
296 struct page *alloc_migrate_target(struct page *page, unsigned long private, in alloc_migrate_target()
Dpage_alloc.c142 static inline int get_pcppage_migratetype(struct page *page) in get_pcppage_migratetype()
147 static inline void set_pcppage_migratetype(struct page *page, int migratetype) in set_pcppage_migratetype()
389 static inline unsigned long *get_pageblock_bitmap(struct page *page, in get_pageblock_bitmap()
399 static inline int pfn_to_bitidx(struct page *page, unsigned long pfn) in pfn_to_bitidx()
419 static __always_inline unsigned long __get_pfnblock_flags_mask(struct page *page, in __get_pfnblock_flags_mask()
438 unsigned long get_pfnblock_flags_mask(struct page *page, unsigned long pfn, in get_pfnblock_flags_mask()
445 static __always_inline int get_pfnblock_migratetype(struct page *page, unsigned long pfn) in get_pfnblock_migratetype()
458 void set_pfnblock_flags_mask(struct page *page, unsigned long flags, in set_pfnblock_flags_mask()
489 void set_pageblock_migratetype(struct page *page, int migratetype) in set_pageblock_migratetype()
500 static int page_outside_zone_boundaries(struct zone *zone, struct page *page) in page_outside_zone_boundaries()
[all …]
Dslub.c345 static __always_inline void slab_lock(struct page *page) in slab_lock()
351 static __always_inline void slab_unlock(struct page *page) in slab_unlock()
357 static inline void set_page_slub_counters(struct page *page, unsigned long counters_new) in set_page_slub_counters()
373 static inline bool __cmpxchg_double_slab(struct kmem_cache *s, struct page *page, in __cmpxchg_double_slab()
410 static inline bool cmpxchg_double_slab(struct kmem_cache *s, struct page *page, in cmpxchg_double_slab()
458 static void get_map(struct kmem_cache *s, struct page *page, unsigned long *map) in get_map()
517 struct page *page, void *object) in check_valid_pointer()
627 static void print_page_info(struct page *page) in print_page_info()
662 static void print_trailer(struct kmem_cache *s, struct page *page, u8 *p) in print_trailer()
704 void object_err(struct kmem_cache *s, struct page *page, in object_err()
[all …]
Dhighmem.c58 static inline unsigned int get_pkmap_color(struct page *page) in get_pkmap_color()
172 struct page *page; in flush_all_zero_pkmaps() local
214 static inline unsigned long map_new_virtual(struct page *page) in map_new_virtual()
276 void *kmap_high(struct page *page) in kmap_high()
307 void *kmap_high_get(struct page *page) in kmap_high_get()
329 void kunmap_high(struct page *page) in kunmap_high()
383 struct page *page; member
398 static struct page_address_slot *page_slot(const struct page *page) in page_slot()
409 void *page_address(const struct page *page) in page_address()
443 void set_page_address(struct page *page, void *virtual) in set_page_address()
Dballoon_compaction.c24 struct page *page = alloc_page(balloon_mapping_gfp_mask() | in balloon_page_alloc() local
42 struct page *page) in balloon_page_enqueue()
73 struct page *page, *tmp; in balloon_page_dequeue() local
123 bool balloon_page_isolate(struct page *page, isolate_mode_t mode) in balloon_page_isolate()
137 void balloon_page_putback(struct page *page) in balloon_page_putback()
151 struct page *newpage, struct page *page, in balloon_page_migrate()
Dpage_poison.c34 static void poison_page(struct page *page) in poison_page()
45 static void poison_pages(struct page *page, int n) in poison_pages()
90 static void unpoison_page(struct page *page) in unpoison_page()
104 static void unpoison_pages(struct page *page, int n) in unpoison_pages()
112 void kernel_poison_pages(struct page *page, int numpages, int enable) in kernel_poison_pages()
124 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()
Dmlock.c59 void clear_page_mlock(struct page *page) in clear_page_mlock()
82 void mlock_vma_page(struct page *page) in mlock_vma_page()
103 static bool __munlock_isolate_lru_page(struct page *page, bool getpage) in __munlock_isolate_lru_page()
125 static void __munlock_isolated_page(struct page *page) in __munlock_isolated_page()
150 static void __munlock_isolation_failed(struct page *page) in __munlock_isolation_failed()
176 unsigned int munlock_vma_page(struct page *page) in munlock_vma_page()
240 static bool __putback_lru_fast_prepare(struct page *page, struct pagevec *pvec, in __putback_lru_fast_prepare()
297 struct page *page = pvec->pages[i]; in __munlock_pagevec() local
329 struct page *page = pvec->pages[i]; in __munlock_pagevec() local
390 struct page *page = NULL; in __munlock_pagevec_fill() local
[all …]
Ddmapool.c73 struct dma_page *page; in show_pools() local
206 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page) in pool_initialise_page()
224 struct dma_page *page; in pool_alloc_page() local
245 static inline bool is_page_busy(struct dma_page *page) in is_page_busy()
250 static void pool_free_page(struct dma_pool *pool, struct dma_page *page) in pool_free_page()
288 struct dma_page *page; in dma_pool_destroy() local
324 struct dma_page *page; in dma_pool_alloc() local
391 struct dma_page *page; in pool_find_page() local
413 struct dma_page *page; in dma_pool_free() local
Dhugetlb.c863 static void enqueue_huge_page(struct hstate *h, struct page *page) in enqueue_huge_page()
873 struct page *page; in dequeue_huge_page_node_exact() local
905 struct page *page; in dequeue_huge_page_nodemask() local
941 struct page *page; in dequeue_huge_page_vma() local
1047 static void destroy_compound_gigantic_page(struct page *page, in destroy_compound_gigantic_page()
1064 static void free_gigantic_page(struct page *page, unsigned int order) in free_gigantic_page()
1081 struct page *page; in pfn_range_valid_gigantic() local
1156 struct page *page; in alloc_fresh_gigantic_page_node() local
1170 struct page *page = NULL; in alloc_fresh_gigantic_page() local
1184 static inline void free_gigantic_page(struct page *page, unsigned int order) { } in free_gigantic_page()
[all …]
Dhuge_memory.c477 static inline struct list_head *page_deferred_list(struct page *page) in page_deferred_list()
486 void prep_transhuge_page(struct page *page) in prep_transhuge_page()
550 static int __do_huge_pmd_anonymous_page(struct vm_fault *vmf, struct page *page, in __do_huge_pmd_anonymous_page()
677 struct page *page; in do_huge_pmd_anonymous_page() local
867 struct page *page; in follow_devmap_pmd() local
1015 struct page *page; in follow_devmap_pud() local
1129 struct page *page) in do_huge_pmd_wp_page_fallback()
1237 struct page *page = NULL, *new_page; in do_huge_pmd_wp_page() local
1386 struct page *page = NULL; in follow_trans_huge_pmd() local
1453 struct page *page; in do_huge_pmd_numa_page() local
[all …]
Dcompaction.c55 struct page *page, *next; in release_freepages() local
72 struct page *page, *next; in map_pages() local
96 int PageMovable(struct page *page) in PageMovable()
112 void __SetPageMovable(struct page *page, struct address_space *mapping) in __SetPageMovable()
120 void __ClearPageMovable(struct page *page) in __ClearPageMovable()
206 struct page *page) in isolation_suitable()
237 struct page *page; in __reset_isolation_suitable() local
273 struct page *page, unsigned long nr_isolated, in update_pageblock_skip()
306 struct page *page) in isolation_suitable()
312 struct page *page, unsigned long nr_isolated, in update_pageblock_skip()
[all …]
Dmemory_hotplug.c136 void get_page_bootmem(unsigned long info, struct page *page, in get_page_bootmem()
145 void put_page_bootmem(struct page *page) in put_page_bootmem()
168 struct page *page, *memmap; in register_page_bootmem_info_section() local
202 struct page *page, *memmap; in register_page_bootmem_info_section() local
228 struct page *page; in register_page_bootmem_info_node() local
274 struct page *page; in __add_section() local
545 struct page *page = pfn_to_page(phys_start_pfn); in __remove_pages() local
629 void __online_page_set_limits(struct page *page) in __online_page_set_limits()
634 void __online_page_increment_counters(struct page *page) in __online_page_increment_counters()
640 void __online_page_free(struct page *page) in __online_page_free()
[all …]
Dpage_owner.c110 void __reset_page_owner(struct page *page, unsigned int order) in __reset_page_owner()
186 noinline void __set_page_owner(struct page *page, unsigned int order, in __set_page_owner()
199 void __set_page_owner_migrate_reason(struct page *page, int reason) in __set_page_owner_migrate_reason()
211 void __split_page_owner(struct page *page, unsigned int order) in __split_page_owner()
258 struct page *page; in pagetypeinfo_showmixedcount_print() local
341 struct page *page, struct page_owner *page_owner, in print_page_owner()
409 void __dump_page_owner(struct page *page) in __dump_page_owner()
458 struct page *page; in read_page_owner() local
532 struct page *page; in init_pages_in_zone() local
Dswap_state.c113 int __add_to_swap_cache(struct page *page, swp_entry_t entry) in __add_to_swap_cache()
160 int add_to_swap_cache(struct page *page, swp_entry_t entry, gfp_t gfp_mask) in add_to_swap_cache()
176 void __delete_from_swap_cache(struct page *page) in __delete_from_swap_cache()
207 int add_to_swap(struct page *page) in add_to_swap()
267 void delete_from_swap_cache(struct page *page) in delete_from_swap_cache()
291 static inline void free_swap_cache(struct page *page) in free_swap_cache()
303 void free_page_and_swap_cache(struct page *page) in free_page_and_swap_cache()
334 struct page *page; in lookup_swap_cache() local
558 struct page *page; in swapin_readahead() local
655 struct page *page; in swap_readahead_detect() local
[all …]
Dslab.c399 struct page *page = virt_to_head_page(obj); in virt_to_cache() local
403 static inline void *index_to_obj(struct kmem_cache *cache, struct page *page, in index_to_obj()
416 const struct page *page, void *obj) in obj_to_index()
594 struct page *page, void *objp) in cache_free_pfmemalloc()
1412 struct page *page; in kmem_getpages() local
1447 static void kmem_freepages(struct kmem_cache *cachep, struct page *page) in kmem_freepages()
1472 struct page *page; in kmem_rcu_free() local
1649 struct page *page = virt_to_head_page(objp); in check_poison_obj() local
1671 struct page *page) in slab_destroy_debugcheck()
1697 struct page *page) in slab_destroy_debugcheck()
[all …]
Dpage_idle.c33 struct page *page; in page_idle_get_page() local
54 static bool page_idle_clear_pte_refs_one(struct page *page, in page_idle_clear_pte_refs_one()
95 static void page_idle_clear_pte_refs(struct page *page) in page_idle_clear_pte_refs()
126 struct page *page; in page_idle_bitmap_read() local
171 struct page *page; in page_idle_bitmap_write() local
Dmemory-failure.c182 unsigned long pfn, struct page *page, int flags) in kill_proc()
327 bool fail, struct page *page, unsigned long pfn, in kill_procs()
405 static void collect_procs_anon(struct page *page, struct list_head *to_kill, in collect_procs_anon()
441 static void collect_procs_file(struct page *page, struct list_head *to_kill, in collect_procs_file()
479 static void collect_procs(struct page *page, struct list_head *tokill, in collect_procs()
896 int get_hwpoison_page(struct page *page) in get_hwpoison_page()
1423 struct page *page; in unpoison_memory() local
1544 static int get_any_page(struct page *page, unsigned long pfn, int flags) in get_any_page()
1571 static int soft_offline_huge_page(struct page *page, int flags) in soft_offline_huge_page()
1618 static int __soft_offline_page(struct page *page, int flags) in __soft_offline_page()
[all …]
Dinternal.h74 static inline void set_page_refcounted(struct page *page) in set_page_refcounted()
227 static inline unsigned int page_order(struct page *page) in page_order()
244 #define page_order_unsafe(page) READ_ONCE(page_private(page)) argument
318 static inline void mlock_migrate_page(struct page *newpage, struct page *page) in mlock_migrate_page()
336 __vma_address(struct page *page, struct vm_area_struct *vma) in __vma_address()
343 vma_address(struct page *page, struct vm_area_struct *vma) in vma_address()
357 static inline void clear_page_mlock(struct page *page) { } in clear_page_mlock()
358 static inline void mlock_vma_page(struct page *page) { } in mlock_vma_page()
544 static inline bool is_migrate_highatomic_page(struct page *page) in is_migrate_highatomic_page()

1234