Home
last modified time | relevance | path

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

12345678910>>...71

/Linux-v5.15/include/linux/
Dpage_idle.h12 static inline bool page_is_young(struct page *page) in page_is_young()
17 static inline void set_page_young(struct page *page) in set_page_young()
22 static inline bool test_and_clear_page_young(struct page *page) in test_and_clear_page_young()
27 static inline bool page_is_idle(struct page *page) in page_is_idle()
32 static inline void set_page_idle(struct page *page) in set_page_idle()
37 static inline void clear_page_idle(struct page *page) in clear_page_idle()
48 static inline bool page_is_young(struct page *page) in page_is_young()
58 static inline void set_page_young(struct page *page) in set_page_young()
68 static inline bool test_and_clear_page_young(struct page *page) in test_and_clear_page_young()
78 static inline bool page_is_idle(struct page *page) in page_is_idle()
[all …]
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()
70 static inline int page_count(const struct page *page) in page_count()
75 static inline void set_page_count(struct page *page, int v) in set_page_count()
[all …]
Dpage-flags.h194 static inline unsigned long _compound_head(const struct page *page) in _compound_head()
203 #define compound_head(page) ((typeof(page))_compound_head(page)) argument
205 static __always_inline int PageTail(struct page *page) in PageTail()
210 static __always_inline int PageCompound(struct page *page) in PageCompound()
216 static inline int PagePoisoned(const struct page *page) in PagePoisoned()
224 static inline void page_init_poison(struct page *page, size_t size) in page_init_poison()
255 #define PF_POISONED_CHECK(page) ({ \ argument
258 #define PF_ANY(page, enforce) PF_POISONED_CHECK(page) argument
259 #define PF_HEAD(page, enforce) PF_POISONED_CHECK(compound_head(page)) argument
260 #define PF_ONLY_HEAD(page, enforce) ({ \ argument
[all …]
Dpage_owner.h21 static inline void reset_page_owner(struct page *page, unsigned int order) in reset_page_owner()
27 static inline void set_page_owner(struct page *page, in set_page_owner()
34 static inline void split_page_owner(struct page *page, unsigned int nr) in split_page_owner()
44 static inline void set_page_owner_migrate_reason(struct page *page, int reason) in set_page_owner_migrate_reason()
49 static inline void dump_page_owner(const struct page *page) in dump_page_owner()
55 static inline void reset_page_owner(struct page *page, unsigned int order) in reset_page_owner()
58 static inline void set_page_owner(struct page *page, in set_page_owner()
62 static inline void split_page_owner(struct page *page, in split_page_owner()
69 static inline void set_page_owner_migrate_reason(struct page *page, int reason) in set_page_owner_migrate_reason()
72 static inline void dump_page_owner(const struct page *page) in dump_page_owner()
Dmm.h152 static inline void __mm_zero_struct_page(struct page *page) in __mm_zero_struct_page()
228 #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) argument
230 #define nth_page(page,n) ((page) + (n)) argument
553 struct page *page; /* ->fault handlers should return a member
745 static inline int put_page_testzero(struct page *page) in put_page_testzero()
757 static inline int get_page_unless_zero(struct page *page) in get_page_unless_zero()
846 static inline int compound_mapcount(struct page *page) in compound_mapcount()
858 static inline void page_mapcount_reset(struct page *page) in page_mapcount_reset()
873 static inline int page_mapcount(struct page *page) in page_mapcount()
884 static inline int total_mapcount(struct page *page) in total_mapcount()
[all …]
Dballoon_compaction.h100 struct page *page) in balloon_page_insert()
116 static inline void balloon_page_delete(struct page *page) in balloon_page_delete()
133 static inline struct balloon_dev_info *balloon_page_device(struct page *page) in balloon_page_device()
146 struct page *page) in balloon_page_insert()
152 static inline void balloon_page_delete(struct page *page) in balloon_page_delete()
158 static inline bool balloon_page_isolate(struct page *page) in balloon_page_isolate()
163 static inline void balloon_page_putback(struct page *page) in balloon_page_putback()
169 struct page *page, enum migrate_mode mode) in balloon_page_migrate()
188 static inline void balloon_page_push(struct list_head *pages, struct page *page) in balloon_page_push()
202 struct page *page = list_first_entry_or_null(pages, struct page, lru); in balloon_page_pop() local
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_prot(struct page *page, pgprot_t prot) in kmap_local_page_prot()
91 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
102 static inline void *kmap_atomic(struct page *page) in kmap_atomic()
153 static inline void *kmap(struct page *page) in kmap()
159 static inline void kunmap_high(struct page *page) { } in kunmap_high()
162 static inline void kunmap(struct page *page) in kunmap()
169 static inline void *kmap_local_page(struct page *page) in kmap_local_page()
[all …]
Dhugetlb_cgroup.h63 __hugetlb_cgroup_from_page(struct page *page, bool rsvd) in __hugetlb_cgroup_from_page()
75 static inline struct hugetlb_cgroup *hugetlb_cgroup_from_page(struct page *page) in hugetlb_cgroup_from_page()
81 hugetlb_cgroup_from_page_rsvd(struct page *page) in hugetlb_cgroup_from_page_rsvd()
86 static inline int __set_hugetlb_cgroup(struct page *page, in __set_hugetlb_cgroup()
102 static inline int set_hugetlb_cgroup(struct page *page, in set_hugetlb_cgroup()
108 static inline int set_hugetlb_cgroup_rsvd(struct page *page, in set_hugetlb_cgroup_rsvd()
171 static inline struct hugetlb_cgroup *hugetlb_cgroup_from_page(struct page *page) in hugetlb_cgroup_from_page()
177 hugetlb_cgroup_from_page_resv(struct page *page) in hugetlb_cgroup_from_page_resv()
183 hugetlb_cgroup_from_page_rsvd(struct page *page) in hugetlb_cgroup_from_page_rsvd()
188 static inline int set_hugetlb_cgroup(struct page *page, in set_hugetlb_cgroup()
[all …]
Dhuge_mm.h190 static inline int split_huge_page(struct page *page) in split_huge_page()
257 static inline struct page *thp_head(struct page *page) in thp_head()
266 static inline unsigned int thp_order(struct page *page) in thp_order()
278 static inline int thp_nr_pages(struct page *page) in thp_nr_pages()
296 static inline bool is_huge_zero_page(struct page *page) in is_huge_zero_page()
314 #define mk_huge_pmd(page, prot) pmd_mkhuge(mk_pmd(page, prot)) argument
321 static inline struct list_head *page_deferred_list(struct page *page) in page_deferred_list()
339 static inline struct page *thp_head(struct page *page) in thp_head()
345 static inline unsigned int thp_order(struct page *page) in thp_order()
351 static inline int thp_nr_pages(struct page *page) in thp_nr_pages()
[all …]
/Linux-v5.15/block/
Dblk-sysfs.c28 queue_var_show(unsigned long var, char *page) in queue_var_show()
34 queue_var_store(unsigned long *var, const char *page, size_t count) in queue_var_store()
48 static ssize_t queue_var_store64(s64 *var, const char *page) in queue_var_store64()
61 static ssize_t queue_requests_show(struct request_queue *q, char *page) in queue_requests_show()
67 queue_requests_store(struct request_queue *q, const char *page, size_t count) in queue_requests_store()
89 static ssize_t queue_ra_show(struct request_queue *q, char *page) in queue_ra_show()
100 queue_ra_store(struct request_queue *q, const char *page, size_t count) in queue_ra_store()
114 static ssize_t queue_max_sectors_show(struct request_queue *q, char *page) in queue_max_sectors_show()
121 static ssize_t queue_max_segments_show(struct request_queue *q, char *page) in queue_max_segments_show()
127 char *page) in queue_max_discard_segments_show()
[all …]
/Linux-v5.15/drivers/target/
Dtarget_core_stat.c48 static ssize_t target_stat_inst_show(struct config_item *item, char *page) in target_stat_inst_show()
55 static ssize_t target_stat_indx_show(struct config_item *item, char *page) in target_stat_indx_show()
60 static ssize_t target_stat_role_show(struct config_item *item, char *page) in target_stat_role_show()
65 static ssize_t target_stat_ports_show(struct config_item *item, char *page) in target_stat_ports_show()
98 static ssize_t target_stat_tgt_inst_show(struct config_item *item, char *page) in target_stat_tgt_inst_show()
105 static ssize_t target_stat_tgt_indx_show(struct config_item *item, char *page) in target_stat_tgt_indx_show()
111 char *page) in target_stat_tgt_num_lus_show()
117 char *page) in target_stat_tgt_status_show()
126 char *page) in target_stat_tgt_non_access_lus_show()
139 char *page) in target_stat_tgt_resets_show()
[all …]
Dtarget_core_configfs.c85 char *page) in target_core_item_version_show()
98 char *page) in target_core_item_dbroot_show()
104 const char *page, size_t count) in target_core_item_dbroot_store()
625 const char *page, size_t count) in emulate_model_alias_store()
655 const char *page, size_t count) in emulate_write_cache_store()
677 const char *page, size_t count) in emulate_ua_intlck_ctrl_store()
707 const char *page, size_t count) in emulate_tas_store()
731 const char *page, size_t count) in emulate_tpu_store()
757 const char *page, size_t count) in emulate_tpws_store()
783 const char *page, size_t count) in pi_prot_type_store()
[all …]
/Linux-v5.15/drivers/target/iscsi/
Discsi_target_stat.c51 char *page) in iscsi_stat_instance_inst_show()
58 char *page) in iscsi_stat_instance_min_ver_show()
64 char *page) in iscsi_stat_instance_max_ver_show()
70 char *page) in iscsi_stat_instance_portals_show()
77 char *page) in iscsi_stat_instance_nodes_show()
83 char *page) in iscsi_stat_instance_sessions_show()
90 char *page) in iscsi_stat_instance_fail_sess_show()
106 char *page) in iscsi_stat_instance_fail_type_show()
116 char *page) in iscsi_stat_instance_fail_rem_name_show()
127 char *page) in iscsi_stat_instance_disc_time_show()
[all …]
/Linux-v5.15/net/core/
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()
192 static bool page_pool_dma_map(struct page_pool *pool, struct page *page) in page_pool_dma_map()
216 struct page *page) in page_pool_set_pp_info()
222 static void page_pool_clear_pp_info(struct page *page) in page_pool_clear_pp_info()
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
349 void page_pool_release_page(struct page_pool *pool, struct page *page) in page_pool_release_page()
[all …]
/Linux-v5.15/sound/pci/trident/
Dtrident_memory.c22 #define __set_tlb_bus(trident,page,addr) \ argument
24 #define __tlb_to_addr(trident,page) \ argument
32 #define set_tlb_bus(trident,page,addr) __set_tlb_bus(trident,page,addr) argument
34 #define set_silent_tlb(trident,page) __set_tlb_bus(trident, page, trident->tlb.silent_page->addr) argument
38 #define aligned_page_offset(page) ((page) << 12) argument
40 #define page_to_addr(trident,page) __tlb_to_addr(trident, page) argument
47 #define aligned_page_offset(page) ((page) << 13) argument
48 #define page_to_addr(trident,page) __tlb_to_addr(trident, (page) << 1) argument
51 static inline void set_tlb_bus(struct snd_trident *trident, int page, in set_tlb_bus()
58 static inline void set_silent_tlb(struct snd_trident *trident, int page) in set_silent_tlb()
[all …]
/Linux-v5.15/drivers/nvme/target/
Dconfigfs.c56 static ssize_t nvmet_addr_adrfam_show(struct config_item *item, char *page) in nvmet_addr_adrfam_show()
70 const char *page, size_t count) in nvmet_addr_adrfam_store()
94 char *page) in nvmet_addr_portid_show()
103 const char *page, size_t count) in nvmet_addr_portid_store()
123 char *page) in nvmet_addr_traddr_show()
132 const char *page, size_t count) in nvmet_addr_traddr_store()
157 static ssize_t nvmet_addr_treq_show(struct config_item *item, char *page) in nvmet_addr_treq_show()
172 const char *page, size_t count) in nvmet_addr_treq_store()
198 char *page) in nvmet_addr_trsvcid_show()
207 const char *page, size_t count) in nvmet_addr_trsvcid_store()
[all …]
/Linux-v5.15/mm/
Dswap.c80 static void __page_cache_release(struct page *page) in __page_cache_release()
94 static void __put_single_page(struct page *page) in __put_single_page()
101 static void __put_compound_page(struct page *page) in __put_compound_page()
114 void __put_page(struct page *page) in __put_page()
183 void (*move_fn)(struct page *page, struct lruvec *lruvec)) in pagevec_lru_move_fn()
190 struct page *page = pvec->pages[i]; in pagevec_lru_move_fn() local
207 static void pagevec_move_tail_fn(struct page *page, struct lruvec *lruvec) in pagevec_move_tail_fn()
218 static bool pagevec_add_and_need_flush(struct pagevec *pvec, struct page *page) in pagevec_add_and_need_flush()
236 void rotate_reclaimable_page(struct page *page) in rotate_reclaimable_page()
292 void lru_note_cost_page(struct page *page) in lru_note_cost_page()
[all …]
Dfilemap.c125 struct page *page, void *shadow) in page_cache_delete()
151 struct page *page) in unaccount_page_cache_page()
225 void __delete_from_page_cache(struct page *page, void *shadow) in __delete_from_page_cache()
236 struct page *page) in page_cache_free_page()
260 void delete_from_page_cache(struct page *page) in delete_from_page_cache()
293 struct page *page; in page_cache_delete_batch() local
485 struct page *page; in filemap_range_has_page() local
534 struct page *page = pvec.pages[i]; in __filemap_fdatawait_range() local
661 struct page *page; in filemap_range_needs_writeback() local
873 noinline int __add_to_page_cache_locked(struct page *page, in __add_to_page_cache_locked()
[all …]
Ddebug_page_ref.c8 void __page_ref_set(struct page *page, int v) in __page_ref_set()
15 void __page_ref_mod(struct page *page, int v) in __page_ref_mod()
22 void __page_ref_mod_and_test(struct page *page, int v, int ret) in __page_ref_mod_and_test()
29 void __page_ref_mod_and_return(struct page *page, int v, int ret) in __page_ref_mod_and_return()
36 void __page_ref_mod_unless(struct page *page, int v, int u) in __page_ref_mod_unless()
43 void __page_ref_freeze(struct page *page, int v, int ret) in __page_ref_freeze()
50 void __page_ref_unfreeze(struct page *page, int v) in __page_ref_unfreeze()
Drmap.c486 struct anon_vma *page_get_anon_vma(struct page *page) in page_get_anon_vma()
529 struct anon_vma *page_lock_anon_vma_read(struct page *page) in page_lock_anon_vma_read()
709 unsigned long page_address_in_vma(struct page *page, struct vm_area_struct *vma) in page_address_in_vma()
772 static bool page_referenced_one(struct page *page, struct vm_area_struct *vma, in page_referenced_one()
855 int page_referenced(struct page *page, in page_referenced()
902 static bool page_mkclean_one(struct page *page, struct vm_area_struct *vma, in page_mkclean_one()
984 int page_mkclean(struct page *page) in page_mkclean()
1019 void page_move_anon_rmap(struct page *page, struct vm_area_struct *vma) in page_move_anon_rmap()
1044 static void __page_set_anon_rmap(struct page *page, in __page_set_anon_rmap()
1079 static void __page_check_anon_rmap(struct page *page, in __page_check_anon_rmap()
[all …]
/Linux-v5.15/fs/9p/
Dcache.h42 static inline int v9fs_fscache_release_page(struct page *page, in v9fs_fscache_release_page()
48 static inline void v9fs_fscache_invalidate_page(struct page *page) in v9fs_fscache_invalidate_page()
54 struct page *page) in v9fs_readpage_from_fscache()
69 struct page *page) in v9fs_readpage_to_fscache()
75 static inline void v9fs_uncache_page(struct inode *inode, struct page *page) in v9fs_uncache_page()
83 struct page *page) in v9fs_fscache_wait_on_page_write()
102 static inline int v9fs_fscache_release_page(struct page *page, in v9fs_fscache_release_page()
107 static inline void v9fs_fscache_invalidate_page(struct page *page) {} in v9fs_fscache_invalidate_page()
110 struct page *page) in v9fs_readpage_from_fscache()
124 struct page *page) in v9fs_readpage_to_fscache()
[all …]
/Linux-v5.15/fs/btrfs/
Dsubpage.c67 struct page *page, enum btrfs_subpage_type type) in btrfs_attach_subpage()
90 struct page *page) in btrfs_detach_subpage()
138 struct page *page) in btrfs_page_inc_eb_refs()
153 struct page *page) in btrfs_page_dec_eb_refs()
169 struct page *page, u64 start, u32 len) in btrfs_subpage_assert()
185 struct page *page, u64 start, u32 len) in btrfs_subpage_start_reader()
196 struct page *page, u64 start, u32 len) in btrfs_subpage_end_reader()
219 static void btrfs_subpage_clamp_range(struct page *page, u64 *start, u32 *len) in btrfs_subpage_clamp_range()
230 struct page *page, u64 start, u32 len) in btrfs_subpage_start_writer()
244 struct page *page, u64 start, u32 len) in btrfs_subpage_end_and_test_writer()
[all …]
/Linux-v5.15/fs/jfs/
Djfs_metapage.c79 #define mp_anchor(page) ((struct meta_anchor *)page_private(page)) argument
81 static inline struct metapage *page_to_mp(struct page *page, int offset) in page_to_mp()
88 static inline int insert_metapage(struct page *page, struct metapage *mp) in insert_metapage()
115 static inline void remove_metapage(struct page *page, struct metapage *mp) in remove_metapage()
134 static inline void inc_io(struct page *page) in inc_io()
139 static inline void dec_io(struct page *page, void (*handler) (struct page *)) in dec_io()
146 static inline struct metapage *page_to_mp(struct page *page, int offset) in page_to_mp()
151 static inline int insert_metapage(struct page *page, struct metapage *mp) in insert_metapage()
161 static inline void remove_metapage(struct page *page, struct metapage *mp) in remove_metapage()
168 #define inc_io(page) do {} while(0) argument
[all …]
/Linux-v5.15/arch/openrisc/include/asm/
Dcacheflush.h33 #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
45 static inline void sync_icache_dcache(struct page *page) in sync_icache_dcache()
60 static inline void flush_dcache_page(struct page *page) in flush_dcache_page()
65 #define flush_icache_user_page(vma, page, addr, len) \ argument
/Linux-v5.15/arch/s390/mm/
Dpage-states.c60 static inline unsigned char get_page_state(struct page *page) in get_page_state()
71 static inline void set_page_unused(struct page *page, int order) in set_page_unused()
82 static inline void set_page_stable_dat(struct page *page, int order) in set_page_stable_dat()
93 static inline void set_page_stable_nodat(struct page *page, int order) in set_page_stable_nodat()
107 struct page *page; in mark_kernel_pmd() local
123 struct page *page; in mark_kernel_pud() local
144 struct page *page; in mark_kernel_p4d() local
165 struct page *page; in mark_kernel_pgd() local
186 struct page *page; in cmma_init_nodat() local
208 void arch_free_page(struct page *page, int order) in arch_free_page()
[all …]

12345678910>>...71