Home
last modified time | relevance | path

Searched defs:page (Results 1 – 200 of 1459) sorted by relevance

12345678

/linux-4.1.27/include/linux/
Dballoon_compaction.h87 static inline bool __is_movable_balloon_page(struct page *page) in __is_movable_balloon_page()
100 static inline bool balloon_page_movable(struct page *page) in balloon_page_movable()
109 static inline bool isolated_balloon_page(struct page *page) in isolated_balloon_page()
124 struct page *page) in balloon_page_insert()
140 static inline void balloon_page_delete(struct page *page) in balloon_page_delete()
154 static inline struct balloon_dev_info *balloon_page_device(struct page *page) in balloon_page_device()
167 struct page *page) in balloon_page_insert()
173 static inline void balloon_page_delete(struct page *page) in balloon_page_delete()
179 static inline bool __is_movable_balloon_page(struct page *page) in __is_movable_balloon_page()
184 static inline bool balloon_page_movable(struct page *page) in balloon_page_movable()
[all …]
Dpage-flags.h324 static inline int PageKsm(struct page *page) in PageKsm()
335 static inline int PageUptodate(struct page *page) in PageUptodate()
353 static inline void __SetPageUptodate(struct page *page) in __SetPageUptodate()
359 static inline void SetPageUptodate(struct page *page) in SetPageUptodate()
375 #define test_set_page_writeback(page) \ argument
377 #define test_set_page_writeback_keepwrite(page) \ argument
380 static inline void set_page_writeback(struct page *page) in set_page_writeback()
385 static inline void set_page_writeback_keepwrite(struct page *page) in set_page_writeback_keepwrite()
408 static inline void ClearPageCompound(struct page *page) in ClearPageCompound()
445 static inline int PageTail(struct page *page) in PageTail()
[all …]
Dmm.h83 #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) argument
228 struct page *page; /* ->fault handlers should return a member
303 #define page_private(page) ((page)->private) argument
304 #define set_page_private(page, v) ((page)->private = (v)) argument
307 static inline void set_freepage_migratetype(struct page *page, int migratetype) in set_freepage_migratetype()
313 static inline int get_freepage_migratetype(struct page *page) in get_freepage_migratetype()
341 static inline int put_page_testzero(struct page *page) in put_page_testzero()
353 static inline int get_page_unless_zero(struct page *page) in get_page_unless_zero()
365 static inline int put_page_unless_one(struct page *page) in put_page_unless_one()
404 static inline void compound_lock(struct page *page) in compound_lock()
[all …]
Dpagemap.h95 #define page_cache_get(page) get_page(page) argument
96 #define page_cache_release(page) put_page(page) argument
143 static inline int page_cache_get_speculative(struct page *page) in page_cache_get_speculative()
181 static inline int page_cache_add_speculative(struct page *page, int count) in page_cache_add_speculative()
201 static inline int page_freeze_refs(struct page *page, int count) in page_freeze_refs()
206 static inline void page_unfreeze_refs(struct page *page, int count) in page_unfreeze_refs()
388 static inline pgoff_t page_to_pgoff(struct page *page) in page_to_pgoff()
399 static inline loff_t page_offset(struct page *page) in page_offset()
404 static inline loff_t page_file_offset(struct page *page) in page_file_offset()
429 static inline void __set_page_locked(struct page *page) in __set_page_locked()
[all …]
Dmm_inline.h20 static inline int page_is_file_cache(struct page *page) in page_is_file_cache()
25 static __always_inline void add_page_to_lru_list(struct page *page, in add_page_to_lru_list()
34 static __always_inline void del_page_from_lru_list(struct page *page, in del_page_from_lru_list()
51 static inline enum lru_list page_lru_base_type(struct page *page) in page_lru_base_type()
65 static __always_inline enum lru_list page_off_lru(struct page *page) in page_off_lru()
89 static __always_inline enum lru_list page_lru(struct page *page) in page_lru()
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()
56 static inline void *kmap(struct page *page) in kmap()
62 static inline void kunmap(struct page *page) in kunmap()
66 static inline void *kmap_atomic(struct page *page) in kmap_atomic()
71 #define kmap_atomic_prot(page, prot) kmap_atomic(page) argument
132 static inline void clear_user_highpage(struct page *page, unsigned long vaddr) in clear_user_highpage()
160 struct page *page = alloc_page_vma(GFP_HIGHUSER | movableflags, in __alloc_zeroed_user_highpage() local
185 static inline void clear_highpage(struct page *page) in clear_highpage()
192 static inline void zero_user_segments(struct page *page, in zero_user_segments()
[all …]
Dpageblock-flags.h80 #define get_pageblock_flags_group(page, start_bitidx, end_bitidx) \ argument
84 #define set_pageblock_flags_group(page, flags, start_bitidx, end_bitidx) \ argument
90 #define get_pageblock_skip(page) \ argument
93 #define clear_pageblock_skip(page) \ argument
96 #define set_pageblock_skip(page) \ argument
Dhugetlb_cgroup.h29 static inline struct hugetlb_cgroup *hugetlb_cgroup_from_page(struct page *page) in hugetlb_cgroup_from_page()
39 int set_hugetlb_cgroup(struct page *page, struct hugetlb_cgroup *h_cg) in set_hugetlb_cgroup()
70 static inline struct hugetlb_cgroup *hugetlb_cgroup_from_page(struct page *page) in hugetlb_cgroup_from_page()
76 int set_hugetlb_cgroup(struct page *page, struct hugetlb_cgroup *h_cg) in set_hugetlb_cgroup()
96 struct page *page) in hugetlb_cgroup_commit_charge()
102 hugetlb_cgroup_uncharge_page(int idx, unsigned long nr_pages, struct page *page) in hugetlb_cgroup_uncharge_page()
Dpage_owner.h12 static inline void reset_page_owner(struct page *page, unsigned int order) in reset_page_owner()
20 static inline void set_page_owner(struct page *page, in set_page_owner()
29 static inline void reset_page_owner(struct page *page, unsigned int order) in reset_page_owner()
32 static inline void set_page_owner(struct page *page, in set_page_owner()
Dksm.h38 static inline struct stable_node *page_stable_node(struct page *page) in page_stable_node()
43 static inline void set_page_stable_node(struct page *page, in set_page_stable_node()
85 static inline struct page *ksm_might_need_to_copy(struct page *page, in ksm_might_need_to_copy()
91 static inline int page_referenced_ksm(struct page *page, in page_referenced_ksm()
97 static inline int rmap_walk_ksm(struct page *page, in rmap_walk_ksm()
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
543 struct page *page, in fscache_read_or_alloc_page()
627 struct page *page, in fscache_alloc_page()
676 struct page *page, in fscache_write_page()
701 struct page *page) in fscache_uncache_page()
719 struct page *page) in fscache_check_page_write()
[all …]
Dmigrate.h58 struct page *page) {} in migrate_page_copy()
61 struct page *newpage, struct page *page) in migrate_huge_page_move_mapping()
77 static inline int migrate_misplaced_page(struct page *page, in migrate_misplaced_page()
95 struct page *page, int node) in migrate_misplaced_transhuge_page()
Dhuge_mm.h97 static inline int split_huge_page(struct page *page) in split_huge_page()
150 static inline int hpage_nr_pages(struct page *page) in hpage_nr_pages()
162 static inline bool is_huge_zero_page(struct page *page) in is_huge_zero_page()
178 split_huge_page_to_list(struct page *page, struct list_head *list) in split_huge_page_to_list()
182 static inline int split_huge_page(struct page *page) in split_huge_page()
216 static inline bool is_huge_zero_page(struct page *page) in is_huge_zero_page()
Dmemcontrol.h210 static inline int mem_cgroup_try_charge(struct page *page, struct mm_struct *mm, in mem_cgroup_try_charge()
218 static inline void mem_cgroup_commit_charge(struct page *page, in mem_cgroup_commit_charge()
224 static inline void mem_cgroup_cancel_charge(struct page *page, in mem_cgroup_cancel_charge()
229 static inline void mem_cgroup_uncharge(struct page *page) in mem_cgroup_uncharge()
249 static inline struct lruvec *mem_cgroup_page_lruvec(struct page *page, in mem_cgroup_page_lruvec()
255 static inline struct mem_cgroup *try_get_mem_cgroup_from_page(struct page *page) in try_get_mem_cgroup_from_page()
324 static inline struct mem_cgroup *mem_cgroup_begin_page_stat(struct page *page) in mem_cgroup_begin_page_stat()
492 memcg_kmem_uncharge_pages(struct page *page, int order) in memcg_kmem_uncharge_pages()
509 memcg_kmem_commit_charge(struct page *page, struct mem_cgroup *memcg, int order) in memcg_kmem_commit_charge()
571 static inline void memcg_kmem_uncharge_pages(struct page *page, int order) in memcg_kmem_uncharge_pages()
[all …]
Dquicklist.h17 void *page; member
56 struct page *page) in __quicklist_free()
73 struct page *page) in quicklist_free_page()
Dcleancache.h51 static inline bool cleancache_fs_enabled(struct page *page) in cleancache_fs_enabled()
90 static inline int cleancache_get_page(struct page *page) in cleancache_get_page()
99 static inline void cleancache_put_page(struct page *page) in cleancache_put_page()
106 struct page *page) in cleancache_invalidate_page()
Dpage-isolation.h9 static inline bool is_migrate_isolate_page(struct page *page) in is_migrate_isolate_page()
22 static inline bool is_migrate_isolate_page(struct page *page) in is_migrate_isolate_page()
Drmap.h163 static inline void page_dup_rmap(struct page *page) in page_dup_rmap()
184 static inline pte_t *page_check_address(struct page *page, struct mm_struct *mm, in page_check_address()
247 static inline int page_referenced(struct page *page, int is_locked, in page_referenced()
255 #define try_to_unmap(page, refs) SWAP_FAIL argument
257 static inline int page_mkclean(struct page *page) in page_mkclean()
/linux-4.1.27/sound/pci/trident/
Dtrident_memory.c37 #define __set_tlb_bus(trident,page,ptr,addr) \ argument
40 #define __tlb_to_ptr(trident,page) \ argument
42 #define __tlb_to_addr(trident,page) \ argument
50 #define set_tlb_bus(trident,page,ptr,addr) __set_tlb_bus(trident,page,ptr,addr) argument
52 #define set_silent_tlb(trident,page) __set_tlb_bus(trident, page, (unsigned long)trident->tlb.silen… argument
56 #define aligned_page_offset(page) ((page) << 12) argument
58 #define page_to_ptr(trident,page) __tlb_to_ptr(trident, page) argument
60 #define page_to_addr(trident,page) __tlb_to_addr(trident, page) argument
67 #define aligned_page_offset(page) ((page) << 13) argument
68 #define page_to_ptr(trident,page) __tlb_to_ptr(trident, (page) << 1) argument
[all …]
/linux-4.1.27/drivers/target/iscsi/
Discsi_target_stat.c68 struct iscsi_wwn_stat_grps *igrps, char *page) in iscsi_stat_instance_show_attr_inst()
78 struct iscsi_wwn_stat_grps *igrps, char *page) in iscsi_stat_instance_show_attr_min_ver()
85 struct iscsi_wwn_stat_grps *igrps, char *page) in iscsi_stat_instance_show_attr_max_ver()
92 struct iscsi_wwn_stat_grps *igrps, char *page) in iscsi_stat_instance_show_attr_portals()
102 struct iscsi_wwn_stat_grps *igrps, char *page) in iscsi_stat_instance_show_attr_nodes()
109 struct iscsi_wwn_stat_grps *igrps, char *page) in iscsi_stat_instance_show_attr_sessions()
119 struct iscsi_wwn_stat_grps *igrps, char *page) in iscsi_stat_instance_show_attr_fail_sess()
137 struct iscsi_wwn_stat_grps *igrps, char *page) in iscsi_stat_instance_show_attr_fail_type()
149 struct iscsi_wwn_stat_grps *igrps, char *page) in iscsi_stat_instance_show_attr_fail_rem_name()
162 struct iscsi_wwn_stat_grps *igrps, char *page) in iscsi_stat_instance_show_attr_disc_time()
[all …]
Discsi_target_configfs.c51 char *page) in lio_target_np_show_sctp()
69 const char *page, in lio_target_np_store_sctp()
127 char *page) in lio_target_np_show_iser()
145 const char *page, in lio_target_np_store_iser()
654 char *page) in lio_target_nacl_show_info()
772 char *page) in lio_target_nacl_show_cmdsn_depth()
779 const char *page, in lio_target_nacl_store_cmdsn_depth()
835 char *page) in lio_target_nacl_show_tag()
842 const char *page, in lio_target_nacl_store_tag()
1358 char *page) in lio_target_tpg_show_enable()
[all …]
/linux-4.1.27/drivers/target/
Dtarget_core_stat.c77 struct se_dev_stat_grps *sgrps, char *page) in target_stat_scsi_dev_show_attr_inst()
88 struct se_dev_stat_grps *sgrps, char *page) in target_stat_scsi_dev_show_attr_indx()
98 struct se_dev_stat_grps *sgrps, char *page) in target_stat_scsi_dev_show_attr_role()
105 struct se_dev_stat_grps *sgrps, char *page) in target_stat_scsi_dev_show_attr_ports()
154 struct se_dev_stat_grps *sgrps, char *page) in target_stat_scsi_tgt_dev_show_attr_inst()
165 struct se_dev_stat_grps *sgrps, char *page) in target_stat_scsi_tgt_dev_show_attr_indx()
175 struct se_dev_stat_grps *sgrps, char *page) in target_stat_scsi_tgt_dev_show_attr_num_lus()
182 struct se_dev_stat_grps *sgrps, char *page) in target_stat_scsi_tgt_dev_show_attr_status()
195 struct se_dev_stat_grps *sgrps, char *page) in target_stat_scsi_tgt_dev_show_attr_non_access_lus()
211 struct se_dev_stat_grps *sgrps, char *page) in target_stat_scsi_tgt_dev_show_attr_resets()
[all …]
Dtarget_core_configfs.c92 char *page) in target_core_attr_show()
543 char *page) in target_core_dev_wwn_show_attr_vpd_unit_serial()
551 const char *page, in target_core_dev_wwn_store_attr_vpd_unit_serial()
616 char *page) in target_core_dev_wwn_show_attr_vpd_protocol_identifier()
643 const char *page, in target_core_dev_wwn_store_attr_vpd_protocol_identifier()
698 const char *page, in target_core_dev_wwn_store_attr_vpd_assoc_logical_unit()
713 const char *page, in target_core_dev_wwn_store_attr_vpd_assoc_target_port()
728 const char *page, in target_core_dev_wwn_store_attr_vpd_assoc_scsi_target_device()
771 char *page) in target_core_dev_pr_show_spc3_res()
792 char *page) in target_core_dev_pr_show_spc2_res()
[all …]
Dtarget_core_alua.c1978 ssize_t core_alua_show_tg_pt_gp_info(struct se_port *port, char *page) in core_alua_show_tg_pt_gp_info()
2013 const char *page, in core_alua_store_tg_pt_gp_info()
2104 char *page) in core_alua_show_access_type()
2119 const char *page, in core_alua_store_access_type()
2150 char *page) in core_alua_show_nonop_delay_msecs()
2157 const char *page, in core_alua_store_nonop_delay_msecs()
2181 char *page) in core_alua_show_trans_delay_msecs()
2188 const char *page, in core_alua_store_trans_delay_msecs()
2212 char *page) in core_alua_show_implicit_trans_secs()
2219 const char *page, in core_alua_store_implicit_trans_secs()
[all …]
Dtarget_core_fabric_configfs.c182 char *page) in target_fabric_mappedlun_show_write_protect()
200 const char *page, in target_fabric_mappedlun_store_write_protect()
655 char *page) in target_fabric_port_show_attr_alua_tg_pt_gp()
665 const char *page, in target_fabric_port_store_attr_alua_tg_pt_gp()
681 char *page) in target_fabric_port_show_attr_alua_tg_pt_offline()
691 const char *page, in target_fabric_port_store_attr_alua_tg_pt_offline()
707 char *page) in target_fabric_port_show_attr_alua_tg_pt_status()
717 const char *page, in target_fabric_port_store_attr_alua_tg_pt_status()
733 char *page) in target_fabric_port_show_attr_alua_tg_pt_write_md()
743 const char *page, in target_fabric_port_store_attr_alua_tg_pt_write_md()
/linux-4.1.27/block/
Dblk-sysfs.c23 queue_var_show(unsigned long var, char *page) in queue_var_show()
29 queue_var_store(unsigned long *var, const char *page, size_t count) in queue_var_store()
43 static ssize_t queue_requests_show(struct request_queue *q, char *page) in queue_requests_show()
49 queue_requests_store(struct request_queue *q, const char *page, size_t count) in queue_requests_store()
75 static ssize_t queue_ra_show(struct request_queue *q, char *page) in queue_ra_show()
84 queue_ra_store(struct request_queue *q, const char *page, size_t count) in queue_ra_store()
97 static ssize_t queue_max_sectors_show(struct request_queue *q, char *page) in queue_max_sectors_show()
104 static ssize_t queue_max_segments_show(struct request_queue *q, char *page) in queue_max_segments_show()
109 static ssize_t queue_max_integrity_segments_show(struct request_queue *q, char *page) in queue_max_integrity_segments_show()
114 static ssize_t queue_max_segment_size_show(struct request_queue *q, char *page) in queue_max_segment_size_show()
[all …]
Dblk-mq-sysfs.c33 char *page) in blk_mq_sysfs_show()
56 const char *page, size_t length) in blk_mq_sysfs_store()
79 struct attribute *attr, char *page) in blk_mq_hw_sysfs_show()
102 struct attribute *attr, const char *page, in blk_mq_hw_sysfs_store()
125 static ssize_t blk_mq_sysfs_dispatched_show(struct blk_mq_ctx *ctx, char *page) in blk_mq_sysfs_dispatched_show()
131 static ssize_t blk_mq_sysfs_merged_show(struct blk_mq_ctx *ctx, char *page) in blk_mq_sysfs_merged_show()
136 static ssize_t blk_mq_sysfs_completed_show(struct blk_mq_ctx *ctx, char *page) in blk_mq_sysfs_completed_show()
142 static ssize_t sysfs_list_show(char *page, struct list_head *list, char *msg) in sysfs_list_show()
166 static ssize_t blk_mq_sysfs_rq_list_show(struct blk_mq_ctx *ctx, char *page) in blk_mq_sysfs_rq_list_show()
178 char *page) in blk_mq_hw_sysfs_queued_show()
[all …]
Dblk-integrity.c246 char *page) in integrity_attr_show()
257 struct attribute *attr, const char *page, in integrity_attr_store()
272 static ssize_t integrity_format_show(struct blk_integrity *bi, char *page) in integrity_format_show()
280 static ssize_t integrity_tag_size_show(struct blk_integrity *bi, char *page) in integrity_tag_size_show()
289 const char *page, size_t count) in integrity_verify_store()
302 static ssize_t integrity_verify_show(struct blk_integrity *bi, char *page) in integrity_verify_show()
308 const char *page, size_t count) in integrity_generate_store()
321 static ssize_t integrity_generate_show(struct blk_integrity *bi, char *page) in integrity_generate_show()
326 static ssize_t integrity_device_show(struct blk_integrity *bi, char *page) in integrity_device_show()
/linux-4.1.27/fs/9p/
Dcache.h56 static inline int v9fs_fscache_release_page(struct page *page, in v9fs_fscache_release_page()
62 static inline void v9fs_fscache_invalidate_page(struct page *page) in v9fs_fscache_invalidate_page()
68 struct page *page) in v9fs_readpage_from_fscache()
83 struct page *page) in v9fs_readpage_to_fscache()
89 static inline void v9fs_uncache_page(struct inode *inode, struct page *page) in v9fs_uncache_page()
97 struct page *page) in v9fs_fscache_wait_on_page_write()
116 static inline int v9fs_fscache_release_page(struct page *page, in v9fs_fscache_release_page()
121 static inline void v9fs_fscache_invalidate_page(struct page *page) {} in v9fs_fscache_invalidate_page()
124 struct page *page) in v9fs_readpage_from_fscache()
138 struct page *page) in v9fs_readpage_to_fscache()
[all …]
Dvfs_addr.c52 static int v9fs_fid_readpage(struct p9_fid *fid, struct page *page) in v9fs_fid_readpage()
96 static int v9fs_vfs_readpage(struct file *filp, struct page *page) in v9fs_vfs_readpage()
135 static int v9fs_release_page(struct page *page, gfp_t gfp) in v9fs_release_page()
149 static void v9fs_invalidate_page(struct page *page, unsigned int offset, in v9fs_invalidate_page()
160 static int v9fs_vfs_writepage_locked(struct page *page) in v9fs_vfs_writepage_locked()
190 static int v9fs_vfs_writepage(struct page *page, struct writeback_control *wbc) in v9fs_vfs_writepage()
217 static int v9fs_launder_page(struct page *page) in v9fs_launder_page()
272 struct page *page; in v9fs_write_begin() local
305 struct page *page, void *fsdata) in v9fs_write_end()
Dcache.c280 int __v9fs_fscache_release_page(struct page *page, gfp_t gfp) in __v9fs_fscache_release_page()
290 void __v9fs_fscache_invalidate_page(struct page *page) in __v9fs_fscache_invalidate_page()
304 static void v9fs_vfs_readpage_complete(struct page *page, void *data, in v9fs_vfs_readpage_complete()
320 int __v9fs_readpage_from_fscache(struct inode *inode, struct page *page) in __v9fs_readpage_from_fscache()
393 void __v9fs_readpage_to_fscache(struct inode *inode, struct page *page) in __v9fs_readpage_to_fscache()
408 void __v9fs_fscache_wait_on_page_write(struct inode *inode, struct page *page) in __v9fs_fscache_wait_on_page_write()
/linux-4.1.27/mm/
Dswap.c52 static void __page_cache_release(struct page *page) in __page_cache_release()
69 static void __put_single_page(struct page *page) in __put_single_page()
75 static void __put_compound_page(struct page *page) in __put_compound_page()
118 void put_unrefcounted_compound_page(struct page *page_head, struct page *page) in put_unrefcounted_compound_page()
166 void put_refcounted_compound_page(struct page *page_head, struct page *page) in put_refcounted_compound_page()
233 static void put_compound_page(struct page *page) in put_compound_page()
272 void put_page(struct page *page) in put_page()
285 bool __get_page_tail(struct page *page) in __get_page_tail()
419 void (*move_fn)(struct page *page, struct lruvec *lruvec, void *arg), in pagevec_lru_move_fn()
428 struct page *page = pvec->pages[i]; in pagevec_lru_move_fn() local
[all …]
Drmap.c453 struct anon_vma *page_get_anon_vma(struct page *page) in page_get_anon_vma()
496 struct anon_vma *page_lock_anon_vma_read(struct page *page) in page_lock_anon_vma_read()
567 __vma_address(struct page *page, struct vm_area_struct *vma) in __vma_address()
574 vma_address(struct page *page, struct vm_area_struct *vma) in vma_address()
588 unsigned long page_address_in_vma(struct page *page, struct vm_area_struct *vma) in page_address_in_vma()
649 pte_t *__page_check_address(struct page *page, struct mm_struct *mm, in __page_check_address()
697 int page_mapped_in_vma(struct page *page, struct vm_area_struct *vma) in page_mapped_in_vma()
723 static int page_referenced_one(struct page *page, struct vm_area_struct *vma, in page_referenced_one()
817 int page_referenced(struct page *page, in page_referenced()
865 static int page_mkclean_one(struct page *page, struct vm_area_struct *vma, in page_mkclean_one()
[all …]
Dballoon_compaction.c26 struct page *page = alloc_page(balloon_mapping_gfp_mask() | in balloon_page_enqueue() local
59 struct page *page, *tmp; in balloon_page_dequeue() local
109 static inline void __isolate_balloon_page(struct page *page) in __isolate_balloon_page()
121 static inline void __putback_balloon_page(struct page *page) in __putback_balloon_page()
134 bool balloon_page_isolate(struct page *page) in balloon_page_isolate()
176 void balloon_page_putback(struct page *page) in balloon_page_putback()
197 struct page *page, enum migrate_mode mode) in balloon_page_migrate()
Dtruncate.c81 void do_invalidatepage(struct page *page, unsigned int offset, in do_invalidatepage()
106 truncate_complete_page(struct address_space *mapping, struct page *page) in truncate_complete_page()
136 invalidate_complete_page(struct address_space *mapping, struct page *page) in invalidate_complete_page()
151 int truncate_inode_page(struct address_space *mapping, struct page *page) in truncate_inode_page()
164 int generic_error_remove_page(struct address_space *mapping, struct page *page) in generic_error_remove_page()
184 int invalidate_inode_page(struct page *page) in invalidate_inode_page()
263 struct page *page = pvec.pages[i]; in truncate_inode_pages_range() local
292 struct page *page = find_lock_page(mapping, start - 1); in truncate_inode_pages_range() local
311 struct page *page = find_lock_page(mapping, end); in truncate_inode_pages_range() local
349 struct page *page = pvec.pages[i]; in truncate_inode_pages_range() local
[all …]
Ddebug-pagealloc.c32 static inline void set_page_poison(struct page *page) in set_page_poison()
40 static inline void clear_page_poison(struct page *page) in clear_page_poison()
48 static inline bool page_poison(struct page *page) in page_poison()
56 static void poison_page(struct page *page) in poison_page()
65 static void poison_pages(struct page *page, int n) in poison_pages()
107 static void unpoison_page(struct page *page) in unpoison_page()
120 static void unpoison_pages(struct page *page, int n) in unpoison_pages()
128 void __kernel_map_pages(struct page *page, int numpages, int enable) in __kernel_map_pages()
Dfilemap.c112 struct page *page, void *shadow) in page_cache_tree_delete()
179 void __delete_from_page_cache(struct page *page, void *shadow) in __delete_from_page_cache()
224 void delete_from_page_cache(struct page *page) in delete_from_page_cache()
349 struct page *page = pvec.pages[i]; in filemap_fdatawait_range() local
502 struct page *page, void **shadowp) in page_cache_tree_insert()
543 static int __add_to_page_cache_locked(struct page *page, in __add_to_page_cache_locked()
604 int add_to_page_cache_locked(struct page *page, struct address_space *mapping, in add_to_page_cache_locked()
612 int add_to_page_cache_lru(struct page *page, struct address_space *mapping, in add_to_page_cache_lru()
644 struct page *page; in __page_cache_alloc() local
671 wait_queue_head_t *page_waitqueue(struct page *page) in page_waitqueue()
[all …]
Dpage_io.c28 struct page *page, bio_end_io_t end_io) in get_swap_bio()
49 struct page *page = bio->bi_io_vec[0].bv_page; in end_swap_bio_write() local
75 struct page *page = bio->bi_io_vec[0].bv_page; in end_swap_bio_read() local
232 int swap_writepage(struct page *page, struct writeback_control *wbc) in swap_writepage()
251 static sector_t swap_page_sector(struct page *page) in swap_page_sector()
256 int __swap_writepage(struct page *page, struct writeback_control *wbc, in __swap_writepage()
328 int swap_readpage(struct page *page) in swap_readpage()
371 int swap_set_page_dirty(struct page *page) in swap_set_page_dirty()
Dhighmem.c57 static inline unsigned int get_pkmap_color(struct page *page) in get_pkmap_color()
175 struct page *page; in flush_all_zero_pkmaps() local
217 static inline unsigned long map_new_virtual(struct page *page) in map_new_virtual()
279 void *kmap_high(struct page *page) in kmap_high()
310 void *kmap_high_get(struct page *page) in kmap_high_get()
332 void kunmap_high(struct page *page) in kunmap_high()
386 struct page *page; member
401 static struct page_address_slot *page_slot(const struct page *page) in page_slot()
412 void *page_address(const struct page *page) in page_address()
446 void set_page_address(struct page *page, void *virtual) in set_page_address()
Dswap_state.c79 int __add_to_swap_cache(struct page *page, swp_entry_t entry) in __add_to_swap_cache()
119 int add_to_swap_cache(struct page *page, swp_entry_t entry, gfp_t gfp_mask) in add_to_swap_cache()
135 void __delete_from_swap_cache(struct page *page) in __delete_from_swap_cache()
161 int add_to_swap(struct page *page, struct list_head *list) in add_to_swap()
212 void delete_from_swap_cache(struct page *page) in delete_from_swap_cache()
236 static inline void free_swap_cache(struct page *page) in free_swap_cache()
248 void free_page_and_swap_cache(struct page *page) in free_page_and_swap_cache()
277 struct page *page; in lookup_swap_cache() local
453 struct page *page; in swapin_readahead() local
Dmlock.c57 void clear_page_mlock(struct page *page) in clear_page_mlock()
80 void mlock_vma_page(struct page *page) in mlock_vma_page()
98 static bool __munlock_isolate_lru_page(struct page *page, bool getpage) in __munlock_isolate_lru_page()
120 static void __munlock_isolated_page(struct page *page) in __munlock_isolated_page()
147 static void __munlock_isolation_failed(struct page *page) in __munlock_isolation_failed()
173 unsigned int munlock_vma_page(struct page *page) in munlock_vma_page()
232 static bool __putback_lru_fast_prepare(struct page *page, struct pagevec *pvec, in __putback_lru_fast_prepare()
289 struct page *page = pvec->pages[i]; in __munlock_pagevec() local
320 struct page *page = pvec->pages[i]; in __munlock_pagevec() local
380 struct page *page = NULL; in __munlock_pagevec_fill() local
[all …]
Dpage_isolation.c12 int set_migratetype_isolate(struct page *page, bool skip_hwpoisoned_pages) in set_migratetype_isolate()
75 void unset_migratetype_isolate(struct page *page, unsigned migratetype) in unset_migratetype_isolate()
162 struct page *page; in start_isolate_page_range() local
194 struct page *page; in undo_isolate_page_range() local
218 struct page *page; in __test_page_isolated_in_pageblock() local
266 struct page *page; in test_pages_isolated() local
292 struct page *alloc_migrate_target(struct page *page, unsigned long private, in alloc_migrate_target()
Dmigrate.c84 struct page *page; in putback_movable_pages() local
205 struct page *page; in __migration_entry_wait() local
309 struct page *newpage, struct page *page, in migrate_page_move_mapping()
398 struct page *newpage, struct page *page) in migrate_huge_page_move_mapping()
487 void migrate_page_copy(struct page *newpage, struct page *page) in migrate_page_copy()
564 struct page *newpage, struct page *page, in migrate_page()
588 struct page *newpage, struct page *page, enum migrate_mode mode) in buffer_migrate_page()
644 static int writeout(struct address_space *mapping, struct page *page) in writeout()
686 struct page *newpage, struct page *page, enum migrate_mode mode) in fallback_migrate_page()
717 static int move_to_new_page(struct page *newpage, struct page *page, in move_to_new_page()
[all …]
Ddmapool.c73 struct dma_page *page; in show_pools() local
206 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page) in pool_initialise_page()
224 struct dma_page *page; in pool_alloc_page() local
245 static inline int is_page_busy(struct dma_page *page) in is_page_busy()
250 static void pool_free_page(struct dma_pool *pool, struct dma_page *page) in pool_free_page()
285 struct dma_page *page; in dma_pool_destroy() local
322 struct dma_page *page; in dma_pool_alloc() local
384 struct dma_page *page; in pool_find_page() local
406 struct dma_page *page; in dma_pool_free() local
Dslub.c229 struct page *page, const void *object) in check_valid_pointer()
339 static __always_inline void slab_lock(struct page *page) in slab_lock()
344 static __always_inline void slab_unlock(struct page *page) in slab_unlock()
349 static inline void set_page_slub_counters(struct page *page, unsigned long counters_new) in set_page_slub_counters()
365 static inline bool __cmpxchg_double_slab(struct kmem_cache *s, struct page *page, in __cmpxchg_double_slab()
402 static inline bool cmpxchg_double_slab(struct kmem_cache *s, struct page *page, in cmpxchg_double_slab()
450 static void get_map(struct kmem_cache *s, struct page *page, unsigned long *map) in get_map()
582 static void print_page_info(struct page *page) in print_page_info()
617 static void print_trailer(struct kmem_cache *s, struct page *page, u8 *p) in print_trailer()
653 void object_err(struct kmem_cache *s, struct page *page, in object_err()
[all …]
Dinternal.h20 static inline void set_page_count(struct page *page, int v) in set_page_count()
43 static inline void set_page_refcounted(struct page *page) in set_page_refcounted()
50 static inline void __get_page_tail_foll(struct page *page, in __get_page_tail_foll()
75 static inline void get_page_foll(struct page *page) in get_page_foll()
217 static inline unsigned int page_order(struct page *page) in page_order()
234 #define page_order_unsafe(page) READ_ONCE(page_private(page)) argument
276 static inline void mlock_migrate_page(struct page *newpage, struct page *page) in mlock_migrate_page()
297 static inline void clear_page_mlock(struct page *page) { } in clear_page_mlock()
298 static inline void mlock_vma_page(struct page *page) { } in mlock_vma_page()
380 static inline void mminit_verify_page_links(struct page *page, in mminit_verify_page_links()
Dpage_alloc.c238 void set_pageblock_migratetype(struct page *page, int migratetype) in set_pageblock_migratetype()
249 static int page_outside_zone_boundaries(struct zone *zone, struct page *page) in page_outside_zone_boundaries()
272 static int page_is_consistent(struct zone *zone, struct page *page) in page_is_consistent()
284 static int bad_range(struct zone *zone, struct page *page) in bad_range()
294 static inline int bad_range(struct zone *zone, struct page *page) in bad_range()
300 static void bad_page(struct page *page, const char *reason, in bad_page()
360 static void free_compound_page(struct page *page) in free_compound_page()
365 void prep_compound_page(struct page *page, unsigned int order) in prep_compound_page()
383 static inline void prep_zero_page(struct page *page, unsigned int order, in prep_zero_page()
450 static inline void set_page_guard(struct zone *zone, struct page *page, in set_page_guard()
[all …]
Dpage_owner.c49 void __reset_page_owner(struct page *page, unsigned int order) in __reset_page_owner()
60 void __set_page_owner(struct page *page, unsigned int order, gfp_t gfp_mask) in __set_page_owner()
81 struct page *page, struct page_ext *page_ext) in print_page_owner()
150 struct page *page; in read_page_owner() local
209 struct page *page; in init_pages_in_zone() local
Dcompaction.c55 struct page *page, *next; in release_freepages() local
71 struct page *page; in map_pages() local
202 struct page *page) in isolation_suitable()
228 struct page *page; in __reset_isolation_suitable() local
263 struct page *page, unsigned long nr_isolated, in update_pageblock_skip()
296 struct page *page) in isolation_suitable()
302 struct page *page, unsigned long nr_isolated, in update_pageblock_skip()
416 struct page *page = cursor; in isolate_freepages_block() local
597 struct page *page; in acct_isolated() local
653 struct page *page = NULL, *valid_page = NULL; in isolate_migratepages_block() local
[all …]
Dkmemcheck.c8 void kmemcheck_alloc_shadow(struct page *page, int order, gfp_t flags, int node) in kmemcheck_alloc_shadow()
39 void kmemcheck_free_shadow(struct page *page, int order) in kmemcheck_free_shadow()
100 void kmemcheck_pagealloc_alloc(struct page *page, unsigned int order, in kmemcheck_pagealloc_alloc()
Dhugetlb.c589 static void enqueue_huge_page(struct hstate *h, struct page *page) in enqueue_huge_page()
599 struct page *page; in dequeue_huge_page_node() local
631 struct page *page = NULL; in dequeue_huge_page_vma() local
757 static void destroy_compound_gigantic_page(struct page *page, in destroy_compound_gigantic_page()
774 static void free_gigantic_page(struct page *page, unsigned int order) in free_gigantic_page()
790 struct page *page; in pfn_range_valid_gigantic() local
858 struct page *page; in alloc_fresh_gigantic_page_node() local
872 struct page *page = NULL; in alloc_fresh_gigantic_page() local
887 static inline void free_gigantic_page(struct page *page, unsigned int order) { } in free_gigantic_page()
888 static inline void destroy_compound_gigantic_page(struct page *page, in destroy_compound_gigantic_page()
[all …]
Dzsmalloc.c402 static int is_first_page(struct page *page) in is_first_page()
407 static int is_last_page(struct page *page) in is_last_page()
412 static void get_zspage_mapping(struct page *page, unsigned int *class_idx, in get_zspage_mapping()
423 static void set_zspage_mapping(struct page *page, unsigned int class_idx, in set_zspage_mapping()
632 static enum fullness_group get_fullness_group(struct page *page) in get_fullness_group()
659 static void insert_zspage(struct page *page, struct size_class *class, in insert_zspage()
682 static void remove_zspage(struct page *page, struct size_class *class, in remove_zspage()
715 struct page *page) in fix_fullness_group()
776 static struct page *get_first_page(struct page *page) in get_first_page()
784 static struct page *get_next_page(struct page *page) in get_next_page()
[all …]
Dksm.c365 struct page *page; in break_ksm() local
444 static struct page *page_trans_compound_anon(struct page *page) in page_trans_compound_anon()
463 struct page *page; in get_mergeable_page() local
538 struct page *page; in get_ksm_page() local
617 struct page *page; in remove_rmap_item_from_tree() local
704 struct page *page; in remove_stable_node() local
828 static u32 calc_checksum(struct page *page) in calc_checksum()
855 static int write_protect_page(struct vm_area_struct *vma, struct page *page, in write_protect_page()
929 static int replace_page(struct vm_area_struct *vma, struct page *page, in replace_page()
979 static int page_trans_compound_anon_split(struct page *page) in page_trans_compound_anon_split()
[all …]
Dswapfile.c99 struct page *page; in __try_to_reclaim_swap() local
862 int page_swapcount(struct page *page) in page_swapcount()
883 int reuse_swap_page(struct page *page) in reuse_swap_page()
905 int try_to_free_swap(struct page *page) in try_to_free_swap()
946 struct page *page = NULL; in free_swap_and_cache() local
1093 unsigned long addr, swp_entry_t entry, struct page *page) in unuse_pte()
1149 swp_entry_t entry, struct page *page) in unuse_pte_range()
1185 swp_entry_t entry, struct page *page) in unuse_pmd_range()
1205 swp_entry_t entry, struct page *page) in unuse_pud_range()
1224 swp_entry_t entry, struct page *page) in unuse_vma()
[all …]
Dreadahead.c45 struct page *page) in read_cache_pages_invalidate_page()
84 int (*filler)(void *, struct page *), void *data) in read_cache_pages()
86 struct page *page; in read_cache_pages() local
128 struct page *page = list_to_page(pages); in read_pages() local
157 struct page *page; in __do_page_cache_readahead() local
526 struct page *page, pgoff_t offset, in page_cache_async_readahead()
Dslab.c397 static void set_obj_status(struct page *page, int idx, int val) in set_obj_status()
408 static inline unsigned int get_obj_status(struct page *page, int idx) in get_obj_status()
421 static inline void set_obj_status(struct page *page, int idx, int val) {} in set_obj_status()
436 struct page *page = virt_to_head_page(obj); in virt_to_cache() local
440 static inline void *index_to_obj(struct kmem_cache *cache, struct page *page, in index_to_obj()
453 const struct page *page, void *obj) in obj_to_index()
689 static inline bool is_slab_pfmemalloc(struct page *page) in is_slab_pfmemalloc()
699 struct page *page; in recheck_pfmemalloc_active() local
755 struct page *page = virt_to_head_page(objp); in __ac_get_obj() local
788 struct page *page = virt_to_head_page(objp); in __ac_put_obj() local
[all …]
Dpage-writeback.c1883 struct page *page = pvec.pages[i]; in write_cache_pages() local
1994 static int __writepage(struct page *page, struct writeback_control *wbc, in __writepage()
2051 int write_one_page(struct page *page, int wait) in write_one_page()
2084 int __set_page_dirty_no_writeback(struct page *page) in __set_page_dirty_no_writeback()
2095 void account_page_dirtied(struct page *page, struct address_space *mapping) in account_page_dirtied()
2122 void account_page_cleaned(struct page *page, struct address_space *mapping) in account_page_cleaned()
2144 int __set_page_dirty_nobuffers(struct page *page) in __set_page_dirty_nobuffers()
2177 void account_page_redirty(struct page *page) in account_page_redirty()
2193 int redirty_page_for_writepage(struct writeback_control *wbc, struct page *page) in redirty_page_for_writepage()
2215 int set_page_dirty(struct page *page) in set_page_dirty()
[all …]
Dmemory_hotplug.c158 void get_page_bootmem(unsigned long info, struct page *page, in get_page_bootmem()
167 void put_page_bootmem(struct page *page) in put_page_bootmem()
189 struct page *page, *memmap; in register_page_bootmem_info_section() local
223 struct page *page, *memmap; in register_page_bootmem_info_section() local
249 struct page *page; in register_page_bootmem_info_node() local
830 void __online_page_set_limits(struct page *page) in __online_page_set_limits()
835 void __online_page_increment_counters(struct page *page) in __online_page_increment_counters()
841 void __online_page_free(struct page *page) in __online_page_free()
847 static void generic_online_page(struct page *page) in generic_online_page()
859 struct page *page; in online_pages_range() local
[all …]
/linux-4.1.27/fs/jfs/
Djfs_metapage.c92 #define mp_anchor(page) ((struct meta_anchor *)page_private(page)) argument
94 static inline struct metapage *page_to_mp(struct page *page, int offset) in page_to_mp()
101 static inline int insert_metapage(struct page *page, struct metapage *mp) in insert_metapage()
128 static inline void remove_metapage(struct page *page, struct metapage *mp) in remove_metapage()
147 static inline void inc_io(struct page *page) in inc_io()
152 static inline void dec_io(struct page *page, void (*handler) (struct page *)) in dec_io()
159 static inline struct metapage *page_to_mp(struct page *page, int offset) in page_to_mp()
164 static inline int insert_metapage(struct page *page, struct metapage *mp) in insert_metapage()
174 static inline void remove_metapage(struct page *page, struct metapage *mp) in remove_metapage()
181 #define inc_io(page) do {} while(0) argument
[all …]
/linux-4.1.27/arch/parisc/include/asm/
Dcacheflush.h41 static inline void flush_kernel_dcache_page(struct page *page) in flush_kernel_dcache_page()
63 struct page *page = vmalloc_to_page(cursor); in invalidate_kernel_vmap_range() local
82 #define flush_icache_page(vma,page) do { \ argument
92 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
99 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
114 flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vmaddr) in flush_anon_page()
132 static inline void *kmap(struct page *page) in kmap()
138 static inline void kunmap(struct page *page) in kunmap()
143 static inline void *kmap_atomic(struct page *page) in kmap_atomic()
155 #define kmap_atomic_prot(page, prot) kmap_atomic(page) argument
Dagp.h10 #define map_page_into_agp(page) /* nothing */ argument
11 #define unmap_page_from_agp(page) /* nothing */ argument
/linux-4.1.27/net/ceph/
Dpagelist.c11 struct page *page = list_entry(pl->head.prev, struct page, lru); in ceph_pagelist_unmap_tail() local
23 struct page *page = list_first_entry(&pl->head, struct page, in ceph_pagelist_release() local
35 struct page *page; in ceph_pagelist_addpage() local
89 struct page *page = __page_cache_alloc(GFP_NOFS); in ceph_pagelist_reserve() local
103 struct page *page = list_first_entry(&pl->free_list, in ceph_pagelist_free_reserve() local
132 struct page *page; in ceph_pagelist_truncate() local
/linux-4.1.27/drivers/staging/android/ion/
Dion_page_pool.c29 struct page *page = alloc_pages(pool->gfp_mask, pool->order); in ion_page_pool_alloc_pages() local
39 struct page *page) in ion_page_pool_free_pages()
44 static int ion_page_pool_add(struct ion_page_pool *pool, struct page *page) in ion_page_pool_add()
60 struct page *page; in ion_page_pool_remove() local
78 struct page *page = NULL; in ion_page_pool_alloc() local
95 void ion_page_pool_free(struct ion_page_pool *pool, struct page *page) in ion_page_pool_free()
131 struct page *page; in ion_page_pool_shrink() local
Dion_system_heap.c61 struct page *page; in alloc_buffer_page() local
81 struct ion_buffer *buffer, struct page *page) in free_buffer_page()
101 struct page *page; in alloc_largest_available() local
131 struct page *page, *tmp_page; in ion_system_heap_allocate() local
316 struct page *page; in ion_system_contig_heap_allocate() local
364 struct page *page = sg_page(table->sgl); in ion_system_contig_heap_free() local
379 struct page *page = sg_page(table->sgl); in ion_system_contig_heap_phys() local
/linux-4.1.27/fs/sysv/
Ddir.c30 static inline void dir_put_page(struct page *page) in dir_put_page()
41 static int dir_commit_chunk(struct page *page, loff_t pos, unsigned len) in dir_commit_chunk()
62 struct page *page = read_mapping_page(mapping, n, NULL); in dir_get_page() local
87 struct page *page = dir_get_page(inode, n); in sysv_readdir() local
138 struct page *page = NULL; in sysv_find_entry() local
182 struct page *page = NULL; in sysv_add_link() local
234 int sysv_delete_entry(struct sysv_dir_entry *de, struct page *page) in sysv_delete_entry()
254 struct page *page = grab_cache_page(inode->i_mapping, 0); in sysv_make_empty() local
291 struct page *page = NULL; in sysv_empty_dir() local
331 void sysv_set_link(struct sysv_dir_entry *de, struct page *page, in sysv_set_link()
[all …]
/linux-4.1.27/arch/mips/include/asm/
Dcacheflush.h39 #define Page_dcache_dirty(page) \ argument
41 #define SetPageDcacheDirty(page) \ argument
43 #define ClearPageDcacheDirty(page) \ argument
56 static inline void flush_dcache_page(struct page *page) in flush_dcache_page()
70 struct page *page, unsigned long vmaddr) in flush_anon_page()
77 struct page *page) in flush_icache_page()
126 static inline void flush_kernel_dcache_page(struct page *page) in flush_kernel_dcache_page()
Dbcache.h39 static inline void bc_wback_inv(unsigned long page, unsigned long size) in bc_wback_inv()
44 static inline void bc_inv(unsigned long page, unsigned long size) in bc_inv()
55 #define bc_wback_inv(page, size) do { } while (0) argument
56 #define bc_inv(page, size) do { } while (0) argument
/linux-4.1.27/fs/fscache/
Dpage.c23 bool __fscache_check_page_write(struct fscache_cookie *cookie, struct page *page) in __fscache_check_page_write()
38 void __fscache_wait_on_page_write(struct fscache_cookie *cookie, struct page *page) in __fscache_wait_on_page_write()
51 bool release_page_wait_timeout(struct fscache_cookie *cookie, struct page *page) in release_page_wait_timeout()
64 struct page *page, in __fscache_maybe_release_page()
144 struct page *page) in fscache_end_page_write()
400 struct page *page, in __fscache_read_or_alloc_page()
654 struct page *page, in __fscache_alloc_page()
746 struct page *page; in __fscache_readpages_cancel() local
772 struct page *page; in fscache_write_op() local
863 struct page *page; in fscache_invalidate_writes() local
[all …]
/linux-4.1.27/fs/logfs/
Dreadwrite.c205 static void prelock_page(struct super_block *sb, struct page *page, int lock) in prelock_page()
222 static void preunlock_page(struct super_block *sb, struct page *page, int lock) in preunlock_page()
247 void logfs_get_wblocks(struct super_block *sb, struct page *page, int lock) in logfs_get_wblocks()
262 void logfs_put_wblocks(struct super_block *sb, struct page *page, int lock) in logfs_put_wblocks()
281 static void logfs_put_read_page(struct page *page) in logfs_put_read_page()
287 static void logfs_lock_write_page(struct page *page) in logfs_lock_write_page()
315 struct page *page; in logfs_get_write_page() local
336 static void logfs_unlock_write_page(struct page *page) in logfs_unlock_write_page()
342 static void logfs_put_write_page(struct page *page) in logfs_put_write_page()
357 static void logfs_put_page(struct page *page, int rw) in logfs_put_page()
[all …]
Dfile.c17 struct page *page; in logfs_write_begin() local
39 loff_t pos, unsigned len, unsigned copied, struct page *page, in logfs_write_end()
82 int logfs_readpage(struct file *file, struct page *page) in logfs_readpage()
96 static void clear_radix_tree_dirty(struct page *page) in clear_radix_tree_dirty()
103 static int __logfs_writepage(struct page *page) in __logfs_writepage()
117 static int logfs_writepage(struct page *page, struct writeback_control *wbc) in logfs_writepage()
162 static void logfs_invalidatepage(struct page *page, unsigned int offset, in logfs_invalidatepage()
179 static int logfs_releasepage(struct page *page, gfp_t only_xfs_uses_this) in logfs_releasepage()
Dsegment.c58 struct page *page; in get_mapping_page() local
75 struct page *page; in __logfs_buf_write() local
108 struct page *page; in pad_partial_page() local
134 struct page *page; in pad_full_pages() local
363 int logfs_segment_write(struct inode *inode, struct page *page, in logfs_segment_write()
403 struct page *page; in wbuf_read() local
475 static void move_btree_to_page(struct inode *inode, struct page *page, in move_btree_to_page()
520 void move_page_to_btree(struct page *page) in move_page_to_btree()
656 int logfs_segment_read(struct inode *inode, struct page *page, in logfs_segment_read()
715 struct page *page; in freeseg() local
[all …]
/linux-4.1.27/fs/nilfs2/
Dpage.c43 __nilfs_get_page_block(struct page *page, unsigned long block, pgoff_t index, in __nilfs_get_page_block()
68 struct page *page; in nilfs_grab_buffer() local
91 struct page *page = bh->b_page; in nilfs_forget_buffer() local
155 int nilfs_page_buffers_clean(struct page *page) in nilfs_page_buffers_clean()
168 void nilfs_page_bug(struct page *page) in nilfs_page_bug()
270 struct page *page = pvec.pages[i], *dpage; in nilfs_copy_dirty_pages() local
326 struct page *page = pvec.pages[i], *dpage; in nilfs_copy_back_pages() local
388 struct page *page = pvec.pages[i]; in nilfs_clear_dirty_pages() local
404 void nilfs_clear_dirty_page(struct page *page, bool silent) in nilfs_clear_dirty_page()
443 unsigned nilfs_page_count_clean_buffers(struct page *page, in nilfs_page_count_clean_buffers()
[all …]
Ddir.c58 static inline void nilfs_put_page(struct page *page) in nilfs_put_page()
83 static int nilfs_prepare_chunk(struct page *page, unsigned from, unsigned to) in nilfs_prepare_chunk()
89 static void nilfs_commit_chunk(struct page *page, in nilfs_commit_chunk()
110 static void nilfs_check_page(struct page *page) in nilfs_check_page()
188 struct page *page = read_mapping_page(mapping, n, NULL); in nilfs_get_page() local
275 struct page *page = nilfs_get_page(inode, n); in nilfs_readdir() local
332 struct page *page = NULL; in nilfs_find_entry() local
388 struct page *page = nilfs_get_page(dir, 0); in nilfs_dotdot() local
403 struct page *page; in nilfs_inode_by_name() local
416 struct page *page, struct inode *inode) in nilfs_set_link()
[all …]
Dpage.h66 #define NILFS_PAGE_BUG(page, m, a...) \ argument
70 nilfs_page_get_nth_block(struct page *page, unsigned int count) in nilfs_page_get_nth_block()
/linux-4.1.27/drivers/xen/
Dballoon.c109 static void scrub_page(struct page *page) in scrub_page()
117 static void __balloon_append(struct page *page) in __balloon_append()
129 static void balloon_append(struct page *page) in balloon_append()
138 struct page *page; in balloon_retrieve() local
159 static struct page *balloon_next_page(struct page *page) in balloon_next_page()
270 static void xen_online_page(struct page *page) in xen_online_page()
330 struct page *page; in increase_reservation() local
400 struct page *page; in decrease_reservation() local
534 struct page *page; in alloc_xenballooned_pages() local
590 struct page *page; in balloon_add_region() local
/linux-4.1.27/sound/pci/emu10k1/
Dmemory.c36 #define __set_ptb_entry(emu,page,addr) \ argument
45 #define aligned_page_offset(page) ((page) << PAGE_SHIFT) argument
50 #define set_ptb_entry(emu,page,addr) __set_ptb_entry(emu,page,addr) argument
52 #define set_silent_ptb(emu,page) __set_ptb_entry(emu,page,emu->silent_page.addr) argument
55 static inline void set_ptb_entry(struct snd_emu10k1 *emu, int page, dma_addr_t addr) in set_ptb_entry()
64 static inline void set_silent_ptb(struct snd_emu10k1 *emu, int page) in set_silent_ptb()
105 int page = 0, found_page = -ENOMEM; in search_empty_map_area() local
144 int page, pg; in map_memblk() local
210 int page, psize; in search_empty() local
306 int page, err, idx; in snd_emu10k1_alloc_pages() local
[all …]
/linux-4.1.27/fs/ocfs2/cluster/
Dnodemanager.c175 static ssize_t o2nm_node_num_read(struct o2nm_node *node, char *page) in o2nm_node_num_read()
194 static ssize_t o2nm_node_num_write(struct o2nm_node *node, const char *page, in o2nm_node_num_write()
230 static ssize_t o2nm_node_ipv4_port_read(struct o2nm_node *node, char *page) in o2nm_node_ipv4_port_read()
236 const char *page, size_t count) in o2nm_node_ipv4_port_write()
255 static ssize_t o2nm_node_ipv4_address_read(struct o2nm_node *node, char *page) in o2nm_node_ipv4_address_read()
261 const char *page, in o2nm_node_ipv4_address_write()
298 static ssize_t o2nm_node_local_read(struct o2nm_node *node, char *page) in o2nm_node_local_read()
303 static ssize_t o2nm_node_local_write(struct o2nm_node *node, const char *page, in o2nm_node_local_write()
411 char *page) in o2nm_node_show()
425 const char *page, size_t count) in o2nm_node_store()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dcl_page.c54 # define PASSERT(env, page, expr) \ argument
62 # define PINVRNT(env, page, exp) \ argument
76 static struct cl_page *cl_page_top_trusted(struct cl_page *page) in cl_page_top_trusted()
94 static void cl_page_get_trust(struct cl_page *page) in cl_page_get_trust()
107 cl_page_at_trusted(const struct cl_page *page, in cl_page_at_trusted()
131 struct cl_page *page; in cl_page_lookup() local
159 struct cl_page *page; in cl_page_gang_lookup() local
248 static void cl_page_free(const struct lu_env *env, struct cl_page *page) in cl_page_free()
280 static inline void cl_page_state_set_trust(struct cl_page *page, in cl_page_state_set_trust()
291 struct cl_page *page; in cl_page_alloc() local
[all …]
Dcl_io.c689 cl_io_slice_page(const struct cl_io_slice *ios, struct cl_page *page) in cl_io_slice_page()
701 static int cl_page_in_io(const struct cl_page *page, const struct cl_io *io) in cl_page_in_io()
739 struct cl_page *page) in cl_io_read_page()
792 struct cl_page *page, unsigned from, unsigned to) in cl_io_prepare_write()
825 struct cl_page *page, unsigned from, unsigned to) in cl_io_commit_write()
942 struct cl_page *page; in cl_io_cancel() local
1058 void cl_page_list_add(struct cl_page_list *plist, struct cl_page *page) in cl_page_list_add()
1080 struct cl_page_list *plist, struct cl_page *page) in cl_page_list_del()
1099 struct cl_page *page) in cl_page_list_move()
1118 struct cl_page *page; in cl_page_list_splice() local
[all …]
/linux-4.1.27/fs/ceph/
Dcache.h63 struct page *page) in ceph_fscache_uncache_page()
69 static inline int ceph_release_fscache_page(struct page *page, gfp_t gfp) in ceph_release_fscache_page()
77 struct page *page) in ceph_fscache_readpage_cancel()
126 struct page *page) in ceph_readpage_from_fscache()
140 struct page *page) in ceph_readpage_to_fscache()
153 struct page *page) in ceph_invalidate_fscache_page()
161 static inline int ceph_release_fscache_page(struct page *page, gfp_t gfp) in ceph_release_fscache_page()
167 struct page *page) in ceph_fscache_readpage_cancel()
Daddr.c58 static inline struct ceph_snap_context *page_snap_context(struct page *page) in page_snap_context()
69 static int ceph_set_page_dirty(struct page *page) in ceph_set_page_dirty()
132 static void ceph_invalidatepage(struct page *page, unsigned int offset, in ceph_invalidatepage()
172 static int ceph_releasepage(struct page *page, gfp_t g) in ceph_releasepage()
188 static int readpage_nounlock(struct file *filp, struct page *page) in readpage_nounlock()
246 static int ceph_readpage(struct file *filp, struct page *page) in ceph_readpage()
273 struct page *page = osd_data->pages[i]; in finish_read() local
312 struct page *page = list_entry(page_list->prev, struct page, lru); in start_read() local
471 static int writepage_nounlock(struct page *page, struct writeback_control *wbc) in writepage_nounlock()
562 static int ceph_writepage(struct page *page, struct writeback_control *wbc) in ceph_writepage()
[all …]
/linux-4.1.27/fs/cifs/
Dfscache.h61 static inline void cifs_fscache_invalidate_page(struct page *page, in cifs_fscache_invalidate_page()
69 struct page *page) in cifs_readpage_from_fscache()
89 struct page *page) in cifs_readpage_to_fscache()
118 static inline int cifs_fscache_release_page(struct page *page, gfp_t gfp) in cifs_fscache_release_page()
123 static inline void cifs_fscache_invalidate_page(struct page *page, in cifs_fscache_invalidate_page()
126 cifs_readpage_from_fscache(struct inode *inode, struct page *page) in cifs_readpage_from_fscache()
140 struct page *page) {} in cifs_readpage_to_fscache()
Dfscache.c128 int cifs_fscache_release_page(struct page *page, gfp_t gfp) in cifs_fscache_release_page()
143 static void cifs_readpage_from_fscache_complete(struct page *page, void *ctx, in cifs_readpage_from_fscache_complete()
155 int __cifs_readpage_from_fscache(struct inode *inode, struct page *page) in __cifs_readpage_from_fscache()
215 void __cifs_readpage_to_fscache(struct inode *inode, struct page *page) in __cifs_readpage_to_fscache()
233 void __cifs_fscache_invalidate_page(struct page *page, struct inode *inode) in __cifs_fscache_invalidate_page()
/linux-4.1.27/arch/arm/mm/
Dflush.c116 void __flush_ptrace_access(struct page *page, unsigned long uaddr, void *kaddr, in __flush_ptrace_access()
147 void flush_ptrace_access(struct vm_area_struct *vma, struct page *page, in flush_ptrace_access()
158 void flush_uprobe_xol_access(struct page *page, unsigned long uaddr, in flush_uprobe_xol_access()
173 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page()
187 void __flush_dcache_page(struct address_space *mapping, struct page *page) in __flush_dcache_page()
226 static void __flush_dcache_aliases(struct address_space *mapping, struct page *page) in __flush_dcache_aliases()
261 struct page *page; in __sync_icache_dcache() local
304 void flush_dcache_page(struct page *page) in flush_dcache_page()
340 void flush_kernel_dcache_page(struct page *page) in flush_kernel_dcache_page()
373 void __flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vmaddr) in __flush_anon_page()
Dhighmem.c37 void *kmap(struct page *page) in kmap()
46 void kunmap(struct page *page) in kunmap()
55 void *kmap_atomic(struct page *page) in kmap_atomic()
131 struct page *page = pfn_to_page(pfn); in kmap_atomic_pfn() local
Ddma-mapping.c75 static dma_addr_t arm_dma_map_page(struct device *dev, struct page *page, in arm_dma_map_page()
84 static dma_addr_t arm_coherent_dma_map_page(struct device *dev, struct page *page, in arm_coherent_dma_map_page()
118 struct page *page = pfn_to_page(dma_to_pfn(dev, handle-offset)); in arm_dma_sync_single_for_cpu() local
126 struct page *page = pfn_to_page(dma_to_pfn(dev, handle-offset)); in arm_dma_sync_single_for_device() local
224 static void __dma_clear_buffer(struct page *page, size_t size) in __dma_clear_buffer()
257 struct page *page, *p, *e; in __dma_alloc_buffer() local
278 static void __dma_free_buffer(struct page *page, size_t size) in __dma_free_buffer()
299 __dma_alloc_remap(struct page *page, size_t size, gfp_t gfp, pgprot_t prot, in __dma_alloc_remap()
351 struct page *page; in atomic_pool_init() local
452 struct page *page = virt_to_page(addr); in __dma_update_pte() local
[all …]
/linux-4.1.27/fs/exofs/
Ddir.c41 static inline void exofs_put_page(struct page *page) in exofs_put_page()
63 static int exofs_commit_chunk(struct page *page, loff_t pos, unsigned len) in exofs_commit_chunk()
88 static void exofs_check_page(struct page *page) in exofs_check_page()
166 struct page *page = read_mapping_page(mapping, n, NULL); in exofs_get_page() local
258 struct page *page = exofs_get_page(inode, n); in exofs_readdir() local
317 struct page *page = NULL; in exofs_find_entry() local
365 struct page *page = exofs_get_page(dir, 0); in exofs_dotdot() local
378 struct page *page; in exofs_parent_ino() local
395 struct page *page; in exofs_inode_by_name() local
406 struct page *page, struct inode *inode) in exofs_set_link()
[all …]
Dinode.c137 static int pcol_add_page(struct page_collect *pcol, struct page *page, in pcol_add_page()
149 static int update_read_page(struct page *page, int ret) in update_read_page()
180 static void update_write_page(struct page *page, int ret) in update_write_page()
215 struct page *page = pcol->pages[i]; in __readpages_done() local
257 struct page *page = pcol->pages[i]; in _unlock_pcol_pages() local
380 static int readpage_strip(void *data, struct page *page) in readpage_strip()
494 static int _readpage(struct page *page, bool read_4_write) in _readpage()
514 static int exofs_readpage(struct file *file, struct page *page) in exofs_readpage()
543 struct page *page = pcol->pages[i]; in writepages_done() local
575 struct page *page; in __r4w_get_page() local
[all …]
/linux-4.1.27/fs/ext2/
Ddir.c67 static inline void ext2_put_page(struct page *page) in ext2_put_page()
93 static int ext2_commit_chunk(struct page *page, loff_t pos, unsigned len) in ext2_commit_chunk()
118 static void ext2_check_page(struct page *page, int quiet) in ext2_check_page()
206 struct page *page = read_mapping_page(mapping, n, NULL); in ext2_get_page() local
311 struct page *page = ext2_get_page(inode, n, 0); in ext2_readdir() local
374 struct page *page = NULL; in ext2_find_entry() local
433 struct page *page = ext2_get_page(dir, 0, 0); in ext2_dotdot() local
447 struct page *page; in ext2_inode_by_name() local
457 static int ext2_prepare_chunk(struct page *page, loff_t pos, unsigned len) in ext2_prepare_chunk()
464 struct page *page, struct inode *inode, int update_times) in ext2_set_link()
[all …]
/linux-4.1.27/arch/tile/kernel/
Dsysfs.c25 static ssize_t get_hv_confstr(char *page, int query) in get_hv_confstr()
37 char *page) in chip_width_show()
45 char *page) in chip_height_show()
53 char *page) in chip_serial_show()
61 char *page) in chip_revision_show()
70 char *page) in type_show()
162 char *page) in hv_stats_show()
177 const char *page, in hv_stats_store()
/linux-4.1.27/arch/tile/mm/
Dhighmem.c25 void *kmap(struct page *page) in kmap()
49 void kunmap(struct page *page) in kunmap()
65 struct page *page; member
96 static void kmap_atomic_register(struct page *page, int type, in kmap_atomic_register()
129 static void kmap_atomic_unregister(struct page *page, unsigned long va) in kmap_atomic_unregister()
174 void kmap_atomic_fix_kpte(struct page *page, int finished) in kmap_atomic_fix_kpte()
198 void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
226 void *kmap_atomic(struct page *page) in kmap_atomic()
Dhomecache.c174 void homecache_finv_map_page(struct page *page, int home) in homecache_finv_map_page()
202 static void homecache_finv_page_home(struct page *page, int home) in homecache_finv_page_home()
215 static void homecache_finv_page_internal(struct page *page, int force_map) in homecache_finv_page_internal()
233 void homecache_finv_page(struct page *page) in homecache_finv_page()
351 int page_home(struct page *page) in page_home()
362 void homecache_change_page_home(struct page *page, int order, int home) in homecache_change_page_home()
387 struct page *page; in homecache_alloc_pages() local
399 struct page *page; in homecache_alloc_pages_node() local
407 void __homecache_free_pages(struct page *page, unsigned int order) in __homecache_free_pages()
/linux-4.1.27/arch/s390/mm/
Dpage-states.c54 static inline void set_page_unstable(struct page *page, int order) in set_page_unstable()
65 void arch_free_page(struct page *page, int order) in arch_free_page()
72 static inline void set_page_stable(struct page *page, int order) in set_page_stable()
83 void arch_alloc_page(struct page *page, int order) in arch_alloc_page()
94 struct page *page; in arch_set_page_states() local
Dpgtable.c36 struct page *page = alloc_pages(GFP_KERNEL, ALLOC_ORDER); in crst_table_alloc() local
150 struct page *page; in gmap_alloc() local
240 struct page *page, *next; in gmap_free() local
286 struct page *page; in gmap_alloc_table() local
317 struct page *page; in __gmap_segment_gaddr() local
611 struct page *page = migration_entry_to_page(entry); in gmap_zap_swap_entry() local
798 static inline int page_table_with_pgste(struct page *page) in page_table_with_pgste()
805 struct page *page; in page_table_alloc_pgste() local
824 struct page *page; in page_table_free_pgste() local
960 static inline int page_table_with_pgste(struct page *page) in page_table_with_pgste()
[all …]
/linux-4.1.27/arch/avr32/mm/
Ddma-coherent.c43 struct page *page, *free, *end; in __dma_alloc() local
88 struct page *page, dma_addr_t handle) in __dma_free()
99 struct page *page; in dma_alloc_coherent() local
114 struct page *page; in dma_free_coherent() local
127 struct page *page; in dma_alloc_writecombine() local
145 struct page *page; in dma_free_writecombine() local
/linux-4.1.27/fs/ufs/
Ddir.c43 static int ufs_commit_chunk(struct page *page, loff_t pos, unsigned len) in ufs_commit_chunk()
62 static inline void ufs_put_page(struct page *page) in ufs_put_page()
77 struct page *page; in ufs_inode_by_name() local
90 struct page *page, struct inode *inode) in ufs_set_link()
111 static void ufs_check_page(struct page *page) in ufs_check_page()
193 struct page *page = read_mapping_page(mapping, n, NULL); in ufs_get_page() local
232 struct page *page = ufs_get_page(dir, 0); in ufs_dotdot() local
260 struct page *page = NULL; in ufs_find_entry() local
321 struct page *page = NULL; in ufs_add_link() local
454 struct page *page = ufs_get_page(inode, n); in ufs_readdir() local
[all …]
/linux-4.1.27/fs/minix/
Ddir.c28 static inline void dir_put_page(struct page *page) in dir_put_page()
53 static int dir_commit_chunk(struct page *page, loff_t pos, unsigned len) in dir_commit_chunk()
74 struct page *page = read_mapping_page(mapping, n, NULL); in dir_get_page() local
105 struct page *page = dir_get_page(inode, n); in minix_readdir() local
164 struct page *page = NULL; in minix_find_entry() local
211 struct page *page = NULL; in minix_add_link() local
293 int minix_delete_entry(struct minix_dir_entry *de, struct page *page) in minix_delete_entry()
321 struct page *page = grab_cache_page(inode->i_mapping, 0); in minix_make_empty() local
367 struct page *page = NULL; in minix_empty_dir() local
416 void minix_set_link(struct minix_dir_entry *de, struct page *page, in minix_set_link()
[all …]
/linux-4.1.27/fs/afs/
Dfile.c108 static void afs_file_readpage_read_complete(struct page *page, in afs_file_readpage_read_complete()
125 int afs_page_filler(void *data, struct page *page) in afs_page_filler()
215 static int afs_readpage(struct file *file, struct page *page) in afs_readpage()
300 static int afs_launder_page(struct page *page) in afs_launder_page()
312 static void afs_invalidatepage(struct page *page, unsigned int offset, in afs_invalidatepage()
349 static int afs_releasepage(struct page *page, gfp_t gfp_flags) in afs_releasepage()
Dwrite.c25 int afs_set_page_dirty(struct page *page) in afs_set_page_dirty()
87 loff_t pos, struct page *page) in afs_fill_page()
124 struct page *page; in afs_write_begin() local
246 struct page *page, void *fsdata) in afs_write_end()
318 struct page *pages[8], *page; in afs_write_back_from_locked_page() local
437 int afs_writepage(struct page *page, struct writeback_control *wbc) in afs_writepage()
468 struct page *page; in afs_writepages_region() local
598 struct page *page = pv.pages[loop]; in afs_pages_written_back() local
746 int afs_page_mkwrite(struct vm_area_struct *vma, struct page *page) in afs_page_mkwrite()
/linux-4.1.27/drivers/staging/rtl8188eu/core/
Drtw_debug.c25 int proc_get_drv_version(char *page, char **start, in proc_get_drv_version()
37 int proc_get_write_reg(char *page, char **start, in proc_get_write_reg()
86 int proc_get_read_reg(char *page, char **start, in proc_get_read_reg()
146 int proc_get_fwstate(char *page, char **start, in proc_get_fwstate()
162 int proc_get_sec_info(char *page, char **start, in proc_get_sec_info()
180 int proc_get_mlmext_state(char *page, char **start, in proc_get_mlmext_state()
197 int proc_get_qos_option(char *page, char **start, in proc_get_qos_option()
213 int proc_get_ht_option(char *page, char **start, in proc_get_ht_option()
227 int proc_get_rf_info(char *page, char **start, in proc_get_rf_info()
242 int proc_get_ap_info(char *page, char **start, in proc_get_ap_info()
[all …]
/linux-4.1.27/arch/frv/include/asm/
Dcacheflush.h54 static inline void flush_dcache_page(struct page *page) in flush_dcache_page()
61 static inline void flush_page_to_ram(struct page *page) in flush_page_to_ram()
80 static inline void flush_icache_user_range(struct vm_area_struct *vma, struct page *page, in flush_icache_user_range()
87 static inline void flush_icache_page(struct vm_area_struct *vma, struct page *page) in flush_icache_page()
96 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
102 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dvirtconvert.h37 #define __page_address(page) (PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT)) argument
38 #define page_to_phys(page) virt_to_phys((void *)__page_address(page)) argument
/linux-4.1.27/arch/xtensa/mm/
Dcache.c63 static inline void kmap_invalidate_coherent(struct page *page, in kmap_invalidate_coherent()
83 static inline void *coherent_kvaddr(struct page *page, unsigned long base, in coherent_kvaddr()
95 void clear_user_highpage(struct page *page, unsigned long vaddr) in clear_user_highpage()
133 void flush_dcache_page(struct page *page) in flush_dcache_page()
217 struct page *page; in update_mmu_cache() local
261 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page()
297 extern void copy_from_user_page(struct vm_area_struct *vma, struct page *page, in copy_from_user_page()
/linux-4.1.27/arch/nios2/mm/
Dcacheflush.c89 static void flush_aliases(struct address_space *mapping, struct page *page) in flush_aliases()
156 void flush_icache_page(struct vm_area_struct *vma, struct page *page) in flush_icache_page()
176 void __flush_dcache_page(struct address_space *mapping, struct page *page) in __flush_dcache_page()
188 void flush_dcache_page(struct page *page) in flush_dcache_page()
220 struct page *page; in update_mmu_cache() local
256 void clear_user_page(void *addr, unsigned long vaddr, struct page *page) in clear_user_page()
265 void copy_from_user_page(struct vm_area_struct *vma, struct page *page, in copy_from_user_page()
276 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page()
/linux-4.1.27/Documentation/filesystems/configfs/
Dconfigfs_example_explicit.c68 char *page) in childless_showme_read()
79 char *page) in childless_storeme_read()
85 const char *page, in childless_storeme_write()
104 char *page) in childless_description_read()
138 char *page) in childless_attr_show()
152 const char *page, size_t count) in childless_attr_store()
221 char *page) in simple_child_attr_show()
233 const char *page, size_t count) in simple_child_attr_store()
307 char *page) in simple_children_attr_show()
391 char *page) in group_children_attr_show()
Dconfigfs_example_macros.c67 char *page) in childless_showme_read()
78 char *page) in childless_storeme_read()
84 const char *page, in childless_storeme_write()
103 char *page) in childless_description_read()
184 char *page) in simple_child_attr_show()
196 const char *page, size_t count) in simple_child_attr_store()
270 char *page) in simple_children_attr_show()
354 char *page) in group_children_attr_show()
/linux-4.1.27/arch/m68k/include/asm/
Dpage_no.h10 #define free_user_page(page, addr) free_page(addr) argument
12 #define clear_page(page) memset((page), 0, PAGE_SIZE) argument
15 #define clear_user_page(page, vaddr, pg) clear_page(page) argument
29 #define page_to_virt(page) __va(((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)) argument
32 #define page_to_pfn(page) virt_to_pfn(page_to_virt(page)) argument
Dpage_mm.h10 #define free_user_page(page, addr) free_page(addr) argument
31 static inline void clear_page(void *page) in clear_page()
54 #define clear_page(page) memset((page), 0, PAGE_SIZE) argument
58 #define clear_user_page(addr, vaddr, page) \ argument
62 #define copy_user_page(to, from, vaddr, page) \ argument
154 #define page_to_virt(page) ({ \ argument
Dmcf_pgalloc.h17 unsigned long page = __get_free_page(GFP_DMA|__GFP_REPEAT); in pte_alloc_one_kernel() local
36 #define pmd_populate(mm, pmd, page) (pmd_val(*pmd) = \ argument
43 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t page, in __pte_free_tlb()
54 struct page *page = alloc_pages(GFP_DMA|__GFP_REPEAT, 0); in pte_alloc_one() local
76 extern inline void pte_free(struct mm_struct *mm, struct page *page) in pte_free()
Dsun3_pgalloc.h25 static inline void pte_free(struct mm_struct *mm, pgtable_t page) in pte_free()
40 unsigned long page = __get_free_page(GFP_KERNEL|__GFP_REPEAT); in pte_alloc_one_kernel() local
52 struct page *page = alloc_pages(GFP_KERNEL|__GFP_REPEAT, 0); in pte_alloc_one() local
71 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t page) in pmd_populate()
Dmotorola_pgalloc.h32 struct page *page; in pte_alloc_one() local
51 static inline void pte_free(struct mm_struct *mm, pgtable_t page) in pte_free()
59 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t page, in __pte_free_tlb()
102 static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t page) in pmd_populate()
Dvirtconvert.h30 #define page_to_phys(page) \ argument
33 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) argument
Dm68360_regs.h362 #define QMC_BASE(quicc,page) (struct global_multi_pram *)(&quicc->pram[page]) argument
363 #define MCBASE(quicc,page) (unsigned long)(quicc->pram[page].m.mcbase) argument
366 #define TBD_32_ADDR(quicc,page,channel) ((struct quicc_bd *) \ argument
368 #define RBD_32_ADDR(quicc,page,channel) ((struct quicc_bd *) \ argument
370 #define TBD_32_CUR_ADDR(quicc,page,channel) ((struct quicc_bd *) \ argument
372 #define RBD_32_CUR_ADDR(quicc,page,channel) ((struct quicc_bd *) \ argument
374 #define TBD_32_SET_CUR_ADDR(bd,quicc,page,channel) \ argument
377 #define RBD_32_SET_CUR_ADDR(bd,quicc,page,channel) \ argument
381 #define INCREASE_TBD_32(bd,quicc,page,channel) { \ argument
387 #define DECREASE_TBD_32(bd,quicc,page,channel) { \ argument
[all …]
/linux-4.1.27/arch/arm64/mm/
Dflush.c37 static void flush_ptrace_access(struct vm_area_struct *vma, struct page *page, in flush_ptrace_access()
59 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page()
75 struct page *page = pte_page(pte); in __sync_icache_dcache() local
95 void flush_dcache_page(struct page *page) in flush_dcache_page()
/linux-4.1.27/fs/nfs/
Dfscache.h97 struct page *page) in nfs_fscache_wait_on_page_write()
107 static inline void nfs_fscache_invalidate_page(struct page *page, in nfs_fscache_invalidate_page()
119 struct page *page) in nfs_readpage_from_fscache()
146 struct page *page, in nfs_readpage_to_fscache()
193 static inline int nfs_fscache_release_page(struct page *page, gfp_t gfp) in nfs_fscache_release_page()
197 static inline void nfs_fscache_invalidate_page(struct page *page, in nfs_fscache_invalidate_page()
200 struct page *page) {} in nfs_fscache_wait_on_page_write()
204 struct page *page) in nfs_readpage_from_fscache()
217 struct page *page, int sync) {} in nfs_readpage_to_fscache()
Dwrite.c108 nfs_page_find_head_request_locked(struct nfs_inode *nfsi, struct page *page) in nfs_page_find_head_request_locked()
131 static struct nfs_page *nfs_page_find_head_request(struct page *page) in nfs_page_find_head_request()
143 static void nfs_grow_file(struct page *page, unsigned int offset, unsigned int count) in nfs_grow_file()
164 static void nfs_set_pageerror(struct page *page) in nfs_set_pageerror()
265 static void nfs_set_page_writeback(struct page *page) in nfs_set_page_writeback()
428 nfs_lock_and_join_requests(struct page *page, bool nonblock) in nfs_lock_and_join_requests()
553 struct page *page, bool nonblock) in nfs_page_async_flush()
577 static int nfs_do_writepage(struct page *page, struct writeback_control *wbc, struct nfs_pageio_des… in nfs_do_writepage()
597 static int nfs_writepage_locked(struct page *page, struct writeback_control *wbc) in nfs_writepage_locked()
613 int nfs_writepage(struct page *page, struct writeback_control *wbc) in nfs_writepage()
[all …]
Dfscache.c260 int nfs_fscache_release_page(struct page *page, gfp_t gfp) in nfs_fscache_release_page()
283 void __nfs_fscache_invalidate_page(struct page *page, struct inode *inode) in __nfs_fscache_invalidate_page()
304 static void nfs_readpage_from_fscache_complete(struct page *page, in nfs_readpage_from_fscache_complete()
328 struct inode *inode, struct page *page) in __nfs_readpage_from_fscache()
417 void __nfs_readpage_to_fscache(struct inode *inode, struct page *page, int sync) in __nfs_readpage_to_fscache()
Dnfs4namespace.c102 char *page, char *page2) in nfs4_validate_fspath()
213 struct page *page; in nfs4_negotiate_security() local
238 char *page, char *page2, in try_location()
305 char *page = NULL, *page2 = NULL; in nfs_follow_referral() local
357 struct page *page; in nfs_do_refmount() local
429 char *page, char *page2, in nfs4_try_replacing_one_location()
490 char *page = NULL, *page2 = NULL; in nfs4_replace_transport() local
Dsymlink.c29 static int nfs_symlink_filler(struct inode *inode, struct page *page) in nfs_symlink_filler()
49 struct page *page; in nfs_follow_link() local
Dread.c47 int nfs_return_empty_page(struct page *page) in nfs_return_empty_page()
89 struct page *page) in nfs_readpage_async()
152 struct page *page = req->wb_page; in nfs_read_completion() local
281 int nfs_readpage(struct file *file, struct page *page) in nfs_readpage()
339 readpage_async_filler(void *data, struct page *page) in readpage_async_filler()
/linux-4.1.27/arch/frv/mm/
Dhighmem.c14 void *kmap(struct page *page) in kmap()
24 void kunmap(struct page *page) in kunmap()
40 void *kmap_atomic(struct page *page) in kmap_atomic()
Dcache-page.c22 void flush_dcache_page(struct page *page) in flush_dcache_page()
49 void flush_icache_user_range(struct vm_area_struct *vma, struct page *page, in flush_icache_user_range()
Dpgalloc.c33 struct page *page; in pte_alloc_one() local
91 struct page *page = virt_to_page(pgd); in pgd_list_add() local
101 struct page *next, **pprev, *page = virt_to_page(pgd); in pgd_list_del() local
/linux-4.1.27/fs/ecryptfs/
Dmmap.c49 struct page *page = read_mapping_page(inode->i_mapping, index, NULL); in ecryptfs_get_locked_page() local
65 static int ecryptfs_writepage(struct page *page, struct writeback_control *wbc) in ecryptfs_writepage()
122 ecryptfs_copy_up_encrypted_with_header(struct page *page, in ecryptfs_copy_up_encrypted_with_header()
194 static int ecryptfs_readpage(struct file *file, struct page *page) in ecryptfs_readpage()
249 static int fill_zeros_to_end_of_page(struct page *page, unsigned int to) in fill_zeros_to_end_of_page()
284 struct page *page; in ecryptfs_write_begin() local
481 struct page *page, void *fsdata) in ecryptfs_write_end()
/linux-4.1.27/arch/unicore32/mm/
Dflush.c35 static void flush_ptrace_access(struct vm_area_struct *vma, struct page *page, in flush_ptrace_access()
53 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page()
61 void __flush_dcache_page(struct address_space *mapping, struct page *page) in __flush_dcache_page()
75 void flush_dcache_page(struct page *page) in flush_dcache_page()
/linux-4.1.27/arch/x86/mm/
Dhighmem_32.c6 void *kmap(struct page *page) in kmap()
15 void kunmap(struct page *page) in kunmap()
33 void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
55 void *kmap_atomic(struct page *page) in kmap_atomic()
/linux-4.1.27/fs/ubifs/
Dfile.c104 static int do_readpage(struct page *page) in do_readpage()
230 struct page *page; in write_begin_slow() local
329 static int allocate_budget(struct ubifs_info *c, struct page *page, in allocate_budget()
435 struct page *page; in ubifs_write_begin() local
524 static void cancel_budget(struct ubifs_info *c, struct page *page, in cancel_budget()
542 struct page *page, void *fsdata) in ubifs_write_end()
610 static int populate_page(struct ubifs_info *c, struct page *page, in populate_page()
781 struct page *page; in ubifs_do_bulk_read() local
822 static int ubifs_bulk_read(struct page *page) in ubifs_bulk_read()
888 static int ubifs_readpage(struct file *file, struct page *page) in ubifs_readpage()
[all …]
/linux-4.1.27/fs/
Dbuffer.c83 void buffer_check_dirty_writeback(struct page *page, in buffer_check_dirty_writeback()
124 __clear_page_buffers(struct page *page) in __clear_page_buffers()
206 struct page *page; in __find_get_block_slow() local
284 struct page *page; in end_buffer_async_read() local
345 struct page *page; in end_buffer_async_write() local
627 static void __set_page_dirty(struct page *page, in __set_page_dirty()
668 int __set_page_dirty_buffers(struct page *page) in __set_page_dirty_buffers()
855 struct buffer_head *alloc_page_buffers(struct page *page, unsigned long size, in alloc_page_buffers()
912 link_dev_buffers(struct page *page, struct buffer_head *head) in link_dev_buffers()
941 init_page_buffers(struct page *page, struct block_device *bdev, in init_page_buffers()
[all …]
Dmpage.c51 struct page *page = bv->bv_page; in mpage_end_io() local
98 map_buffer_to_page(struct page *page, struct buffer_head *bh, int page_block) in map_buffer_to_page()
140 do_mpage_readpage(struct bio *bio, struct page *page, unsigned nr_pages, in do_mpage_readpage()
368 struct page *page = list_entry(pages->prev, struct page, lru); in mpage_readpages() local
392 int mpage_readpage(struct page *page, get_block_t get_block) in mpage_readpage()
437 static void clean_buffers(struct page *page, unsigned first_unmapped) in clean_buffers()
462 static int __mpage_writepage(struct page *page, struct writeback_control *wbc, in __mpage_writepage()
703 int mpage_writepage(struct page *page, get_block_t get_block, in mpage_writepage()
/linux-4.1.27/fs/gfs2/
Daops.c41 static void gfs2_page_add_databufs(struct gfs2_inode *ip, struct page *page, in gfs2_page_add_databufs()
97 static int gfs2_writepage_common(struct page *page, in gfs2_writepage_common()
132 static int gfs2_writepage(struct page *page, struct writeback_control *wbc) in gfs2_writepage()
154 static int __gfs2_jdata_writepage(struct page *page, struct writeback_control *wbc) in __gfs2_jdata_writepage()
179 static int gfs2_jdata_writepage(struct page *page, struct writeback_control *wbc) in gfs2_jdata_writepage()
248 struct page *page = pvec->pages[i]; in gfs2_write_jdata_pagevec() local
448 static int stuffed_readpage(struct gfs2_inode *ip, struct page *page) in stuffed_readpage()
495 static int __gfs2_readpage(void *file, struct page *page) in __gfs2_readpage()
524 static int gfs2_readpage(struct file *file, struct page *page) in gfs2_readpage()
567 struct page *page; in gfs2_internal_read() local
[all …]
/linux-4.1.27/arch/powerpc/platforms/pseries/
Dpseries_energy.c115 static ssize_t get_best_energy_list(char *page, int activate) in get_best_energy_list()
155 char *page, int activate) in get_best_energy_data()
178 struct device_attribute *attr, char *page) in cpu_activate_hint_list_show()
184 struct device_attribute *attr, char *page) in cpu_deactivate_hint_list_show()
190 struct device_attribute *attr, char *page) in percpu_activate_hint_show()
196 struct device_attribute *attr, char *page) in percpu_deactivate_hint_show()
/linux-4.1.27/arch/ia64/include/asm/
Dcacheflush.h24 #define flush_icache_page(vma,page) do { } while (0) argument
29 #define flush_dcache_page(page) \ argument
41 #define flush_icache_user_range(vma, page, user_addr, len) \ argument
47 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
51 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dagp.h16 #define map_page_into_agp(page) /* nothing */ argument
17 #define unmap_page_from_agp(page) /* nothing */ argument
Dhugetlb.h72 static inline int arch_prepare_hugepage(struct page *page) in arch_prepare_hugepage()
77 static inline void arch_release_hugepage(struct page *page) in arch_release_hugepage()
81 static inline void arch_clear_hugepage_flags(struct page *page) in arch_clear_hugepage_flags()
/linux-4.1.27/arch/mips/mm/
Dinit.c64 struct page *page; in setup_zero_pages() local
83 static void *__kmap_pgprot(struct page *page, unsigned long addr, pgprot_t prot) in __kmap_pgprot()
126 void *kmap_coherent(struct page *page, unsigned long addr) in kmap_coherent()
131 void *kmap_noncoherent(struct page *page, unsigned long addr) in kmap_noncoherent()
182 struct page *page, unsigned long vaddr, void *dst, const void *src, in copy_to_user_page()
200 struct page *page, unsigned long vaddr, void *dst, const void *src, in copy_from_user_page()
324 struct page *page = pfn_to_page(tmp); in mem_init_free_highmem() local
399 struct page *page = pfn_to_page(pfn); in free_init_pages() local
Dhighmem.c13 void *kmap(struct page *page) in kmap()
27 void kunmap(struct page *page) in kunmap()
45 void *kmap_atomic(struct page *page) in kmap_atomic()
/linux-4.1.27/drivers/video/fbdev/core/
Dfb_defio.c29 struct page *page; in fb_deferred_io_page() local
44 struct page *page; in fb_deferred_io_fault() local
97 struct page *page = vmf->page; in fb_deferred_io_mkwrite() local
156 static int fb_deferred_io_set_page_dirty(struct page *page) in fb_deferred_io_set_page_dirty()
229 struct page *page; in fb_deferred_io_cleanup() local
/linux-4.1.27/drivers/net/ethernet/sfc/
Dio.h229 #define EFX_PAGED_REG(page, reg) \ argument
234 unsigned int reg, unsigned int page) in _efx_writeo_page()
252 #define efx_writeo_page(efx, value, reg, page) \ argument
263 unsigned int reg, unsigned int page) in _efx_writed_page()
267 #define efx_writed_page(efx, value, reg, page) \ argument
285 unsigned int page) in _efx_writed_page_locked()
297 #define efx_writed_page_locked(efx, value, reg, page) \ argument
/linux-4.1.27/arch/sh/mm/
Dcache.c58 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page()
77 void copy_from_user_page(struct vm_area_struct *vma, struct page *page, in copy_from_user_page()
121 void clear_user_highpage(struct page *page, unsigned long vaddr) in clear_user_highpage()
137 struct page *page; in __update_cache() local
151 void __flush_anon_page(struct page *page, unsigned long vmaddr) in __flush_anon_page()
216 void flush_dcache_page(struct page *page) in flush_dcache_page()
234 void flush_icache_page(struct vm_area_struct *vma, struct page *page) in flush_icache_page()
/linux-4.1.27/arch/x86/lib/
Dmmx_32.c125 static void fast_clear_page(void *page) in fast_clear_page()
245 static void fast_clear_page(void *page) in fast_clear_page()
336 static void slow_zero_page(void *page) in slow_zero_page()
349 void mmx_clear_page(void *page) in mmx_clear_page()
/linux-4.1.27/arch/sparc/mm/
Dleon_mm.c193 void leon_flush_pcache_all(struct vm_area_struct *vma, unsigned long page) in leon_flush_pcache_all()
281 static void leon_flush_cache_page(struct vm_area_struct *vma, unsigned long page) in leon_flush_cache_page()
299 unsigned long page) in leon_flush_tlb_page()
311 static void leon_flush_page_to_ram(unsigned long page) in leon_flush_page_to_ram()
316 static void leon_flush_sig_insns(struct mm_struct *mm, unsigned long page) in leon_flush_sig_insns()
321 static void leon_flush_page_for_dma(unsigned long page) in leon_flush_page_for_dma()
/linux-4.1.27/arch/sparc/include/asm/
Dcacheflush_64.h25 #define flush_cache_page(vma, page, pfn) \ argument
42 #define smp_flush_dcache_page_impl(page,cpu) flush_dcache_page_impl(page) argument
43 #define flush_dcache_page_all(mm,page) flush_dcache_page_impl(page) argument
57 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
64 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dagp.h6 #define map_page_into_agp(page) argument
7 #define unmap_page_from_agp(page) argument
Dhighmem.h55 static inline void *kmap(struct page *page) in kmap()
63 static inline void kunmap(struct page *page) in kunmap()
Dhugetlb.h85 static inline int arch_prepare_hugepage(struct page *page) in arch_prepare_hugepage()
90 static inline void arch_release_hugepage(struct page *page) in arch_release_hugepage()
94 static inline void arch_clear_hugepage_flags(struct page *page) in arch_clear_hugepage_flags()
/linux-4.1.27/arch/alpha/include/asm/
Dcacheflush.h13 #define flush_dcache_page(page) do { } while (0) argument
50 flush_icache_user_range(struct vm_area_struct *vma, struct page *page, in flush_icache_user_range()
67 #define flush_icache_page(vma, page) \ argument
70 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
74 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dagp.h8 #define map_page_into_agp(page) argument
9 #define unmap_page_from_agp(page) argument
/linux-4.1.27/fs/f2fs/
Dinline.c33 void read_inline_data(struct page *page, struct page *ipage) in read_inline_data()
68 int f2fs_read_inline_data(struct inode *inode, struct page *page) in f2fs_read_inline_data()
94 int f2fs_convert_inline_page(struct dnode_of_data *dn, struct page *page) in f2fs_convert_inline_page()
157 struct page *ipage, *page; in f2fs_convert_inline_inode() local
185 int f2fs_write_inline_data(struct inode *inode, struct page *page) in f2fs_write_inline_data()
344 struct page *page; in f2fs_convert_inline_dir() local
403 struct page *page = NULL; in f2fs_add_inline_entry() local
458 void f2fs_delete_inline_entry(struct f2fs_dir_entry *dentry, struct page *page, in f2fs_delete_inline_entry()
Dnode.h213 static inline void fill_node_footer(struct page *page, nid_t nid, in fill_node_footer()
239 static inline void fill_node_footer_blkaddr(struct page *page, block_t blkaddr) in fill_node_footer_blkaddr()
368 static inline int is_cold_data(struct page *page) in is_cold_data()
373 static inline void set_cold_data(struct page *page) in set_cold_data()
378 static inline void clear_cold_data(struct page *page) in clear_cold_data()
383 static inline int is_node(struct page *page, int type) in is_node()
389 #define is_cold_node(page) is_node(page, COLD_BIT_SHIFT) argument
390 #define is_fsync_dnode(page) is_node(page, FSYNC_BIT_SHIFT) argument
391 #define is_dent_dnode(page) is_node(page, DENT_BIT_SHIFT) argument
393 static inline void set_cold_node(struct inode *inode, struct page *page) in set_cold_node()
[all …]
Ddir.c243 struct page *page; in f2fs_parent_dir() local
265 struct page *page; in f2fs_inode_by_name() local
278 struct page *page, struct inode *inode) in f2fs_set_link()
308 struct page *page; in update_dent_inode() local
344 struct inode *parent, struct page *page) in make_empty_dir()
372 struct page *page; in init_inode_metadata() local
509 struct page *page = NULL; in __f2fs_add_link() local
600 struct page *page; in f2fs_do_tmpfile() local
619 void f2fs_drop_nlink(struct inode *dir, struct inode *inode, struct page *page) in f2fs_drop_nlink()
652 void f2fs_delete_entry(struct f2fs_dir_entry *dentry, struct page *page, in f2fs_delete_entry()
Dnode.c79 static void clear_node_page_dirty(struct page *page) in clear_node_page_dirty()
353 struct page *page = NULL; in get_node_info() local
619 struct page *page; in truncate_dnode() local
643 struct page *page; in truncate_nodes() local
778 struct page *page; in truncate_inode_blocks() local
866 int truncate_xattr_node(struct inode *inode, struct page *page) in truncate_xattr_node()
939 struct page *page; in new_node_page() local
993 static int read_node_page(struct page *page, int rw) in read_node_page()
1045 struct page *page; in get_node_page() local
1078 struct page *page; in get_node_page_ra() local
[all …]
Drecovery.c76 struct page *page; in recover_dentry() local
143 static void recover_inode(struct inode *inode, struct page *page) in recover_inode()
164 struct page *page = NULL; in find_fsync_dnodes() local
347 struct page *page, block_t blkaddr) in do_recover_data()
446 struct page *page = NULL; in recover_data() local
Dcheckpoint.c35 struct page *page = NULL; in grab_meta_page() local
53 struct page *page; in get_meta_page() local
118 struct page *page; in ra_meta_pages() local
174 struct page *page; in ra_meta_pages_cond() local
186 static int f2fs_write_meta_page(struct page *page, in f2fs_write_meta_page()
262 struct page *page = pvec.pages[i]; in sync_meta_pages() local
297 static int f2fs_set_meta_page_dirty(struct page *page) in f2fs_set_meta_page_dirty()
480 struct page *page = get_meta_page(sbi, start_blk + i); in recover_orphan_inodes() local
503 struct page *page = NULL; in write_orphan_inodes() local
692 void update_dirty_page(struct inode *inode, struct page *page) in update_dirty_page()
Ddata.c37 struct page *page = bvec->bv_page; in f2fs_read_end_io() local
57 struct page *page = bvec->bv_page; in f2fs_write_end_io() local
136 int f2fs_submit_page_bio(struct f2fs_sb_info *sbi, struct page *page, in f2fs_submit_page_bio()
157 void f2fs_submit_page_mbio(struct f2fs_sb_info *sbi, struct page *page, in f2fs_submit_page_mbio()
912 struct page *page; in find_data_page() local
985 struct page *page; in get_lock_data_page() local
1060 struct page *page; in get_new_data_page() local
1342 static int f2fs_read_data_page(struct file *file, struct page *page) in f2fs_read_data_page()
1371 int do_write_data_page(struct page *page, struct f2fs_io_info *fio) in do_write_data_page()
1416 static int f2fs_write_data_page(struct page *page, in f2fs_write_data_page()
[all …]
/linux-4.1.27/tools/perf/
Dbuiltin-help.c104 static void exec_woman_emacs(const char *path, const char *page) in exec_woman_emacs()
121 static void exec_man_konqueror(const char *path, const char *page) in exec_man_konqueror()
152 static void exec_man_man(const char *path, const char *page) in exec_man_man()
163 static void exec_man_cmd(const char *cmd, const char *page) in exec_man_cmd()
342 static void exec_viewer(const char *name, const char *page) in exec_viewer()
361 const char *page = cmd_to_page(perf_cmd); in show_man_page() local
378 const char *page = cmd_to_page(perf_cmd); in show_info_page() local
384 static int get_html_page_path(struct strbuf *page_path, const char *page) in get_html_page_path()
416 const char *page = cmd_to_page(perf_cmd); in show_html_page() local
/linux-4.1.27/arch/mn10300/include/asm/
Dhighmem.h49 static inline unsigned long kmap(struct page *page) in kmap()
58 static inline void kunmap(struct page *page) in kunmap()
73 static inline void *kmap_atomic(struct page *page) in kmap_atomic()
/linux-4.1.27/arch/microblaze/include/asm/
Dhighmem.h58 static inline void *kmap(struct page *page) in kmap()
66 static inline void kunmap(struct page *page) in kunmap()
74 static inline void *kmap_atomic(struct page *page) in kmap_atomic()
/linux-4.1.27/drivers/md/
Dbitmap.c49 unsigned long page, int create) in bitmap_checkpage()
115 static void bitmap_checkfree(struct bitmap_counts *bitmap, unsigned long page) in bitmap_checkfree()
146 struct page *page, in read_sb_page()
207 static int write_sb_page(struct bitmap *bitmap, struct page *page, int wait) in write_sb_page()
285 static void write_page(struct bitmap *bitmap, struct page *page, int wait) in write_page()
326 __clear_page_buffers(struct page *page) in __clear_page_buffers()
332 static void free_buffers(struct page *page) in free_buffers()
359 struct page *page) in read_page()
907 struct page *page; in bitmap_file_set_bit() local
931 struct page *page; in bitmap_file_clear_bit() local
[all …]
/linux-4.1.27/arch/m68k/mm/
Dmemory.c31 #define PD_PTABLE(page) ((ptable_desc *)&(virt_to_page(page)->lru)) argument
40 unsigned long page = ptable & PAGE_MASK; in init_pointer_table() local
75 void *page; in get_pointer_table() local
104 unsigned long page = (unsigned long)ptable & PAGE_MASK; in free_pointer_table() local
/linux-4.1.27/arch/powerpc/include/asm/
Dhighmem.h66 static inline void *kmap(struct page *page) in kmap()
74 static inline void kunmap(struct page *page) in kunmap()
82 static inline void *kmap_atomic(struct page *page) in kmap_atomic()
Dagp.h7 #define map_page_into_agp(page) argument
8 #define unmap_page_from_agp(page) argument
Dcacheflush.h24 #define flush_icache_page(vma, page) do { } while (0) argument
55 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
60 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
/linux-4.1.27/drivers/block/
Dbrd.c58 struct page *page; in brd_lookup_page() local
89 struct page *page; in brd_insert_page() local
136 struct page *page; in brd_free_page() local
149 struct page *page; in brd_zero_page() local
236 struct page *page; in copy_to_brd() local
268 struct page *page; in copy_from_brd() local
299 static int brd_do_bvec(struct brd_device *brd, struct page *page, in brd_do_bvec()
364 struct page *page, int rw) in brd_rw_page()
377 struct page *page; in brd_direct_access() local
/linux-4.1.27/fs/cachefiles/
Drdwr.c31 struct page *page = wait->private; in cachefiles_read_waiter() local
391 struct page *page, in cachefiles_read_or_alloc_page()
688 struct page *page, *_n; in cachefiles_read_or_alloc_pages() local
797 struct page *page, in cachefiles_allocate_page()
841 struct page *page; in cachefiles_allocate_pages() local
879 int cachefiles_write_page(struct fscache_storage *op, struct page *page) in cachefiles_write_page()
955 void cachefiles_uncache_page(struct fscache_object *_object, struct page *page) in cachefiles_uncache_page()
/linux-4.1.27/fs/qnx6/
Ddir.c29 struct page *page = read_mapping_page(mapping, n, NULL); in qnx6_get_page() local
59 struct page *page = read_mapping_page(mapping, n, NULL); in qnx6_longname() local
74 struct page *page; in qnx6_dir_longfilename() local
132 struct page *page = qnx6_get_page(inode, n); in qnx6_readdir() local
184 struct page *page; in qnx6_long_match() local
222 struct page *page = NULL; in qnx6_find_entry() local
/linux-4.1.27/drivers/usb/gadget/
Dconfigfs.c198 const char *page, size_t len) in gadget_dev_desc_bcdDevice_store()
215 const char *page, size_t len) in gadget_dev_desc_bcdUSB_store()
231 static ssize_t gadget_dev_desc_UDC_show(struct gadget_info *gi, char *page) in gadget_dev_desc_UDC_show()
252 const char *page, size_t len) in gadget_dev_desc_UDC_store()
470 char *page) in gadget_config_desc_MaxPower_show()
476 const char *page, size_t len) in gadget_config_desc_MaxPower_store()
490 char *page) in gadget_config_desc_bmAttributes_show()
496 const char *page, size_t len) in gadget_config_desc_bmAttributes_store()
758 static ssize_t os_desc_use_show(struct os_desc *os_desc, char *page) in os_desc_use_show()
767 static ssize_t os_desc_use_store(struct os_desc *os_desc, const char *page, in os_desc_use_store()
[all …]
/linux-4.1.27/arch/avr32/include/asm/
Dcacheflush.h111 #define flush_dcache_page(page) do { } while (0) argument
112 #define flush_dcache_mmap_lock(page) do { } while (0) argument
113 #define flush_dcache_mmap_unlock(page) do { } while (0) argument
126 struct page *page, unsigned long vaddr, void *dst, in copy_from_user_page()
/linux-4.1.27/arch/c6x/include/asm/
Dcacheflush.h33 #define flush_dcache_page(page) do {} while (0) argument
46 #define flush_icache_page(vma, page) \ argument
56 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
62 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
/linux-4.1.27/drivers/hwmon/pmbus/
Dpmbus_core.c62 u8 page; /* page number */ member
129 int pmbus_set_page(struct i2c_client *client, u8 page) in pmbus_set_page()
147 int pmbus_write_byte(struct i2c_client *client, int page, u8 value) in pmbus_write_byte()
165 static int _pmbus_write_byte(struct i2c_client *client, int page, u8 value) in _pmbus_write_byte()
179 int pmbus_write_word_data(struct i2c_client *client, u8 page, u8 reg, u16 word) in pmbus_write_word_data()
195 static int _pmbus_write_word_data(struct i2c_client *client, int page, int reg, in _pmbus_write_word_data()
212 int pmbus_read_word_data(struct i2c_client *client, u8 page, u8 reg) in pmbus_read_word_data()
228 static int _pmbus_read_word_data(struct i2c_client *client, int page, int reg) in _pmbus_read_word_data()
244 int pmbus_read_byte_data(struct i2c_client *client, int page, u8 reg) in pmbus_read_byte_data()
258 int pmbus_write_byte_data(struct i2c_client *client, int page, u8 reg, u8 value) in pmbus_write_byte_data()
[all …]
Dltc2978.c105 static int ltc2978_read_word_data_common(struct i2c_client *client, int page, in ltc2978_read_word_data_common()
155 static int ltc2978_read_word_data(struct i2c_client *client, int page, int reg) in ltc2978_read_word_data()
209 static int ltc2974_read_word_data(struct i2c_client *client, int page, int reg) in ltc2974_read_word_data()
244 static int ltc3880_read_word_data(struct i2c_client *client, int page, int reg) in ltc3880_read_word_data()
285 static int ltc3883_read_word_data(struct i2c_client *client, int page, int reg) in ltc3883_read_word_data()
311 static int ltc2978_clear_peaks(struct i2c_client *client, int page, in ltc2978_clear_peaks()
324 static int ltc2978_write_word_data(struct i2c_client *client, int page, in ltc2978_write_word_data()
Dlm25066.c222 static int lm25066_read_word_data(struct i2c_client *client, int page, int reg) in lm25066_read_word_data()
296 static int lm25063_read_word_data(struct i2c_client *client, int page, int reg) in lm25063_read_word_data()
314 static int lm25056_read_word_data(struct i2c_client *client, int page, int reg) in lm25056_read_word_data()
342 static int lm25056_read_byte_data(struct i2c_client *client, int page, int reg) in lm25056_read_byte_data()
366 static int lm25066_write_word_data(struct i2c_client *client, int page, int reg, in lm25066_write_word_data()
Dmax8688.c43 static int max8688_read_word_data(struct i2c_client *client, int page, int reg) in max8688_read_word_data()
73 static int max8688_write_word_data(struct i2c_client *client, int page, int reg, in max8688_write_word_data()
99 static int max8688_read_byte_data(struct i2c_client *client, int page, int reg) in max8688_read_byte_data()
Dpmbus.c36 int page; in pmbus_find_sensor_groups() local
109 int page; in pmbus_identify() local
/linux-4.1.27/arch/openrisc/include/asm/
Dpage.h44 #define free_user_page(page, addr) free_page(addr) argument
46 #define clear_page(page) memset((page), 0, PAGE_SIZE) argument
49 #define clear_user_page(page, vaddr, pg) clear_page(page) argument
87 #define page_to_virt(page) \ argument
90 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) argument
/linux-4.1.27/drivers/usb/gadget/function/
Df_sourcesink.c923 static ssize_t f_ss_opts_pattern_show(struct f_ss_opts *opts, char *page) in f_ss_opts_pattern_show()
935 const char *page, size_t len) in f_ss_opts_pattern_store()
967 static ssize_t f_ss_opts_isoc_interval_show(struct f_ss_opts *opts, char *page) in f_ss_opts_isoc_interval_show()
979 const char *page, size_t len) in f_ss_opts_isoc_interval_store()
1011 static ssize_t f_ss_opts_isoc_maxpacket_show(struct f_ss_opts *opts, char *page) in f_ss_opts_isoc_maxpacket_show()
1023 const char *page, size_t len) in f_ss_opts_isoc_maxpacket_store()
1055 static ssize_t f_ss_opts_isoc_mult_show(struct f_ss_opts *opts, char *page) in f_ss_opts_isoc_mult_show()
1067 const char *page, size_t len) in f_ss_opts_isoc_mult_store()
1099 static ssize_t f_ss_opts_isoc_maxburst_show(struct f_ss_opts *opts, char *page) in f_ss_opts_isoc_maxburst_show()
1111 const char *page, size_t len) in f_ss_opts_isoc_maxburst_store()
[all …]
/linux-4.1.27/arch/xtensa/include/asm/
Dhighmem.h32 static inline int get_pkmap_color(struct page *page) in get_pkmap_color()
69 static inline void *kmap(struct page *page) in kmap()
77 static inline void kunmap(struct page *page) in kunmap()
/linux-4.1.27/arch/arm/include/asm/
Dhugetlb.h70 static inline int arch_prepare_hugepage(struct page *page) in arch_prepare_hugepage()
75 static inline void arch_release_hugepage(struct page *page) in arch_release_hugepage()
79 static inline void arch_clear_hugepage_flags(struct page *page) in arch_clear_hugepage_flags()
Dpage-nommu.h21 #define free_user_page(page, addr) free_page(addr) argument
23 #define clear_page(page) memset((page), 0, PAGE_SIZE) argument
26 #define clear_user_page(page, vaddr, pg) clear_page(page) argument
/linux-4.1.27/fs/ntfs/
Daops.h40 static inline void ntfs_unmap_page(struct page *page) in ntfs_unmap_page()
89 struct page *page = read_mapping_page(mapping, index, NULL); in ntfs_map_page() local
/linux-4.1.27/arch/metag/mm/
Dhighmem.c13 void *kmap(struct page *page) in kmap()
22 void kunmap(struct page *page) in kunmap()
40 void *kmap_atomic(struct page *page) in kmap_atomic()
/linux-4.1.27/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
/linux-4.1.27/fs/udf/
Dfile.c41 static void __udf_adinicb_readpage(struct page *page) in __udf_adinicb_readpage()
55 static int udf_adinicb_readpage(struct file *file, struct page *page) in udf_adinicb_readpage()
64 static int udf_adinicb_writepage(struct page *page, in udf_adinicb_writepage()
88 struct page *page; in udf_adinicb_write_begin() local
/linux-4.1.27/arch/score/include/asm/
Dcacheflush.h29 struct page *page) in flush_icache_page()
38 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
41 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
/linux-4.1.27/drivers/staging/lustre/lustre/include/linux/
Dlustre_patchless_compat.h47 #define ll_delete_from_page_cache(page) delete_from_page_cache(page) argument
50 truncate_complete_page(struct address_space *mapping, struct page *page) in truncate_complete_page()
/linux-4.1.27/arch/x86/include/asm/
Dagp.h15 #define map_page_into_agp(page) set_pages_uc(page, 1) argument
16 #define unmap_page_from_agp(page) set_pages_wb(page, 1) argument
/linux-4.1.27/arch/blackfin/include/asm/
Dcacheflush.h74 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
79 #define copy_from_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len) argument
89 # define flush_dcache_page(page) blackfin_dflush_page(page_address(page)) argument
93 # define flush_dcache_page(page) do { } while (0) argument
/linux-4.1.27/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
/linux-4.1.27/drivers/s390/char/
Dsclp_con.c50 void *page; in sclp_conbuf_callback() local
140 void *page; in sclp_console_drop_buffer() local
165 void *page; in sclp_console_write() local
318 void *page; in sclp_console_init() local
/linux-4.1.27/arch/tile/include/asm/
Dhugetlb.h101 static inline int arch_prepare_hugepage(struct page *page) in arch_prepare_hugepage()
106 static inline void arch_release_hugepage(struct page *page) in arch_release_hugepage()
110 static inline void arch_clear_hugepage_flags(struct page *page) in arch_clear_hugepage_flags()
116 struct page *page, int writable) in arch_make_huge_pte()
Dhomecache.h107 #define __homecache_free_page(page) __homecache_free_pages((page), 0) argument
108 #define homecache_free_page(page) homecache_free_pages((page), 0) argument
/linux-4.1.27/arch/microblaze/mm/
Dconsistent.c67 struct page *page, *end; in consistent_alloc() local
183 struct page *page; in consistent_free() local
260 void consistent_sync_page(struct page *page, unsigned long offset, in consistent_sync_page()
/linux-4.1.27/fs/btrfs/
Dextent_io.c1390 struct page *page; in extent_range_clear_dirty_for_io() local
1406 struct page *page; in extent_range_redirty_for_io() local
1426 struct page *page; in set_range_writeback() local
1985 static void check_page_uptodate(struct extent_io_tree *tree, struct page *page) in check_page_uptodate()
2027 struct page *page, unsigned int pg_offset, int mirror_num) in repair_io_failure()
2112 int clean_io_failure(struct inode *inode, u64 start, struct page *page, in clean_io_failure()
2355 struct page *page, int pg_offset, int icsum, in btrfs_create_repair_bio()
2398 struct page *page, u64 start, u64 end, in bio_readpage_error()
2451 int end_extent_writepage(struct page *page, int err, u64 start, u64 end) in end_extent_writepage()
2492 struct page *page = bvec->bv_page; in end_bio_extent_writepage() local
[all …]
/linux-4.1.27/mm/kasan/
Dkasan.c289 void kasan_alloc_pages(struct page *page, unsigned int order) in kasan_alloc_pages()
295 void kasan_free_pages(struct page *page, unsigned int order) in kasan_free_pages()
303 void kasan_poison_slab(struct page *page) in kasan_poison_slab()
360 struct page *page; in kasan_kmalloc_large() local
379 struct page *page; in kasan_krealloc() local
394 struct page *page; in kasan_kfree() local
407 struct page *page = virt_to_page(ptr); in kasan_kfree_large() local
/linux-4.1.27/kernel/events/
Dring_buffer.c437 struct page *page; in rb_alloc_aux_page() local
460 struct page *page = virt_to_page(rb->aux_pages[idx]); in rb_free_aux_page() local
503 struct page *page; in rb_alloc_aux() local
524 struct page *page = virt_to_page(rb->aux_pages[0]); in rb_alloc_aux() local
616 struct page *page; in perf_mmap_alloc_page() local
671 struct page *page = virt_to_page((void *)addr); in perf_mmap_free_page() local
705 struct page *page = vmalloc_to_page(addr); in perf_mmap_unmark_page() local
/linux-4.1.27/fs/ext4/
Dreadpage.c63 struct page *page = bv->bv_page; in completion_pages() local
119 struct page *page = bv->bv_page; in mpage_end_io() local
134 struct list_head *pages, struct page *page, in ext4_mpage_readpages()
/linux-4.1.27/drivers/char/agp/
Defficeon-agp.c69 static inline unsigned long efficeon_mask_memory(struct page *page) in efficeon_mask_memory()
163 unsigned long page = efficeon_private.l1_table[index]; in efficeon_free_gatt_table() local
211 unsigned long page; in efficeon_create_gatt_table() local
241 unsigned int *page, *last_page; in efficeon_insert_memory() local
302 unsigned int *page = (unsigned int *) efficeon_private.l1_table[index >> 10]; in efficeon_remove_memory() local
/linux-4.1.27/drivers/mtd/
Dmtdoops.c72 static void mark_page_used(struct mtdoops_context *cxt, int page) in mark_page_used()
77 static void mark_page_unused(struct mtdoops_context *cxt, int page) in mark_page_unused()
82 static int page_is_used(struct mtdoops_context *cxt, int page) in page_is_used()
103 int page; in mtdoops_erase_block() local
253 int ret, page, maxpos = 0; in find_next_position() local
/linux-4.1.27/fs/xfs/
Dxfs_aops.c41 struct page *page, in xfs_count_page_state()
411 struct page *page, in xfs_start_page_writeback()
641 struct page *page, in xfs_check_page_type()
685 struct page *page, in xfs_convert_page()
855 struct page *page, in xfs_vm_invalidatepage()
882 struct page *page) in xfs_aops_discard_page()
939 struct page *page, in xfs_vm_writepage()
1218 struct page *page, in xfs_vm_releasepage()
1668 struct page *page, in xfs_vm_write_failed()
1748 struct page *page; in xfs_vm_write_begin() local
[all …]
/linux-4.1.27/arch/sh/include/asm/
Dtlbflush.h40 #define flush_tlb_page(vma, page) local_flush_tlb_page(vma, page) argument
41 #define flush_tlb_one(asid, page) local_flush_tlb_one(asid, page) argument
/linux-4.1.27/arch/unicore32/include/asm/
Dcacheflush.h120 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
187 #define flush_icache_user_range(vma, page, addr, len) \ argument
194 #define flush_icache_page(vma, page) do { } while (0) argument

12345678