Home
last modified time | relevance | path

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

12345678910>>...123

/linux-6.3-rc2/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.h258 #define compound_head(page) ((typeof(page))_compound_head(page)) argument
315 struct page *page = &folio->page; in folio_flags() local
826 int PageHuge(struct page *page);
827 int PageHeadHuge(struct page *page);
848 VM_BUG_ON_PAGE(PageTail(page), page); in TESTPAGEFLAG_FALSE()
1002 VM_BUG_ON_PGFLAGS(PageHuge(page) && !PageHead(page), page); in PageAnonExclusive()
1008 VM_BUG_ON_PGFLAGS(!PageAnon(page) || PageKsm(page), page); in SetPageAnonExclusive()
1009 VM_BUG_ON_PGFLAGS(PageHuge(page) && !PageHead(page), page); in SetPageAnonExclusive()
1015 VM_BUG_ON_PGFLAGS(!PageAnon(page) || PageKsm(page), page); in ClearPageAnonExclusive()
1016 VM_BUG_ON_PGFLAGS(PageHuge(page) && !PageHead(page), page); in ClearPageAnonExclusive()
[all …]
A Dballoon_compaction.h59 struct page *page, enum migrate_mode mode);
64 struct page *page);
92 struct page *page) in balloon_page_insert() argument
108 static inline void balloon_page_delete(struct page *page) in balloon_page_delete() argument
138 struct page *page) in balloon_page_insert() argument
144 static inline void balloon_page_delete(struct page *page) in balloon_page_delete() argument
147 list_del(&page->lru); in balloon_page_delete()
178 struct page *page = list_first_entry_or_null(pages, struct page, lru); in balloon_page_pop() local
180 if (!page) in balloon_page_pop()
183 list_del(&page->lru); in balloon_page_pop()
[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
167 static inline void *kmap(struct page *page) in kmap() argument
173 static inline void kunmap_high(struct page *page) { } in kunmap_high() argument
176 static inline void kunmap(struct page *page) in kunmap() argument
[all …]
A Dhighmem.h37 static inline void *kmap(struct page *page);
46 static inline void kunmap(struct page *page);
96 static inline void *kmap_local_page(struct page *page);
179 static inline void *kmap_atomic(struct page *page);
237 static inline void clear_highpage(struct page *page) in clear_highpage() argument
256 static inline void tag_clear_highpage(struct page *page) in tag_clear_highpage() argument
270 static inline void zero_user_segments(struct page *page, in zero_user_segments() argument
277 BUG_ON(end1 > page_size(page) || end2 > page_size(page)); in zero_user_segments()
291 static inline void zero_user_segment(struct page *page, in zero_user_segment() argument
297 static inline void zero_user(struct page *page, in zero_user() 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 …]
A Dmm.h225 #define nth_page(page,n) ((page) + (n)) argument
1050 struct page *page = virt_to_page(x); in virt_to_head_page() local
1057 struct page *page = virt_to_page(x); in virt_to_folio() local
1098 VM_BUG_ON_PAGE(!PageHead(page), page); in set_compound_page_dtor()
1139 VM_BUG_ON_PGFLAGS(PageTail(page), page); in thp_order()
1154 void free_compound_page(struct page *page);
1286 page = compound_head(page); in try_get_page()
1413 void unpin_user_page(struct page *page);
1462 struct page *p = (struct page *)page; in page_to_nid()
1768 struct page *page) in page_needs_cow_for_dma() argument
[all …]
A Dmigrate.h10 typedef struct page *new_page_t(struct page *page, unsigned long private);
11 typedef void free_page_t(struct page *page, unsigned long private);
55 int (*migrate_page)(struct page *dst, struct page *src,
73 struct page *alloc_migration_target(struct page *page, unsigned long private);
74 bool isolate_movable_page(struct page *page, isolate_mode_t mode);
92 static inline struct page *alloc_migration_target(struct page *page, in alloc_migration_target() argument
107 bool PageMovable(struct page *page);
109 void __ClearPageMovable(struct page *page);
112 static inline void __SetPageMovable(struct page *page, in __SetPageMovable() argument
116 static inline void __ClearPageMovable(struct page *page) in __ClearPageMovable() argument
[all …]
/linux-6.3-rc2/mm/
A Dfolio-compat.c19 void unlock_page(struct page *page) in unlock_page() argument
25 void end_page_writeback(struct page *page) in end_page_writeback() argument
31 void wait_on_page_writeback(struct page *page) in wait_on_page_writeback() argument
37 void wait_for_stable_page(struct page *page) in wait_for_stable_page() argument
43 void mark_page_accessed(struct page *page) in mark_page_accessed() argument
49 bool set_page_writeback(struct page *page) in set_page_writeback() argument
55 bool set_page_dirty(struct page *page) in set_page_dirty() argument
74 struct page *page) in redirty_page_for_writepage() argument
116 bool isolate_lru_page(struct page *page) in isolate_lru_page() argument
123 void putback_lru_page(struct page *page) in putback_lru_page() argument
[all …]
A Dpage_isolation.c36 struct page *page = pfn_to_page(start_pfn); in has_unmovable_pages() local
81 if (PageHuge(page) || PageTransCompound(page)) { in has_unmovable_pages()
82 struct page *head = compound_head(page); in has_unmovable_pages()
129 if (__PageMovable(page) || PageLRU(page)) in has_unmovable_pages()
272 struct page *page; in __first_valid_page() local
391 struct page *head = compound_head(page); in isolate_single_pageblock()
404 if (PageHuge(page) || PageLRU(page) || __PageMovable(page)) { in isolate_single_pageblock()
533 struct page *page; in start_isolate_page_range() local
581 struct page *page; in undo_isolate_page_range() local
605 struct page *page; in __test_page_isolated_in_pageblock() local
[all …]
A Dpage_io.c32 struct page *page = bio_first_page_all(bio); in __end_swap_bio_write() local
61 struct page *page = bio_first_page_all(bio); in __end_swap_bio_read() local
263 struct page *page = sio->bvec[0].bv_page; in sio_write_complete() local
341 bio_add_page(&bio, page, thp_size(page), 0); in swap_writepage_bdev_sync()
363 bio_add_page(bio, page, thp_size(page), 0); in swap_writepage_bdev_async()
376 VM_BUG_ON_PAGE(!PageSwapCache(page), page); in __swap_writepage()
409 struct page *page = sio->bvec[p].bv_page; in sio_read_complete() local
417 struct page *page = sio->bvec[p].bv_page; in sio_read_complete() local
491 bio_add_page(bio, page, thp_size(page), 0); in swap_readpage_bdev_async()
504 VM_BUG_ON_PAGE(!PageLocked(page), page); in swap_readpage()
[all …]
A Dballoon_compaction.c15 struct page *page) in balloon_page_enqueue_one() argument
25 unlock_page(page); in balloon_page_enqueue_one()
43 struct page *page, *tmp; in balloon_page_list_enqueue() local
79 struct page *page, *tmp; in balloon_page_list_dequeue() local
105 unlock_page(page); in balloon_page_list_dequeue()
126 struct page *page = alloc_page(balloon_mapping_gfp_mask() | in balloon_page_alloc() local
129 return page; in balloon_page_alloc()
147 struct page *page) in balloon_page_enqueue() argument
220 static void balloon_page_putback(struct page *page) in balloon_page_putback() argument
232 static int balloon_page_migrate(struct page *newpage, struct page *page, in balloon_page_migrate() argument
[all …]
A Dbootmem_info.c17 void get_page_bootmem(unsigned long info, struct page *page, unsigned long type) in get_page_bootmem() argument
19 page->index = type; in get_page_bootmem()
20 SetPagePrivate(page); in get_page_bootmem()
22 page_ref_inc(page); in get_page_bootmem()
25 void put_page_bootmem(struct page *page) in put_page_bootmem() argument
33 page->index = 0; in put_page_bootmem()
34 ClearPagePrivate(page); in put_page_bootmem()
38 free_reserved_page(page); in put_page_bootmem()
47 struct page *page, *memmap; in register_page_bootmem_info_section() local
82 struct page *page, *memmap; in register_page_bootmem_info_section() local
[all …]
A Dmigrate_device.c74 struct page *page; in migrate_vma_collect_pmd() local
117 struct page *page; in migrate_vma_collect_pmd() local
160 if (page && !is_zone_device_page(page) && in migrate_vma_collect_pmd()
163 else if (page && is_device_coherent_page(page) && in migrate_vma_collect_pmd()
172 if (!page || !page->mapping || PageTransCompound(page)) { in migrate_vma_collect_pmd()
328 static bool migrate_vma_check_page(struct page *page, struct page *fault_page) in migrate_vma_check_page() argument
353 if ((page_count(page) - extra) > page_mapcount(page)) in migrate_vma_check_page()
374 struct page *page = migrate_pfn_to_page(src_pfns[i]); in migrate_device_unmap() local
570 struct page *page, in migrate_vma_insert_page() argument
915 struct page *page = pfn_to_page(pfn); in migrate_device_range() local
[all …]
/linux-6.3-rc2/fs/btrfs/
A Dsubpage.c146 struct page *page) in btrfs_detach_subpage() argument
198 struct page *page) in btrfs_page_inc_eb_refs() argument
213 struct page *page) in btrfs_page_dec_eb_refs() argument
229 struct page *page, u64 start, u32 len) in btrfs_subpage_assert() argument
245 struct page *page, u64 start, u32 len) in btrfs_subpage_start_reader() argument
256 struct page *page, u64 start, u32 len) in btrfs_subpage_end_reader() argument
298 struct page *page, u64 start, u32 len) in btrfs_subpage_start_writer() argument
312 struct page *page, u64 start, u32 len) in btrfs_subpage_end_and_test_writer() argument
344 struct page *page, u64 start, u32 len) in btrfs_page_start_writer_lock() argument
361 struct page *page, u64 start, u32 len) in btrfs_page_end_writer_lock() argument
[all …]
A Dsubpage.h83 struct page *page);
91 struct page *page);
93 struct page *page);
96 struct page *page, u64 start, u32 len);
98 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);
107 struct page *page, u64 start, u32 len);
141 struct page *page, u64 start, u32 len);
[all …]
/linux-6.3-rc2/net/core/
A Dpage_pool.c229 struct page *page; in page_pool_refill_alloc_cache() local
281 struct page *page; in __page_pool_get_cached() local
296 struct page *page, in page_pool_dma_sync_for_device() argument
331 struct page *page) in page_pool_set_pp_info() argument
348 struct page *page; in __page_pool_alloc_page_order() local
378 struct page *page; in __page_pool_alloc_pages_slow() local
433 struct page *page; in page_pool_alloc_pages() local
660 struct page *page) in page_pool_drain_frag()
740 struct page *page; in page_pool_empty_ring() local
771 struct page *page; in page_pool_empty_alloc_cache_once() local
[all …]
/linux-6.3-rc2/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
472 struct page *page = &folio->page; in metapage_read_folio() local
582 struct page *page; in __get_metapage() local
654 mp->page = page; in __get_metapage()
696 struct page *page = mp->page; in force_metapage() local
730 struct page *page = mp->page; in release_metapage() local
[all …]
/linux-6.3-rc2/sound/pci/trident/
A Dtrident_memory.c38 #define aligned_page_offset(page) ((page) << 12) argument
47 #define aligned_page_offset(page) ((page) << 13) argument
54 page <<= 1; in set_tlb_bus()
60 page <<= 1; in set_silent_tlb()
76 #define aligned_page_offset(page) ((page) * ALIGN_PAGE_SIZE) argument
115 page = 0; in search_empty()
184 for (page = firstpg(blk); page <= lastpg(blk); page++, idx++) { in snd_trident_alloc_sg_pages()
207 int page; in snd_trident_alloc_cont_pages() local
228 for (page = firstpg(blk); page <= lastpg(blk); page++, in snd_trident_alloc_cont_pages()
264 int page; in snd_trident_free_pages() local
[all …]
/linux-6.3-rc2/fs/ecryptfs/
A Dmmap.c36 if (!IS_ERR(page)) in ecryptfs_get_locked_page()
37 lock_page(page); in ecryptfs_get_locked_page()
38 return page; in ecryptfs_get_locked_page()
109 ecryptfs_copy_up_encrypted_with_header(struct page *page, in ecryptfs_copy_up_encrypted_with_header() argument
183 struct page *page = &folio->page; in ecryptfs_read_folio() local
189 rc = ecryptfs_read_lower_page_segment(page, page->index, 0, in ecryptfs_read_folio()
207 page, page->index, 0, PAGE_SIZE, in ecryptfs_read_folio()
272 struct page *page; in ecryptfs_write_begin() local
277 if (!page) in ecryptfs_write_begin()
279 *pagep = page; in ecryptfs_write_begin()
[all …]
/linux-6.3-rc2/include/trace/events/
A Dpage_ref.h15 TP_PROTO(struct page *page, int v),
17 TP_ARGS(page, v),
49 TP_PROTO(struct page *page, int v),
51 TP_ARGS(page, v)
56 TP_PROTO(struct page *page, int v),
63 TP_PROTO(struct page *page, int v, int ret),
99 TP_PROTO(struct page *page, int v, int ret),
106 TP_PROTO(struct page *page, int v, int ret),
113 TP_PROTO(struct page *page, int v, int ret),
120 TP_PROTO(struct page *page, int v, int ret),
[all …]
/linux-6.3-rc2/fs/nilfs2/
A Ddir.c67 static inline void nilfs_put_page(struct page *page) in nilfs_put_page() argument
95 static void nilfs_commit_chunk(struct page *page, in nilfs_commit_chunk() argument
116 static bool nilfs_check_page(struct page *page) in nilfs_check_page() argument
278 struct page *page = nilfs_get_page(inode, n); in nilfs_readdir() local
333 struct page *page = NULL; in nilfs_find_entry() local
390 struct page *page = nilfs_get_page(dir, 0); in nilfs_dotdot() local
405 struct page *page; in nilfs_inode_by_name() local
418 struct page *page, struct inode *inode) in nilfs_set_link() argument
446 struct page *page = NULL; in nilfs_add_link() local
582 struct page *page = grab_cache_page(mapping, 0); in nilfs_make_empty() local
[all …]
/linux-6.3-rc2/arch/s390/mm/
A Dpage-states.c61 static inline void set_page_unused(struct page *page, int order) in set_page_unused() argument
72 static inline void set_page_stable_dat(struct page *page, int order) in set_page_stable_dat() argument
83 static inline void set_page_stable_nodat(struct page *page, int order) in set_page_stable_nodat() argument
97 struct page *page; in mark_kernel_pmd() local
113 struct page *page; in mark_kernel_pud() local
134 struct page *page; in mark_kernel_p4d() local
155 struct page *page; in mark_kernel_pgd() local
176 struct page *page; in cmma_init_nodat() local
198 void arch_free_page(struct page *page, int order) in arch_free_page() argument
205 void arch_alloc_page(struct page *page, int order) in arch_alloc_page() argument
[all …]
/linux-6.3-rc2/arch/openrisc/include/asm/
A Dcacheflush.h24 extern void local_dcache_page_flush(struct page *page);
25 extern void local_icache_page_inv(struct page *page);
33 #define dcache_page_flush(page) local_dcache_page_flush(page) argument
34 #define icache_page_inv(page) local_icache_page_inv(page) argument
36 #define dcache_page_flush(page) local_dcache_page_flush(page) argument
37 #define icache_page_inv(page) smp_icache_page_inv(page) argument
38 extern void smp_icache_page_inv(struct page *page);
45 static inline void sync_icache_dcache(struct page *page) in sync_icache_dcache() argument
48 dcache_page_flush(page); in sync_icache_dcache()
49 icache_page_inv(page); in sync_icache_dcache()
[all …]
/linux-6.3-rc2/arch/arm/mm/
A Dflush.c128 void __flush_ptrace_access(struct page *page, unsigned long uaddr, void *kaddr, in __flush_ptrace_access() argument
159 void flush_ptrace_access(struct vm_area_struct *vma, struct page *page, in flush_ptrace_access() argument
170 void flush_uprobe_xol_access(struct page *page, unsigned long uaddr, in flush_uprobe_xol_access() argument
185 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page() argument
199 void __flush_dcache_page(struct address_space *mapping, struct page *page) in __flush_dcache_page() argument
206 if (!PageHighMem(page)) { in __flush_dcache_page()
207 __cpuc_flush_dcache_area(page_address(page), page_size(page)); in __flush_dcache_page()
249 pgoff = page->index; in __flush_dcache_aliases()
272 struct page *page; in __sync_icache_dcache() local
282 page = pfn_to_page(pfn); in __sync_icache_dcache()
[all …]

Completed in 59 milliseconds

12345678910>>...123