Home
last modified time | relevance | path

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

12345678910>>...67

/Linux-v6.1/mm/
Dfolio-compat.c12 struct address_space *page_mapping(struct page *page) in page_mapping()
18 void unlock_page(struct page *page) in unlock_page()
24 void end_page_writeback(struct page *page) in end_page_writeback()
30 void wait_on_page_writeback(struct page *page) in wait_on_page_writeback()
36 void wait_for_stable_page(struct page *page) in wait_for_stable_page()
42 bool page_mapped(struct page *page) in page_mapped()
48 void mark_page_accessed(struct page *page) in mark_page_accessed()
54 bool set_page_writeback(struct page *page) in set_page_writeback()
60 bool set_page_dirty(struct page *page) in set_page_dirty()
66 int __set_page_dirty_nobuffers(struct page *page) in __set_page_dirty_nobuffers()
[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()
Dpage_io.c33 struct page *page = bio_first_page_all(bio); in end_swap_bio_write() local
57 struct page *page = bio_first_page_all(bio); in end_swap_bio_read() local
181 int swap_writepage(struct page *page, struct writeback_control *wbc) in swap_writepage()
211 static inline void count_swpout_vm_event(struct page *page) in count_swpout_vm_event()
221 static void bio_associate_blkg_from_page(struct bio *bio, struct page *page) in bio_associate_blkg_from_page()
236 #define bio_associate_blkg_from_page(bio, page) do { } while (0) argument
263 struct page *page = sio->bvec[0].bv_page; in sio_write_complete() local
295 static int swap_writepage_fs(struct page *page, struct writeback_control *wbc) in swap_writepage_fs()
336 int __swap_writepage(struct page *page, struct writeback_control *wbc) in __swap_writepage()
392 struct page *page = sio->bvec[p].bv_page; in sio_read_complete() local
[all …]
Dballoon_compaction.c15 struct 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
126 struct page *page = alloc_page(balloon_mapping_gfp_mask() | in balloon_page_alloc() local
147 struct page *page) in balloon_page_enqueue()
206 static bool balloon_page_isolate(struct page *page, isolate_mode_t mode) in balloon_page_isolate()
220 static void balloon_page_putback(struct page *page) in balloon_page_putback()
232 static int balloon_page_migrate(struct page *newpage, struct page *page, in balloon_page_migrate()
/Linux-v6.1/block/
Dblk-sysfs.c30 queue_var_show(unsigned long var, char *page) in queue_var_show()
36 queue_var_store(unsigned long *var, const char *page, size_t count) in queue_var_store()
50 static ssize_t queue_var_store64(s64 *var, const char *page) in queue_var_store64()
63 static ssize_t queue_requests_show(struct request_queue *q, char *page) in queue_requests_show()
69 queue_requests_store(struct request_queue *q, const char *page, size_t count) in queue_requests_store()
91 static ssize_t queue_ra_show(struct request_queue *q, char *page) in queue_ra_show()
102 queue_ra_store(struct request_queue *q, const char *page, size_t count) in queue_ra_store()
116 static ssize_t queue_max_sectors_show(struct request_queue *q, char *page) in queue_max_sectors_show()
123 static ssize_t queue_max_segments_show(struct request_queue *q, char *page) in queue_max_segments_show()
129 char *page) in queue_max_discard_segments_show()
[all …]
/Linux-v6.1/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.c88 char *page) in target_core_item_version_show()
101 char *page) in target_core_item_dbroot_show()
107 const char *page, size_t count) in target_core_item_dbroot_store()
626 const char *page, size_t count) in emulate_model_alias_store()
656 const char *page, size_t count) in emulate_write_cache_store()
678 const char *page, size_t count) in emulate_ua_intlck_ctrl_store()
708 const char *page, size_t count) in emulate_tas_store()
732 const char *page, size_t count) in emulate_tpu_store()
762 const char *page, size_t count) in emulate_tpws_store()
792 const char *page, size_t count) in pi_prot_type_store()
[all …]
/Linux-v6.1/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-v6.1/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-flags.h214 static __always_inline const struct page *page_fixed_fake_head(const struct page *page) in page_fixed_fake_head()
240 static inline const struct page *page_fixed_fake_head(const struct page *page) in page_fixed_fake_head()
246 static __always_inline int page_is_fake_head(struct page *page) in page_is_fake_head()
251 static inline unsigned long _compound_head(const struct page *page) in _compound_head()
260 #define compound_head(page) ((typeof(page))_compound_head(page)) argument
290 static __always_inline int PageTail(struct page *page) in PageTail()
295 static __always_inline int PageCompound(struct page *page) in PageCompound()
302 static inline int PagePoisoned(const struct page *page) in PagePoisoned()
310 static inline void page_init_poison(struct page *page, size_t size) in page_init_poison()
317 struct page *page = &folio->page; in folio_flags() local
[all …]
Dpage_owner.h21 static inline void reset_page_owner(struct page *page, unsigned short 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 short 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()
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()
164 static inline void *kmap(struct page *page) in kmap()
170 static inline void kunmap_high(struct page *page) { } in kunmap_high()
173 static inline void kunmap(struct page *page) in kunmap()
[all …]
Dmm.h146 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
504 struct page *page; /* ->fault handlers should return a member
714 static inline unsigned int compound_order(struct page *page) in compound_order()
755 static inline int put_page_testzero(struct page *page) in put_page_testzero()
772 static inline bool get_page_unless_zero(struct page *page) in get_page_unless_zero()
834 static inline int compound_mapcount(struct page *page) in compound_mapcount()
844 static inline void page_mapcount_reset(struct page *page) in page_mapcount_reset()
859 static inline int page_mapcount(struct page *page) in page_mapcount()
[all …]
Dhugetlb_cgroup.h70 __hugetlb_cgroup_from_page(struct page *page, bool rsvd) in __hugetlb_cgroup_from_page()
82 static inline struct hugetlb_cgroup *hugetlb_cgroup_from_page(struct page *page) in hugetlb_cgroup_from_page()
88 hugetlb_cgroup_from_page_rsvd(struct page *page) in hugetlb_cgroup_from_page_rsvd()
93 static inline void __set_hugetlb_cgroup(struct page *page, in __set_hugetlb_cgroup()
108 static inline void set_hugetlb_cgroup(struct page *page, in set_hugetlb_cgroup()
114 static inline void set_hugetlb_cgroup_rsvd(struct page *page, in set_hugetlb_cgroup_rsvd()
184 static inline struct hugetlb_cgroup *hugetlb_cgroup_from_page(struct page *page) in hugetlb_cgroup_from_page()
190 hugetlb_cgroup_from_page_resv(struct page *page) in hugetlb_cgroup_from_page_resv()
196 hugetlb_cgroup_from_page_rsvd(struct page *page) in hugetlb_cgroup_from_page_rsvd()
201 static inline void set_hugetlb_cgroup(struct page *page, in set_hugetlb_cgroup()
[all …]
Dhighmem.h187 static inline void flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vma… in flush_anon_page()
203 static inline void clear_user_highpage(struct page *page, unsigned long vaddr) in clear_user_highpage()
230 struct page *page = alloc_page_vma(GFP_HIGHUSER_MOVABLE, vma, vaddr); in alloc_zeroed_user_highpage_movable() local
239 static inline void clear_highpage(struct page *page) in clear_highpage()
246 static inline void clear_highpage_kasan_tagged(struct page *page) in clear_highpage_kasan_tagged()
258 static inline void tag_clear_highpage(struct page *page) in tag_clear_highpage()
272 static inline void zero_user_segments(struct page *page, in zero_user_segments()
293 static inline void zero_user_segment(struct page *page, in zero_user_segment()
299 static inline void zero_user(struct page *page, in zero_user()
351 static inline void memset_page(struct page *page, size_t offset, int val, in memset_page()
[all …]
/Linux-v6.1/drivers/nvme/target/
Dconfigfs.c61 static ssize_t nvmet_addr_adrfam_show(struct config_item *item, char *page) in nvmet_addr_adrfam_show()
76 const char *page, size_t count) in nvmet_addr_adrfam_store()
100 char *page) in nvmet_addr_portid_show()
108 const char *page, size_t count) in nvmet_addr_portid_store()
128 char *page) in nvmet_addr_traddr_show()
136 const char *page, size_t count) in nvmet_addr_traddr_store()
161 static ssize_t nvmet_addr_treq_show(struct config_item *item, char *page) in nvmet_addr_treq_show()
177 const char *page, size_t count) in nvmet_addr_treq_store()
203 char *page) in nvmet_addr_trsvcid_show()
211 const char *page, size_t count) in nvmet_addr_trsvcid_store()
[all …]
/Linux-v6.1/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-v6.1/fs/btrfs/
Dsubpage.c66 bool btrfs_is_subpage(const struct btrfs_fs_info *fs_info, struct page *page) in btrfs_is_subpage()
121 struct page *page, enum btrfs_subpage_type type) in btrfs_attach_subpage()
145 struct page *page) in btrfs_detach_subpage()
197 struct page *page) in btrfs_page_inc_eb_refs()
212 struct page *page) in btrfs_page_dec_eb_refs()
228 struct page *page, u64 start, u32 len) in btrfs_subpage_assert()
244 struct page *page, u64 start, u32 len) in btrfs_subpage_start_reader()
255 struct page *page, u64 start, u32 len) in btrfs_subpage_end_reader()
278 static void btrfs_subpage_clamp_range(struct page *page, u64 *start, u32 *len) in btrfs_subpage_clamp_range()
297 struct page *page, u64 start, u32 len) in btrfs_subpage_start_writer()
[all …]
/Linux-v6.1/net/core/
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()
307 static bool page_pool_dma_map(struct page_pool *pool, struct page *page) in page_pool_dma_map()
331 struct page *page) in page_pool_set_pp_info()
339 static void page_pool_clear_pp_info(struct page *page) in page_pool_clear_pp_info()
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
470 void page_pool_release_page(struct page_pool *pool, struct page *page) in page_pool_release_page()
[all …]
/Linux-v6.1/fs/jfs/
Djfs_metapage.c80 #define mp_anchor(page) ((struct meta_anchor *)page_private(page)) argument
82 static inline struct metapage *page_to_mp(struct page *page, int offset) in page_to_mp()
89 static inline int insert_metapage(struct page *page, struct metapage *mp) in insert_metapage()
116 static inline void remove_metapage(struct page *page, struct metapage *mp) in remove_metapage()
135 static inline void inc_io(struct page *page) in inc_io()
140 static inline void dec_io(struct page *page, void (*handler) (struct page *)) in dec_io()
147 static inline struct metapage *page_to_mp(struct page *page, int offset) in page_to_mp()
152 static inline int insert_metapage(struct page *page, struct metapage *mp) in insert_metapage()
162 static inline void remove_metapage(struct page *page, struct metapage *mp) in remove_metapage()
169 #define inc_io(page) do {} while(0) argument
[all …]
/Linux-v6.1/arch/s390/mm/
Dpage-states.c61 static inline unsigned char get_page_state(struct page *page) in get_page_state()
72 static inline void set_page_unused(struct page *page, int order) in set_page_unused()
83 static inline void set_page_stable_dat(struct page *page, int order) in set_page_stable_dat()
94 static inline void set_page_stable_nodat(struct page *page, int order) in set_page_stable_nodat()
108 struct page *page; in mark_kernel_pmd() local
124 struct page *page; in mark_kernel_pud() local
145 struct page *page; in mark_kernel_p4d() local
166 struct page *page; in mark_kernel_pgd() local
187 struct page *page; in cmma_init_nodat() local
209 void arch_free_page(struct page *page, int order) in arch_free_page()
[all …]
/Linux-v6.1/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-v6.1/arch/s390/kernel/
Duv.c128 struct page *page = phys_to_page(paddr); in uv_destroy_owned_page() local
163 struct page *page = phys_to_page(paddr); in uv_convert_owned_from_secure() local
180 static int expected_page_refs(struct page *page) in expected_page_refs()
199 struct page *page; in make_secure_pte() local
275 struct page *page; in gmap_make_secure() local
378 struct page *page; in gmap_destroy_page() local
426 int arch_make_page_accessible(struct page *page) in arch_make_page_accessible()
466 struct kobj_attribute *attr, char *page) in uv_query_facilities()
497 struct kobj_attribute *attr, char *page) in uv_query_dump_cpu_len()
507 struct kobj_attribute *attr, char *page) in uv_query_dump_storage_state_len()
[all …]
/Linux-v6.1/drivers/most/
Dconfigfs.c114 const char *page, size_t count) in mdev_link_create_link_store()
136 const char *page, size_t count) in mdev_link_destroy_link_store()
160 static ssize_t mdev_link_direction_show(struct config_item *item, char *page) in mdev_link_direction_show()
166 const char *page, size_t count) in mdev_link_direction_store()
178 static ssize_t mdev_link_datatype_show(struct config_item *item, char *page) in mdev_link_datatype_show()
184 const char *page, size_t count) in mdev_link_datatype_store()
197 static ssize_t mdev_link_device_show(struct config_item *item, char *page) in mdev_link_device_show()
203 const char *page, size_t count) in mdev_link_device_store()
212 static ssize_t mdev_link_channel_show(struct config_item *item, char *page) in mdev_link_channel_show()
218 const char *page, size_t count) in mdev_link_channel_store()
[all …]
/Linux-v6.1/mm/kmsan/
Dshadow.c22 #define shadow_page_for(page) ((page)->kmsan_shadow) argument
24 #define origin_page_for(page) ((page)->kmsan_origin) argument
26 static void *shadow_ptr_for(struct page *page) in shadow_ptr_for()
31 static void *origin_ptr_for(struct page *page) in origin_ptr_for()
36 static bool page_has_metadata(struct page *page) in page_has_metadata()
41 static void set_no_shadow_origin_page(struct page *page) in set_no_shadow_origin_page()
127 struct page *page; in kmsan_get_metadata() local
172 void kmsan_alloc_page(struct page *page, unsigned int order, gfp_t flags) in kmsan_alloc_page()
207 void kmsan_free_page(struct page *page, unsigned int order) in kmsan_free_page()
272 struct page *page; in kmsan_init_alloc_meta_for_range() local
[all …]

12345678910>>...67