Home
last modified time | relevance | path

Searched refs:page (Results 1 – 25 of 3512) sorted by relevance

12345678910>>...141

/linux/include/linux/
A Dpage_ref.h29 extern void __page_ref_set(struct page *page, int v);
30 extern void __page_ref_mod(struct page *page, int v);
35 extern void __page_ref_unfreeze(struct page *page, int v);
41 static inline void __page_ref_set(struct page *page, int v) in __page_ref_set() argument
44 static inline void __page_ref_mod(struct page *page, int v) in __page_ref_mod() argument
65 static inline int page_ref_count(const struct page *page) in page_ref_count() argument
92 static inline int page_count(const struct page *page) in page_count() argument
113 static inline void init_page_count(struct page *page) in init_page_count() argument
156 static inline void page_ref_inc(struct page *page) in page_ref_inc() argument
168 static inline void page_ref_dec(struct page *page) in page_ref_dec() argument
[all …]
A Dpage-flags.h205 #define compound_head(page) ((typeof(page))_compound_head(page)) argument
261 struct page *page = &folio->page; in folio_flags() local
263 VM_BUG_ON_PGFLAGS(PageTail(page), page); in folio_flags()
616 u64 stable_page_flags(struct page *page);
721 int PageHuge(struct page *page);
722 int PageHeadHuge(struct page *page);
743 VM_BUG_ON_PAGE(PageTail(page), page); in TESTPAGEFLAG_FALSE()
918 VM_BUG_ON_PAGE(!PageSlab(page), page); in PageSlabPfmemalloc()
933 VM_BUG_ON_PAGE(!PageSlab(page), page); in SetPageSlabPfmemalloc()
939 VM_BUG_ON_PAGE(!PageSlab(page), page); in __ClearPageSlabPfmemalloc()
[all …]
A Dmm.h220 #define nth_page(page,n) ((page) + (n)) argument
810 page = compound_head(page); in compound_mapcount()
861 struct page *page = virt_to_page(x); in virt_to_head_page() local
866 void __put_page(struct page *page);
937 page = compound_head(page); in hpage_pincount_available()
949 page = compound_head(page); in compound_pincount()
1208 struct page *try_grab_compound_head(struct page *page, int refs,
1214 page = compound_head(page); in try_get_page()
1351 struct page *page) in page_needs_cow_for_dma() argument
1384 struct page *p = (struct page *)page; in page_to_nid()
[all …]
A Dballoon_compaction.h59 struct page *page, enum migrate_mode mode);
65 struct page *page);
83 extern bool balloon_page_isolate(struct page *page,
85 extern void balloon_page_putback(struct page *page);
88 struct page *page, enum migrate_mode mode);
100 struct page *page) in balloon_page_insert() argument
116 static inline void balloon_page_delete(struct page *page) in balloon_page_delete() argument
146 struct page *page) in balloon_page_insert() argument
169 struct page *page, enum migrate_mode mode) in balloon_page_migrate() argument
202 struct page *page = list_first_entry_or_null(pages, struct page, lru); in balloon_page_pop() local
[all …]
A Dmigrate.h10 typedef struct page *new_page_t(struct page *page, unsigned long private);
29 struct page *newpage, struct page *page,
37 extern void migrate_page_states(struct page *newpage, struct page *page);
38 extern void migrate_page_copy(struct page *newpage, struct page *page);
40 struct page *newpage, struct page *page);
42 struct page *newpage, struct page *page, int extra_count);
56 static inline struct page *alloc_migration_target(struct page *page, in alloc_migration_target() argument
62 static inline void migrate_page_states(struct page *newpage, struct page *page) in migrate_page_states() argument
67 struct page *page) {} in migrate_page_copy() argument
70 struct page *newpage, struct page *page) in migrate_huge_page_move_mapping() argument
[all …]
A Dhighmem-internal.h10 void *__kmap_local_page_prot(struct page *page, pgprot_t prot);
35 void *kmap_high(struct page *page);
36 void kunmap_high(struct page *page);
40 static inline void *kmap(struct page *page) in kmap() argument
53 static inline void kunmap(struct page *page) in kunmap() argument
71 static inline void *kmap_local_page(struct page *page) in kmap_local_page() argument
108 static inline void *kmap_atomic(struct page *page) in kmap_atomic() argument
159 static inline void *kmap(struct page *page) in kmap() argument
165 static inline void kunmap_high(struct page *page) { } in kunmap_high() argument
168 static inline void kunmap(struct page *page) in kunmap() argument
[all …]
A Dhighmem.h36 static inline void *kmap(struct page *page);
45 static inline void kunmap(struct page *page);
96 static inline void *kmap_local_page(struct page *page);
146 static inline void *kmap_atomic(struct page *page);
207 if (page) in alloc_zeroed_user_highpage_movable()
210 return page; in alloc_zeroed_user_highpage_movable()
214 static inline void clear_highpage(struct page *page) in clear_highpage() argument
223 static inline void tag_clear_highpage(struct page *page) in tag_clear_highpage() argument
237 static inline void zero_user_segments(struct page *page, in zero_user_segments() argument
258 static inline void zero_user_segment(struct page *page, in zero_user_segment() argument
[all …]
A Dhugetlb_cgroup.h65 VM_BUG_ON_PAGE(!PageHuge(page), page); in __hugetlb_cgroup_from_page()
81 hugetlb_cgroup_from_page_rsvd(struct page *page) in hugetlb_cgroup_from_page_rsvd() argument
89 VM_BUG_ON_PAGE(!PageHuge(page), page); in __set_hugetlb_cgroup()
144 struct page *page);
147 struct page *page);
149 struct page *page);
151 struct page *page);
241 struct page *page) in hugetlb_cgroup_commit_charge() argument
248 struct page *page) in hugetlb_cgroup_commit_charge_rsvd() argument
253 struct page *page) in hugetlb_cgroup_uncharge_page() argument
[all …]
A Dpagemap.h762 void unlock_page(struct page *page);
773 static inline int trylock_page(struct page *page) in trylock_page() argument
788 static inline void lock_page(struct page *page) in lock_page() argument
871 void wait_on_page_writeback(struct page *page);
874 void end_page_writeback(struct page *page);
876 void wait_for_stable_page(struct page *page);
903 bool clear_page_dirty_for_io(struct page *page);
910 int __set_page_dirty_nobuffers(struct page *page);
1112 struct page *page; in __readahead_batch() local
1124 VM_BUG_ON_PAGE(!PageLocked(page), page); in __readahead_batch()
[all …]
A Dswap.h375 extern void deactivate_file_page(struct page *page);
376 extern void deactivate_page(struct page *page);
377 extern void mark_page_lazyfree(struct page *page);
430 extern int swap_set_page_dirty(struct page *page);
451 extern int add_to_swap(struct page *page);
496 extern swp_entry_t get_swap_page(struct page *page);
523 sector_t swap_page_sector(struct page *page);
570 static inline void free_swap_cache(struct page *page) in free_swap_cache() argument
633 static inline int add_to_swap(struct page *page) in add_to_swap() argument
663 static inline int page_swapcount(struct page *page) in page_swapcount() argument
[all …]
A Dpage_owner.h11 extern void __reset_page_owner(struct page *page, unsigned short order);
12 extern void __set_page_owner(struct page *page,
14 extern void __split_page_owner(struct page *page, unsigned int nr);
16 extern void __set_page_owner_migrate_reason(struct page *page, int reason);
17 extern void __dump_page_owner(const struct page *page);
27 static inline void set_page_owner(struct page *page, in set_page_owner() argument
34 static inline void split_page_owner(struct page *page, unsigned int nr) in split_page_owner() argument
49 static inline void dump_page_owner(const struct page *page) in dump_page_owner() argument
58 static inline void set_page_owner(struct page *page, in set_page_owner() argument
62 static inline void split_page_owner(struct page *page, in split_page_owner() argument
[all …]
/linux/net/core/
A Dpage_pool.c116 struct page *page; in page_pool_refill_alloc_cache() local
167 struct page *page; in __page_pool_get_cached() local
181 struct page *page, in page_pool_dma_sync_for_device() argument
216 struct page *page) in page_pool_set_pp_info() argument
231 struct page *page; in __page_pool_alloc_page_order() local
260 struct page *page; in __page_pool_alloc_pages_slow() local
312 struct page *page; in page_pool_alloc_pages() local
526 struct page *page) in page_pool_drain_frag()
605 struct page *page; in page_pool_empty_ring() local
633 struct page *page; in page_pool_empty_alloc_cache_once() local
[all …]
/linux/mm/
A Dfolio-compat.c17 void unlock_page(struct page *page) in unlock_page() argument
23 void end_page_writeback(struct page *page) in end_page_writeback() argument
35 void wait_for_stable_page(struct page *page) in wait_for_stable_page() argument
41 bool page_mapped(struct page *page) in page_mapped() argument
47 void mark_page_accessed(struct page *page) in mark_page_accessed() argument
55 struct page *newpage, struct page *page, int extra_count) in migrate_page_move_mapping() argument
62 void migrate_page_states(struct page *newpage, struct page *page) in migrate_page_states() argument
68 void migrate_page_copy(struct page *newpage, struct page *page) in migrate_page_copy() argument
81 bool set_page_dirty(struct page *page) in set_page_dirty() argument
100 struct page *page) in redirty_page_for_writepage() argument
[all …]
A Drmap.c777 .page = page, in page_referenced_one()
855 int page_referenced(struct page *page, in page_referenced() argument
906 .page = page, in page_mkclean_one()
1023 page = compound_head(page); in page_move_anon_rmap()
1398 .page = page, in try_to_unmap_one()
1698 .page = page, in try_to_migrate_one()
1978 .page = page, in page_mlock_one()
2021 void page_mlock(struct page *page) in page_mlock() argument
2030 VM_BUG_ON_PAGE(!PageLocked(page) || PageLRU(page), page); in page_mlock()
2031 VM_BUG_ON_PAGE(PageCompound(page) && PageDoubleMap(page), page); in page_mlock()
[all …]
A Dswap.c95 static void __put_single_page(struct page *page) in __put_single_page() argument
115 void __put_page(struct page *page) in __put_page() argument
142 struct page *page, *next; in put_pages_list() local
201 struct page *page = pvec->pages[i]; in pagevec_lru_move_fn() local
487 VM_BUG_ON_PAGE(PageLRU(page), page); in lru_cache_add_inactive_or_unevictable()
678 void deactivate_page(struct page *page) in deactivate_page() argument
680 if (PageLRU(page) && PageActive(page) && !PageUnevictable(page)) { in deactivate_page()
701 if (PageLRU(page) && PageAnon(page) && PageSwapBacked(page) && in mark_page_lazyfree()
911 struct page *page = pages[i]; in release_pages() local
924 page = &folio->page; in release_pages()
[all …]
A Dpage_io.c31 struct page *page = bio_first_page_all(bio); in end_swap_bio_write() local
53 static void swap_slot_free_notify(struct page *page) in swap_slot_free_notify() argument
103 struct page *page = bio_first_page_all(bio); in end_swap_bio_read() local
292 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in __swap_writepage()
345 bio_add_page(bio, page, thp_size(page), 0); in __swap_writepage()
356 int swap_readpage(struct page *page, bool synchronous) in swap_readpage() argument
364 VM_BUG_ON_PAGE(!PageLocked(page), page); in swap_readpage()
365 VM_BUG_ON_PAGE(PageUptodate(page), page); in swap_readpage()
409 bio_add_page(bio, page, thp_size(page), 0); in swap_readpage()
438 int swap_set_page_dirty(struct page *page) in swap_set_page_dirty() argument
[all …]
A Dtruncate.c86 struct page *page = pvec->pages[i]; in truncate_exceptional_pvec_entries() local
180 static void truncate_cleanup_page(struct page *page) in truncate_cleanup_page() argument
186 do_invalidatepage(page, 0, thp_size(page)); in truncate_cleanup_page()
223 VM_BUG_ON_PAGE(PageTail(page), page); in truncate_inode_page()
256 int invalidate_inode_page(struct page *page) in invalidate_inode_page() argument
261 if (PageDirty(page) || PageWriteback(page)) in invalidate_inode_page()
363 struct page *page = find_lock_page(mapping, end); in truncate_inode_pages_range() local
396 struct page *page = pvec.pages[i]; in truncate_inode_pages_range() local
491 struct page *page = pvec.pages[i]; in __invalidate_mapping_pages() local
641 struct page *page = pvec.pages[i]; in invalidate_inode_pages2_range() local
[all …]
A Dmigrate.c141 struct page *page; in putback_movable_pages() local
294 struct page *page; in __migration_entry_wait() local
306 page = compound_head(page); in __migration_entry_wait()
341 struct page *page; in pmd_migration_entry_wait() local
504 struct page *newpage, struct page *page) in migrate_huge_page_move_mapping() argument
629 struct page *newpage, struct page *page, in migrate_page() argument
1448 struct page *page; in migrate_pages() local
1683 struct page *page; in add_page_for_migration() local
1871 struct page *page; in do_pages_stat_array() local
2258 struct page *page; in migrate_vma_collect_pmd() local
[all …]
A Dpage_isolation.c74 struct page *buddy; in unset_migratetype_isolate()
136 struct page *page; in __first_valid_page() local
139 if (!page) in __first_valid_page()
141 return page; in __first_valid_page()
191 struct page *page; in start_isolate_page_range() local
200 if (page && set_migratetype_isolate(page, migratetype, flags)) { in start_isolate_page_range()
215 struct page *page; in undo_isolate_page_range() local
224 if (!page || !is_migrate_isolate_page(page)) in undo_isolate_page_range()
240 struct page *page; in __test_page_isolated_in_pageblock() local
274 struct page *page; in test_pages_isolated() local
[all …]
A Dfilemap.c235 struct page *page) in page_cache_free_page() argument
296 struct page *page; in page_cache_delete_batch() local
492 struct page *page; in filemap_range_has_page() local
654 struct page *page; in filemap_range_has_writeback() local
1985 struct page *page; in find_get_entry() local
2048 struct page *page; in find_get_entries() local
2100 struct page *page; in find_lock_entries() local
2165 struct page *page; in find_get_pages_range() local
2216 struct page *page; in find_get_pages_contig() local
3163 vmf->page = page; in filemap_fault()
[all …]
A Dswap_state.c88 struct page *page; in get_shadow_from_swap_cache() local
109 VM_BUG_ON_PAGE(!PageLocked(page), page); in add_to_swap_cache()
160 VM_BUG_ON_PAGE(!PageLocked(page), page); in __delete_from_swap_cache()
184 int add_to_swap(struct page *page) in add_to_swap() argument
250 page_ref_sub(page, thp_nr_pages(page)); in delete_from_swap_cache()
289 void free_swap_cache(struct page *page) in free_swap_cache() argument
291 if (PageSwapCache(page) && !page_mapped(page) && trylock_page(page)) { in free_swap_cache()
337 struct page *page; in lookup_swap_cache() local
422 struct page *page; in __read_swap_cache_async() local
616 struct page *page; in swap_cluster_readahead() local
[all …]
/linux/fs/btrfs/
A Dsubpage.c122 struct page *page) in btrfs_detach_subpage() argument
174 struct page *page) in btrfs_page_inc_eb_refs() argument
189 struct page *page) in btrfs_page_dec_eb_refs() argument
205 struct page *page, u64 start, u32 len) in btrfs_subpage_assert() argument
221 struct page *page, u64 start, u32 len) in btrfs_subpage_start_reader() argument
232 struct page *page, u64 start, u32 len) in btrfs_subpage_end_reader() argument
274 struct page *page, u64 start, u32 len) in btrfs_subpage_start_writer() argument
288 struct page *page, u64 start, u32 len) in btrfs_subpage_end_and_test_writer() argument
320 struct page *page, u64 start, u32 len) in btrfs_page_start_writer_lock() argument
337 struct page *page, u64 start, u32 len) in btrfs_page_end_writer_lock() argument
[all …]
A Dsubpage.h81 struct page *page);
89 struct page *page);
91 struct page *page);
94 struct page *page, u64 start, u32 len);
96 struct page *page, u64 start, u32 len);
99 struct page *page, u64 start, u32 len);
101 struct page *page, u64 start, u32 len);
103 struct page *page, u64 start, u32 len);
105 struct page *page, u64 start, u32 len);
139 struct page *page, u64 start, u32 len);
[all …]
/linux/fs/jfs/
A Djfs_metapage.c135 static inline void inc_io(struct page *page) in inc_io() argument
140 static inline void dec_io(struct page *page, void (*handler) (struct page *)) in dec_io() argument
170 #define dec_io(page, handler) handler(page) argument
269 struct page *page = bio->bi_private; in metapage_read_end_io() local
324 struct page *page = bio->bi_private; in metapage_write_end_io() local
584 struct page *page; in __get_metapage() local
623 if (IS_ERR(page) || !PageUptodate(page)) { in __get_metapage()
656 mp->page = page; in __get_metapage()
698 struct page *page = mp->page; in force_metapage() local
732 struct page *page = mp->page; in release_metapage() local
[all …]
/linux/fs/sysv/
A Ddir.c31 static inline void dir_put_page(struct page *page) in dir_put_page() argument
33 kunmap(page); in dir_put_page()
58 struct page *page = read_mapping_page(mapping, n, NULL); in dir_get_page() local
60 kmap(page); in dir_get_page()
61 return page; in dir_get_page()
83 struct page *page = dir_get_page(inode, n); in sysv_readdir() local
134 struct page *page = NULL; in sysv_find_entry() local
178 struct page *page = NULL; in sysv_add_link() local
287 struct page *page = NULL; in sysv_empty_dir() local
347 struct page *page = dir_get_page(dir, 0); in sysv_dotdot() local
[all …]

Completed in 87 milliseconds

12345678910>>...141