Home
last modified time | relevance | path

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

1234

/include/linux/
A 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()
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()
113 static inline void init_page_count(struct page *page) in init_page_count()
118 static inline void page_ref_add(struct page *page, int nr) in page_ref_add()
130 static inline void page_ref_sub(struct page *page, int nr) in page_ref_sub()
151 static inline void page_ref_inc(struct page *page) in page_ref_inc()
163 static inline void page_ref_dec(struct page *page) in page_ref_dec()
189 static inline int page_ref_inc_return(struct page *page) in page_ref_inc_return()
[all …]
A 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()
76 static inline void *kmap_local_page_try_from_panic(struct page *page) in kmap_local_page_try_from_panic()
86 struct page *page = folio_page(folio, offset / PAGE_SIZE); in kmap_local_folio() local
116 static inline void *kmap_atomic(struct page *page) in kmap_atomic()
170 static inline void *kmap(struct page *page) in kmap()
176 static inline void kunmap_high(struct page *page) { } in kunmap_high()
179 static inline void kunmap(struct page *page) in kunmap()
186 static inline void *kmap_local_page(struct page *page) in kmap_local_page()
[all …]
A Dpage-isolation.h6 static inline bool is_migrate_isolate_page(struct page *page) in is_migrate_isolate_page()
14 #define get_pageblock_isolate(page) \ argument
16 #define clear_pageblock_isolate(page) \ argument
18 #define set_pageblock_isolate(page) \ argument
21 static inline bool is_migrate_isolate_page(struct page *page) in is_migrate_isolate_page()
29 static inline bool get_pageblock_isolate(struct page *page) in get_pageblock_isolate()
33 static inline void clear_pageblock_isolate(struct page *page) in clear_pageblock_isolate()
36 static inline void set_pageblock_isolate(struct page *page) in set_pageblock_isolate()
A Dpage-flags.h349 const struct page *page = &folio->page; in const_folio_flags() local
358 struct page *page = &folio->page; in folio_flags() local
388 #define PF_POISONED_CHECK(page) ({ \ argument
393 #define PF_NO_TAIL(page, enforce) ({ \ argument
399 #define PF_SECOND(page, enforce) ({ \ argument
416 #define FOLIO_TEST_FLAG(name, page) \ argument
420 #define FOLIO_SET_FLAG(name, page) \ argument
424 #define FOLIO_CLEAR_FLAG(name, page) \ argument
428 #define __FOLIO_SET_FLAG(name, page) \ argument
432 #define __FOLIO_CLEAR_FLAG(name, page) \ argument
[all …]
A Dbootmem_info.h28 static inline enum bootmem_type bootmem_type(const struct page *page) in bootmem_type()
33 static inline unsigned long bootmem_info(const struct page *page) in bootmem_info()
43 static inline void free_bootmem_page(struct page *page) in free_bootmem_page()
68 static inline void put_page_bootmem(struct page *page) in put_page_bootmem()
72 static inline enum bootmem_type bootmem_type(const struct page *page) in bootmem_type()
77 static inline unsigned long bootmem_info(const struct page *page) in bootmem_info()
82 static inline void get_page_bootmem(unsigned long info, struct page *page, in get_page_bootmem()
87 static inline void free_bootmem_page(struct page *page) in free_bootmem_page()
A Dpage_owner.h22 static inline void reset_page_owner(struct page *page, unsigned short order) in reset_page_owner()
28 static inline void set_page_owner(struct page *page, in set_page_owner()
35 static inline void split_page_owner(struct page *page, int old_order, in split_page_owner()
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, int old_order, in split_page_owner()
74 static inline void dump_page_owner(const struct page *page) in dump_page_owner()
A Dpgalloc_tag.h25 struct page *page; /* reference in page flags */ member
101 static inline bool get_page_tag_ref(struct page *page, union codetag_ref *ref, in get_page_tag_ref()
141 struct page *page = handle.page; in update_page_tag_ref() local
168 static inline void clear_page_tag_ref(struct page *page) in clear_page_tag_ref()
175 static inline struct alloc_tag *__pgalloc_tag_get(struct page *page) in __pgalloc_tag_get()
191 static inline struct alloc_tag *pgalloc_tag_get(struct page *page) in pgalloc_tag_get()
205 static inline void clear_page_tag_ref(struct page *page) {} in clear_page_tag_ref()
209 static inline struct alloc_tag *pgalloc_tag_get(struct page *page) { return NULL; } in pgalloc_tag_get()
A Dpageblock-flags.h97 #define get_pageblock_skip(page) \ argument
99 #define clear_pageblock_skip(page) \ argument
101 #define set_pageblock_skip(page) \ argument
104 static inline bool get_pageblock_skip(struct page *page) in get_pageblock_skip()
108 static inline void clear_pageblock_skip(struct page *page) in clear_pageblock_skip()
111 static inline void set_pageblock_skip(struct page *page) in set_pageblock_skip()
A Dballoon_compaction.h84 static inline struct balloon_dev_info *balloon_page_device(struct page *page) in balloon_page_device()
100 struct page *page) in balloon_page_insert()
124 static inline void balloon_page_finalize(struct page *page) in balloon_page_finalize()
138 static inline void balloon_page_push(struct list_head *pages, struct page *page) in balloon_page_push()
152 struct page *page = list_first_entry_or_null(pages, struct page, lru); in balloon_page_pop() local
A 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()
428 static inline void memset_page(struct page *page, size_t offset, int val, in memset_page()
438 static inline void memcpy_from_page(char *to, struct page *page, in memcpy_from_page()
448 static inline void memcpy_to_page(struct page *page, size_t offset, in memcpy_to_page()
[all …]
A Dmm.h204 #define nth_page(page,n) ((page) + (n)) argument
1173 struct page *page = virt_to_page(x); in virt_to_head_page() local
1180 struct page *page = virt_to_page(x); in virt_to_folio() local
1325 static inline void get_page(struct page *page) in get_page()
1422 static inline void put_page(struct page *page) in put_page()
1506 static inline int page_zone_id(struct page *page) in page_zone_id()
2014 static inline long compound_nr(struct page *page) in compound_nr()
2489 struct page *page; in get_user_page_vma_remote() local
2896 struct page *page = ptdesc_page(pt); in pagetable_free() local
3540 unsigned long addr, struct page *page) in vmf_insert_page()
[all …]
A 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 int set_direct_map_valid_noflush(struct page *page, in set_direct_map_valid_noflush()
43 static inline bool kernel_page_present(struct page *page) in kernel_page_present()
A Drmap.h408 const struct page *page, int nr_pages, enum rmap_level level) in __folio_rmap_sanity_checks()
490 #define folio_add_file_rmap_pte(folio, page, vma) \ argument
498 #define folio_remove_rmap_pte(folio, page, vma) \ argument
569 struct page *page, int nr_pages, struct vm_area_struct *dst_vma, in __folio_dup_file_rmap()
616 struct page *page, struct vm_area_struct *dst_vma) in folio_dup_file_rmap_pte()
632 struct page *page, struct vm_area_struct *dst_vma) in folio_dup_file_rmap_pmd()
737 struct page *page, struct vm_area_struct *dst_vma, in folio_try_dup_anon_rmap_pte()
768 struct page *page, struct vm_area_struct *dst_vma, in folio_try_dup_anon_rmap_pmd()
781 struct page *page, int nr_pages, enum rmap_level level) in __folio_try_share_anon_rmap()
874 struct page *page) in folio_try_share_anon_rmap_pte()
[all …]
A Dmmdebug.h22 #define VM_BUG_ON_PAGE(cond, page) \ argument
50 #define VM_WARN_ON_ONCE_PAGE(cond, page) ({ \ argument
119 #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) argument
125 #define VM_WARN_ON_ONCE_PAGE(cond, page) BUILD_BUG_ON_INVALID(cond) argument
148 #define VM_BUG_ON_PGFLAGS(cond, page) VM_BUG_ON_PAGE(cond, page) argument
150 #define VM_BUG_ON_PGFLAGS(cond, page) BUILD_BUG_ON_INVALID(cond) argument
A 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
A Dpage_table_check.h30 static inline void page_table_check_alloc(struct page *page, unsigned int order) in page_table_check_alloc()
38 static inline void page_table_check_free(struct page *page, unsigned int order) in page_table_check_free()
109 static inline void page_table_check_alloc(struct page *page, unsigned int order) in page_table_check_alloc()
113 static inline void page_table_check_free(struct page *page, unsigned int order) in page_table_check_free()
A Dkmsan.h304 static inline bool __must_check kmsan_memblock_free_pages(struct page *page, in kmsan_memblock_free_pages()
318 static inline void kmsan_alloc_page(struct page *page, unsigned int order, in kmsan_alloc_page()
323 static inline void kmsan_free_page(struct page *page, unsigned int order) in kmsan_free_page()
375 static inline void kmsan_handle_dma(struct page *page, size_t offset, in kmsan_handle_dma()
A Dmemremap.h160 static inline bool is_device_private_page(const struct page *page) in is_device_private_page()
172 static inline bool is_pci_p2pdma_page(const struct page *page) in is_pci_p2pdma_page()
179 static inline bool is_device_coherent_page(const struct page *page) in is_device_coherent_page()
190 static inline bool is_fsdax_page(const struct page *page) in is_fsdax_page()
/include/asm-generic/
A Dmemory_model.h19 #define __page_to_pfn(page) ((unsigned long)((page) - mem_map) + \ argument
47 #define __page_to_pfn(page) (unsigned long)((page) - vmemmap) argument
77 #define page_to_phys(page) \ argument
85 #define page_to_phys(page) PFN_PHYS(page_to_pfn(page)) argument
A Dagp.h7 #define map_page_into_agp(page) do {} while (0) argument
8 #define unmap_page_from_agp(page) do {} while (0) argument
A 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
/include/net/page_pool/
A Dhelpers.h195 struct page *page; in page_pool_alloc_va() local
260 static inline void page_pool_fragment_page(struct page *page, long nr) in page_pool_fragment_page()
310 static inline long page_pool_unref_page(struct page *page, long nr) in page_pool_unref_page()
320 static inline void page_pool_ref_page(struct page *page) in page_pool_ref_page()
361 struct page *page, in page_pool_put_page()
386 struct page *page, bool allow_direct) in page_pool_put_full_page()
400 struct page *page) in page_pool_recycle_direct()
445 static inline dma_addr_t page_pool_get_dma_addr(const struct page *page) in page_pool_get_dma_addr()
472 const struct page *page, in page_pool_dma_sync_for_cpu()
/include/drm/ttm/
A Dttm_backup.h35 static inline bool ttm_backup_page_ptr_is_handle(const struct page *page) in ttm_backup_page_ptr_is_handle()
50 ttm_backup_page_ptr_to_handle(const struct page *page) in ttm_backup_page_ptr_to_handle()
/include/xen/interface/io/
A Dfbif.h78 #define XENFB_IN_RING(page) \ argument
80 #define XENFB_IN_RING_REF(page, idx) \ argument
86 #define XENFB_OUT_RING(page) \ argument
88 #define XENFB_OUT_RING_REF(page, idx) \ argument
/include/xen/
A Dpage.h20 #define page_to_xen_pfn(page) \ argument
31 static inline unsigned long xen_page_to_gfn(struct page *page) in xen_page_to_gfn()

Completed in 68 milliseconds

1234