Home
last modified time | relevance | path

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

12345

/include/linux/
Dpage_ref.h41 static inline void __page_ref_set(struct page *page, int v) in __page_ref_set()
44 static inline void __page_ref_mod(struct page *page, int v) in __page_ref_mod()
47 static inline void __page_ref_mod_and_test(struct page *page, int v, int ret) in __page_ref_mod_and_test()
50 static inline void __page_ref_mod_and_return(struct page *page, int v, int ret) in __page_ref_mod_and_return()
53 static inline void __page_ref_mod_unless(struct page *page, int v, int u) in __page_ref_mod_unless()
56 static inline void __page_ref_freeze(struct page *page, int v, int ret) in __page_ref_freeze()
59 static inline void __page_ref_unfreeze(struct page *page, int v) in __page_ref_unfreeze()
65 static inline int page_ref_count(const struct page *page) in page_ref_count()
92 static inline int page_count(const struct page *page) in page_count()
97 static inline void set_page_count(struct page *page, int v) in set_page_count()
[all …]
Dpage_owner.h23 static inline void reset_page_owner(struct page *page, unsigned short order) in reset_page_owner()
29 static inline void set_page_owner(struct page *page, in set_page_owner()
36 static inline void split_page_owner(struct page *page, unsigned int nr) in split_page_owner()
46 static inline void set_page_owner_migrate_reason(struct page *page, int reason) in set_page_owner_migrate_reason()
51 static inline void dump_page_owner(const struct page *page) in dump_page_owner()
57 static inline void reset_page_owner(struct page *page, unsigned short order) in reset_page_owner()
60 static inline void set_page_owner(struct page *page, in set_page_owner()
64 static inline void split_page_owner(struct page *page, in split_page_owner()
71 static inline void set_page_owner_migrate_reason(struct page *page, int reason) in set_page_owner_migrate_reason()
74 static inline void dump_page_owner(const struct page *page) in dump_page_owner()
Dpage_pinner.h16 static inline void free_page_pinner(struct page *page, unsigned int order) in free_page_pinner()
22 static inline void page_pinner_put_page(struct page *page) in page_pinner_put_page()
30 static inline void page_pinner_failure_detect(struct page *page) in page_pinner_failure_detect()
38 static inline void free_page_pinner(struct page *page, unsigned int order) in free_page_pinner()
41 static inline void page_pinner_put_page(struct page *page) in page_pinner_put_page()
44 static inline void page_pinner_failure_detect(struct page *page) in page_pinner_failure_detect()
Dpage-flags.h213 static __always_inline const struct page *page_fixed_fake_head(const struct page *page) in page_fixed_fake_head()
239 static inline const struct page *page_fixed_fake_head(const struct page *page) in page_fixed_fake_head()
245 static __always_inline int page_is_fake_head(struct page *page) in page_is_fake_head()
250 static inline unsigned long _compound_head(const struct page *page) in _compound_head()
259 #define compound_head(page) ((typeof(page))_compound_head(page)) argument
289 static __always_inline int PageTail(struct page *page) in PageTail()
294 static __always_inline int PageCompound(struct page *page) in PageCompound()
301 static inline int PagePoisoned(const struct page *page) in PagePoisoned()
309 static inline void page_init_poison(struct page *page, size_t size) in page_init_poison()
316 struct page *page = &folio->page; in folio_flags() local
[all …]
Dhighmem-internal.h40 static inline void *kmap(struct page *page) in kmap()
53 static inline void kunmap(struct page *page) in kunmap()
71 static inline void *kmap_local_page(struct page *page) in kmap_local_page()
78 struct page *page = folio_page(folio, offset / PAGE_SIZE); in kmap_local_folio() local
82 static inline void *kmap_local_page_prot(struct page *page, pgprot_t prot) in kmap_local_page_prot()
97 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
108 static inline void *kmap_atomic(struct page *page) in kmap_atomic()
167 static inline void *kmap(struct page *page) in kmap()
173 static inline void kunmap_high(struct page *page) { } in kunmap_high()
176 static inline void kunmap(struct page *page) in kunmap()
[all …]
Dballoon_compaction.h93 struct page *page) in balloon_page_insert()
110 static inline void balloon_page_delete(struct page *page) in balloon_page_delete()
127 static inline struct balloon_dev_info *balloon_page_device(struct page *page) in balloon_page_device()
140 struct page *page) in balloon_page_insert()
147 static inline void balloon_page_delete(struct page *page) in balloon_page_delete()
167 static inline void balloon_page_push(struct list_head *pages, struct page *page) in balloon_page_push()
181 struct page *page = list_first_entry_or_null(pages, struct page, lru); in balloon_page_pop() local
Dpageblock-flags.h75 #define get_pageblock_skip(page) \ argument
78 #define clear_pageblock_skip(page) \ argument
81 #define set_pageblock_skip(page) \ argument
86 static inline bool get_pageblock_skip(struct page *page) in get_pageblock_skip()
90 static inline void clear_pageblock_skip(struct page *page) in clear_pageblock_skip()
93 static inline void set_pageblock_skip(struct page *page) in set_pageblock_skip()
Dhighmem.h186 static inline void flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vma… in flush_anon_page()
202 static inline void clear_user_highpage(struct page *page, unsigned long vaddr) in clear_user_highpage()
237 static inline void clear_highpage(struct page *page) in clear_highpage()
244 static inline void clear_highpage_kasan_tagged(struct page *page) in clear_highpage_kasan_tagged()
254 static inline void tag_clear_highpage(struct page *page) in tag_clear_highpage()
268 static inline void zero_user_segments(struct page *page, in zero_user_segments()
289 static inline void zero_user_segment(struct page *page, in zero_user_segment()
295 static inline void zero_user(struct page *page, in zero_user()
401 static inline void memset_page(struct page *page, size_t offset, int val, in memset_page()
411 static inline void memcpy_from_page(char *to, struct page *page, in memcpy_from_page()
[all …]
Dmm.h140 static inline void __mm_zero_struct_page(struct page *page) in __mm_zero_struct_page()
215 #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) argument
218 #define nth_page(page,n) ((page) + (n)) argument
538 struct page *page; /* ->fault handlers should return a member
1078 static inline unsigned int compound_order(struct page *page) in compound_order()
1121 static inline int put_page_testzero(struct page *page) in put_page_testzero()
1143 static inline bool get_page_unless_zero(struct page *page) in get_page_unless_zero()
1148 static inline struct folio *folio_get_nontail_page(struct page *page) in folio_get_nontail_page()
1207 static inline void page_mapcount_reset(struct page *page) in page_mapcount_reset()
1223 static inline int page_mapcount(struct page *page) in page_mapcount()
[all …]
Dbootmem_info.h32 static inline void free_bootmem_page(struct page *page) in free_bootmem_page()
52 static inline void put_page_bootmem(struct page *page) in put_page_bootmem()
56 static inline void get_page_bootmem(unsigned long info, struct page *page, in get_page_bootmem()
61 static inline void free_bootmem_page(struct page *page) in free_bootmem_page()
Drmap.h201 struct page *page, int nr_pages, enum rmap_level level) in __folio_rmap_sanity_checks()
242 #define folio_add_anon_rmap_pte(folio, page, vma, address, flags) \ argument
250 #define folio_add_file_rmap_pte(folio, page, vma) \ argument
256 #define folio_remove_rmap_pte(folio, page, vma) \ argument
322 struct page *page, int nr_pages, enum rmap_level level) in __folio_dup_file_rmap()
352 struct page *page, int nr_pages) in folio_dup_file_rmap_ptes()
356 #define folio_dup_file_rmap_pte(folio, page) \ argument
369 struct page *page) in folio_dup_file_rmap_pmd()
379 struct page *page, int nr_pages, struct vm_area_struct *src_vma, in __folio_try_dup_anon_rmap()
455 struct page *page, int nr_pages, struct vm_area_struct *src_vma) in folio_try_dup_anon_rmap_ptes()
[all …]
Dpage_idle.h123 static inline bool page_is_young(struct page *page) in page_is_young()
128 static inline void set_page_young(struct page *page) in set_page_young()
133 static inline bool test_and_clear_page_young(struct page *page) in test_and_clear_page_young()
138 static inline bool page_is_idle(struct page *page) in page_is_idle()
143 static inline void set_page_idle(struct page *page) in set_page_idle()
Dmmdebug.h20 #define VM_BUG_ON_PAGE(cond, page) \ argument
48 #define VM_WARN_ON_ONCE_PAGE(cond, page) ({ \ argument
97 #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) argument
103 #define VM_WARN_ON_ONCE_PAGE(cond, page) BUILD_BUG_ON_INVALID(cond) argument
124 #define VM_BUG_ON_PGFLAGS(cond, page) VM_BUG_ON_PAGE(cond, page) argument
126 #define VM_BUG_ON_PGFLAGS(cond, page) BUILD_BUG_ON_INVALID(cond) argument
Dcleancache.h56 static inline bool cleancache_fs_enabled(struct page *page) in cleancache_fs_enabled()
91 static inline int cleancache_get_page(struct page *page) in cleancache_get_page()
98 static inline void cleancache_put_page(struct page *page) in cleancache_put_page()
105 struct page *page) in cleancache_invalidate_page()
Dnetfs.h29 #define PageFsCache(page) PagePrivate2((page)) argument
30 #define SetPageFsCache(page) SetPagePrivate2((page)) argument
31 #define ClearPageFsCache(page) ClearPagePrivate2((page)) argument
32 #define TestSetPageFsCache(page) TestSetPagePrivate2((page)) argument
33 #define TestClearPageFsCache(page) TestClearPagePrivate2((page)) argument
92 static inline void set_page_fscache(struct page *page) in set_page_fscache()
97 static inline void end_page_fscache(struct page *page) in end_page_fscache()
102 static inline void wait_on_page_fscache(struct page *page) in wait_on_page_fscache()
107 static inline int wait_on_page_fscache_killable(struct page *page) in wait_on_page_fscache_killable()
Dmigrate.h95 static inline bool isolate_movable_page(struct page *page, isolate_mode_t mode) in isolate_movable_page()
111 static inline bool PageMovable(struct page *page) { return false; } in PageMovable()
112 static inline void __SetPageMovable(struct page *page, in __SetPageMovable()
116 static inline void __ClearPageMovable(struct page *page) in __ClearPageMovable()
136 const struct movable_operations *page_movable_ops(struct page *page) in page_movable_ops()
Dcacheflush.h22 struct page *page, unsigned int nr) in flush_icache_pages()
27 #define flush_icache_page(vma, page) flush_icache_pages(vma, page, 1) argument
Dset_memory.h28 static inline int set_direct_map_invalid_noflush(struct page *page) in set_direct_map_invalid_noflush()
32 static inline int set_direct_map_default_noflush(struct page *page) in set_direct_map_default_noflush()
37 static inline bool kernel_page_present(struct page *page) in kernel_page_present()
Dpagemap.h457 static inline struct address_space *page_file_mapping(struct page *page) in page_file_mapping()
532 static inline void attach_page_private(struct page *page, void *data) in attach_page_private()
537 static inline void *detach_page_private(struct page *page) in detach_page_private()
907 static inline pgoff_t page_to_index(struct page *page) in page_to_index()
928 static inline pgoff_t page_to_pgoff(struct page *page) in page_to_pgoff()
938 static inline loff_t page_offset(struct page *page) in page_offset()
943 static inline loff_t page_file_offset(struct page *page) in page_file_offset()
1045 static inline int trylock_page(struct page *page) in trylock_page()
1090 static inline void lock_page(struct page *page) in lock_page()
1161 static inline void wait_on_page_locked(struct page *page) in wait_on_page_locked()
[all …]
Dpage_table_check.h28 static inline void page_table_check_alloc(struct page *page, unsigned int order) in page_table_check_alloc()
36 static inline void page_table_check_free(struct page *page, unsigned int order) in page_table_check_free()
107 static inline void page_table_check_alloc(struct page *page, unsigned int order) in page_table_check_alloc()
111 static inline void page_table_check_free(struct page *page, unsigned int order) in page_table_check_free()
Dkmsan.h243 static inline bool __must_check kmsan_memblock_free_pages(struct page *page, in kmsan_memblock_free_pages()
257 static inline void kmsan_alloc_page(struct page *page, unsigned int order, in kmsan_alloc_page()
262 static inline void kmsan_free_page(struct page *page, unsigned int order) in kmsan_free_page()
314 static inline void kmsan_handle_dma(struct page *page, size_t offset, in kmsan_handle_dma()
Dpage-isolation.h10 static inline bool is_migrate_isolate_page(struct page *page) in is_migrate_isolate_page()
23 static inline bool is_migrate_isolate_page(struct page *page) in is_migrate_isolate_page()
/include/net/page_pool/
Dhelpers.h108 static inline void page_pool_fragment_page(struct page *page, long nr) in page_pool_fragment_page()
113 static inline long page_pool_defrag_page(struct page *page, long nr) in page_pool_defrag_page()
135 struct page *page) in page_pool_is_last_frag()
156 struct page *page, in page_pool_put_page()
181 struct page *page, bool allow_direct) in page_pool_put_full_page()
195 struct page *page) in page_pool_recycle_direct()
210 static inline dma_addr_t page_pool_get_dma_addr(struct page *page) in page_pool_get_dma_addr()
220 static inline void page_pool_set_dma_addr(struct page *page, dma_addr_t addr) in page_pool_set_dma_addr()
/include/asm-generic/
Dagp.h7 #define map_page_into_agp(page) do {} while (0) argument
8 #define unmap_page_from_agp(page) do {} while (0) argument
Dcacheflush.h51 static inline void flush_dcache_page(struct page *page) in flush_dcache_page()
82 struct page *page, in flush_icache_user_page()
107 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
117 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument

12345