Home
last modified time | relevance | path

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

123

/include/linux/
Dmemcontrol.h149 static inline void mem_cgroup_begin_update_page_stat(struct page *page, in mem_cgroup_begin_update_page_stat()
162 static inline void mem_cgroup_end_update_page_stat(struct page *page, in mem_cgroup_end_update_page_stat()
176 static inline void mem_cgroup_inc_page_stat(struct page *page, in mem_cgroup_inc_page_stat()
182 static inline void mem_cgroup_dec_page_stat(struct page *page, in mem_cgroup_dec_page_stat()
205 static inline int mem_cgroup_newpage_charge(struct page *page, in mem_cgroup_newpage_charge()
211 static inline int mem_cgroup_cache_charge(struct page *page, in mem_cgroup_cache_charge()
218 struct page *page, gfp_t gfp_mask, struct mem_cgroup **memcgp) in mem_cgroup_try_charge_swapin()
223 static inline void mem_cgroup_commit_charge_swapin(struct page *page, in mem_cgroup_commit_charge_swapin()
240 static inline void mem_cgroup_uncharge_page(struct page *page) in mem_cgroup_uncharge_page()
244 static inline void mem_cgroup_uncharge_cache_page(struct page *page) in mem_cgroup_uncharge_cache_page()
[all …]
Dpagemap.h84 #define page_cache_get(page) get_page(page) argument
85 #define page_cache_release(page) put_page(page) argument
132 static inline int page_cache_get_speculative(struct page *page) in page_cache_get_speculative()
170 static inline int page_cache_add_speculative(struct page *page, int count) in page_cache_add_speculative()
190 static inline int page_freeze_refs(struct page *page, int count) in page_freeze_refs()
195 static inline void page_unfreeze_refs(struct page *page, int count) in page_unfreeze_refs()
284 static inline loff_t page_offset(struct page *page) in page_offset()
309 static inline void __set_page_locked(struct page *page) in __set_page_locked()
314 static inline void __clear_page_locked(struct page *page) in __clear_page_locked()
319 static inline int trylock_page(struct page *page) in trylock_page()
[all …]
Dksm.h47 static inline int PageKsm(struct page *page) in PageKsm()
53 static inline struct stable_node *page_stable_node(struct page *page) in page_stable_node()
58 static inline void set_page_stable_node(struct page *page, in set_page_stable_node()
76 static inline int ksm_might_need_to_copy(struct page *page, in ksm_might_need_to_copy()
104 static inline int PageKsm(struct page *page) in PageKsm()
116 static inline int ksm_might_need_to_copy(struct page *page, in ksm_might_need_to_copy()
122 static inline int page_referenced_ksm(struct page *page, in page_referenced_ksm()
128 static inline int try_to_unmap_ksm(struct page *page, enum ttu_flags flags) in try_to_unmap_ksm()
133 static inline int rmap_walk_ksm(struct page *page, int (*rmap_one)(struct page*, in rmap_walk_ksm()
Dmm.h58 #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) argument
204 struct page *page; /* ->fault handlers should return a member
260 #define page_private(page) ((page)->private) argument
261 #define set_page_private(page, v) ((page)->private = (v)) argument
286 static inline int put_page_testzero(struct page *page) in put_page_testzero()
296 static inline int get_page_unless_zero(struct page *page) in get_page_unless_zero()
332 static inline void compound_lock(struct page *page) in compound_lock()
339 static inline void compound_unlock(struct page *page) in compound_unlock()
346 static inline unsigned long compound_lock_irqsave(struct page *page) in compound_lock_irqsave()
356 static inline void compound_unlock_irqrestore(struct page *page, in compound_unlock_irqrestore()
[all …]
Dmm_inline.h19 static inline int page_is_file_cache(struct page *page) in page_is_file_cache()
25 add_page_to_lru_list(struct zone *zone, struct page *page, enum lru_list lru) in add_page_to_lru_list()
35 del_page_from_lru_list(struct zone *zone, struct page *page, enum lru_list lru) in del_page_from_lru_list()
50 static inline enum lru_list page_lru_base_type(struct page *page) in page_lru_base_type()
64 static inline enum lru_list page_off_lru(struct page *page) in page_off_lru()
88 static inline enum lru_list page_lru(struct page *page) in page_lru()
Dpage-flags.h279 static inline int PageUptodate(struct page *page) in PageUptodate()
297 static inline void __SetPageUptodate(struct page *page) in __SetPageUptodate()
303 static inline void SetPageUptodate(struct page *page) in SetPageUptodate()
329 static inline void set_page_writeback(struct page *page) in set_page_writeback()
350 static inline void ClearPageCompound(struct page *page) in ClearPageCompound()
384 static inline int PageTail(struct page *page) in PageTail()
389 static inline void __SetPageTail(struct page *page) in __SetPageTail()
394 static inline void __ClearPageTail(struct page *page) in __ClearPageTail()
400 static inline void ClearPageCompound(struct page *page) in ClearPageCompound()
418 static inline int PageTransHuge(struct page *page) in PageTransHuge()
[all …]
Dhighmem.h14 static inline void flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vma… in flush_anon_page()
20 static inline void flush_kernel_dcache_page(struct page *page) in flush_kernel_dcache_page()
49 static inline void *kmap(struct page *page) in kmap()
55 static inline void kunmap(struct page *page) in kunmap()
59 static inline void *kmap_atomic(struct page *page) in kmap_atomic()
64 #define kmap_atomic_prot(page, prot) kmap_atomic(page) argument
125 static inline void __deprecated *kmap_atomic_deprecated(struct page *page, in kmap_atomic_deprecated()
164 static inline void clear_user_highpage(struct page *page, unsigned long vaddr) in clear_user_highpage()
192 struct page *page = alloc_page_vma(GFP_HIGHUSER | movableflags, in __alloc_zeroed_user_highpage() local
217 static inline void clear_highpage(struct page *page) in clear_highpage()
[all …]
Dfscache.h39 #define PageFsCache(page) PagePrivate2((page)) argument
40 #define SetPageFsCache(page) SetPagePrivate2((page)) argument
41 #define ClearPageFsCache(page) ClearPagePrivate2((page)) argument
42 #define TestSetPageFsCache(page) TestSetPagePrivate2((page)) argument
43 #define TestClearPageFsCache(page) TestClearPagePrivate2((page)) argument
441 struct page *page, in fscache_read_or_alloc_page()
525 struct page *page, in fscache_alloc_page()
554 struct page *page, in fscache_write_page()
579 struct page *page) in fscache_uncache_page()
597 struct page *page) in fscache_check_page_write()
[all …]
Drmap.h84 static inline struct anon_vma *page_anon_vma(struct page *page) in page_anon_vma()
151 static inline void page_dup_rmap(struct page *page) in page_dup_rmap()
188 static inline pte_t *page_check_address(struct page *page, struct mm_struct *mm, in page_check_address()
237 static inline int page_referenced(struct page *page, int is_locked, in page_referenced()
245 #define try_to_unmap(page, refs) SWAP_FAIL argument
247 static inline int page_mkclean(struct page *page) in page_mkclean()
Dswap.h241 static inline void lru_cache_add_anon(struct page *page) in lru_cache_add_anon()
246 static inline void lru_cache_add_file(struct page *page) in lru_cache_add_file()
383 mem_cgroup_uncharge_swapcache(struct page *page, swp_entry_t ent, bool swapout) in mem_cgroup_uncharge_swapcache()
398 #define free_page_and_swap_cache(page) \ argument
428 static inline void swapcache_free(swp_entry_t swp, struct page *page) in swapcache_free()
448 static inline int add_to_swap(struct page *page) in add_to_swap()
453 static inline int add_to_swap_cache(struct page *page, swp_entry_t entry, in add_to_swap_cache()
459 static inline void __delete_from_swap_cache(struct page *page) in __delete_from_swap_cache()
463 static inline void delete_from_swap_cache(struct page *page) in delete_from_swap_cache()
467 static inline int page_swapcount(struct page *page) in page_swapcount()
[all …]
Dquicklist.h17 void *page; member
56 struct page *page) in __quicklist_free()
73 struct page *page) in quicklist_free_page()
Dcleancache.h48 static inline bool cleancache_fs_enabled(struct page *page) in cleancache_fs_enabled()
87 static inline int cleancache_get_page(struct page *page) in cleancache_get_page()
96 static inline void cleancache_put_page(struct page *page) in cleancache_put_page()
103 struct page *page) in cleancache_invalidate_page()
Dpageblock-flags.h68 #define get_pageblock_flags(page) \ argument
70 #define set_pageblock_flags(page, flags) \ argument
Dswapops.h104 static inline swp_entry_t make_migration_entry(struct page *page, int write) in make_migration_entry()
143 #define make_migration_entry(page, write) swp_entry(0, 0) argument
165 static inline swp_entry_t make_hwpoison_entry(struct page *page) in make_hwpoison_entry()
177 static inline swp_entry_t make_hwpoison_entry(struct page *page) in make_hwpoison_entry()
Dhuge_mm.h138 static inline int hpage_nr_pages(struct page *page) in hpage_nr_pages()
144 static inline struct page *compound_trans_head(struct page *page) in compound_trans_head()
171 static inline int split_huge_page(struct page *page) in split_huge_page()
179 #define compound_trans_head(page) compound_head(page) argument
Dmm_types.h40 struct page { struct
46 * If page mapped as anonymous argument
52 struct {
110 struct page *next; /* Next partial slab */ argument
134 struct page *first_page; /* Compound tail pages */ argument
157 * kmemcheck wants to track the status of each byte in a page; this argument
164 * The struct page can be forced to be double word aligned so that atomic ops argument
173 struct page *page; member
Dmigrate.h54 struct page *page) {} in migrate_page_copy()
57 struct page *newpage, struct page *page) in migrate_huge_page_move_mapping()
Dscatterlist.h57 static inline void sg_assign_page(struct scatterlist *sg, struct page *page) in sg_assign_page()
87 static inline void sg_set_page(struct scatterlist *sg, struct page *page, in sg_set_page()
252 struct page *page; /* currently mapped page */ member
Dbuffer_head.h132 #define page_buffers(page) \ argument
137 #define page_has_buffers(page) PagePrivate(page) argument
255 static inline void attach_page_buffers(struct page *page, in attach_page_buffers()
343 static inline int try_to_free_buffers(struct page *page) { return 1; } in try_to_free_buffers()
Dhugetlb.h83 static inline int PageHuge(struct page *page) in PageHuge()
101 #define unmap_hugepage_range(vma, start, end, page) BUG() argument
115 #define dequeue_hwpoisoned_huge_page(page) 0 argument
286 static inline struct hstate *page_hstate(struct page *page) in page_hstate()
299 static inline pgoff_t basepage_index(struct page *page) in basepage_index()
326 static inline pgoff_t basepage_index(struct page *page) in basepage_index()
/include/asm-generic/
Dpage.h28 #define free_user_page(page, addr) free_page(addr) argument
30 #define clear_page(page) memset((page), 0, PAGE_SIZE) argument
33 #define clear_user_page(page, vaddr, pg) clear_page(page) argument
87 #define page_to_virt(page) pfn_to_virt(page_to_pfn(page)) argument
90 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) argument
Dcacheflush.h17 #define flush_dcache_page(page) do { } while (0) argument
26 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
31 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dmemory_model.h31 #define __page_to_pfn(page) ((unsigned long)((page) - mem_map) + \ argument
52 #define __page_to_pfn(page) (unsigned long)((page) - vmemmap) argument
/include/xen/interface/io/
Dkbdif.h98 #define XENKBD_IN_RING(page) \ argument
100 #define XENKBD_IN_RING_REF(page, idx) \ argument
106 #define XENKBD_OUT_RING(page) \ argument
108 #define XENKBD_OUT_RING_REF(page, idx) \ argument
Dfbif.h95 #define XENFB_IN_RING(page) \ argument
97 #define XENFB_IN_RING_REF(page, idx) \ argument
103 #define XENFB_OUT_RING(page) \ argument
105 #define XENFB_OUT_RING_REF(page, idx) \ argument

123