/kernel/linux/linux-5.10/include/linux/ |
D | page_idle.h | 12 static inline bool page_is_young(struct page *page) in page_is_young() 17 static inline void set_page_young(struct page *page) in set_page_young() 22 static inline bool test_and_clear_page_young(struct page *page) in test_and_clear_page_young() 27 static inline bool page_is_idle(struct page *page) in page_is_idle() 32 static inline void set_page_idle(struct page *page) in set_page_idle() 37 static inline void clear_page_idle(struct page *page) in clear_page_idle() 48 static inline bool page_is_young(struct page *page) in page_is_young() 58 static inline void set_page_young(struct page *page) in set_page_young() 68 static inline bool test_and_clear_page_young(struct page *page) in test_and_clear_page_young() 78 static inline bool page_is_idle(struct page *page) in page_is_idle() [all …]
|
D | page_ref.h | 41 static inline void __page_ref_set(struct page *page, int v) in __page_ref_set() 44 static inline void __page_ref_mod(struct page *page, int v) in __page_ref_mod() 47 static inline void __page_ref_mod_and_test(struct page *page, int v, int ret) in __page_ref_mod_and_test() 50 static inline void __page_ref_mod_and_return(struct page *page, int v, int ret) in __page_ref_mod_and_return() 53 static inline void __page_ref_mod_unless(struct page *page, int v, int u) in __page_ref_mod_unless() 56 static inline void __page_ref_freeze(struct page *page, int v, int ret) in __page_ref_freeze() 59 static inline void __page_ref_unfreeze(struct page *page, int v) in __page_ref_unfreeze() 65 static inline int page_ref_count(struct page *page) in page_ref_count() 70 static inline int page_count(struct page *page) in page_count() 75 static inline void set_page_count(struct page *page, int v) in set_page_count() [all …]
|
D | page-flags.h | 190 static inline struct page *compound_head(struct page *page) in compound_head() 199 static __always_inline int PageTail(struct page *page) in PageTail() 204 static __always_inline int PageCompound(struct page *page) in PageCompound() 210 static inline int PagePoisoned(const struct page *page) in PagePoisoned() 218 static inline void page_init_poison(struct page *page, size_t size) in page_init_poison() 249 #define PF_POISONED_CHECK(page) ({ \ argument 252 #define PF_ANY(page, enforce) PF_POISONED_CHECK(page) argument 253 #define PF_HEAD(page, enforce) PF_POISONED_CHECK(compound_head(page)) argument 254 #define PF_ONLY_HEAD(page, enforce) ({ \ argument 257 #define PF_NO_TAIL(page, enforce) ({ \ argument [all …]
|
D | page_owner.h | 21 static inline void reset_page_owner(struct page *page, unsigned int order) in reset_page_owner() 27 static inline void set_page_owner(struct page *page, in set_page_owner() 34 static inline void split_page_owner(struct page *page, unsigned int nr) in split_page_owner() 44 static inline void set_page_owner_migrate_reason(struct page *page, int reason) in set_page_owner_migrate_reason() 49 static inline void dump_page_owner(struct page *page) in dump_page_owner() 55 static inline void reset_page_owner(struct page *page, unsigned int order) in reset_page_owner() 58 static inline void set_page_owner(struct page *page, in set_page_owner() 62 static inline void split_page_owner(struct page *page, in split_page_owner() 69 static inline void set_page_owner_migrate_reason(struct page *page, int reason) in set_page_owner_migrate_reason() 72 static inline void dump_page_owner(struct page *page) in dump_page_owner()
|
D | highmem.h | 15 static inline void flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vma… in flush_anon_page() 21 static inline void flush_kernel_dcache_page(struct page *page) in flush_kernel_dcache_page() 48 static inline void *kmap(struct page *page) in kmap() 63 static inline void kunmap(struct page *page) in kunmap() 84 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot() 92 #define kmap_atomic(page) kmap_atomic_prot(page, kmap_prot) argument 137 static inline void *kmap(struct page *page) in kmap() 143 static inline void kunmap_high(struct page *page) in kunmap_high() 147 static inline void kunmap(struct page *page) in kunmap() 154 static inline void *kmap_atomic(struct page *page) in kmap_atomic() [all …]
|
D | balloon_compaction.h | 100 struct page *page) in balloon_page_insert() 116 static inline void balloon_page_delete(struct page *page) in balloon_page_delete() 133 static inline struct balloon_dev_info *balloon_page_device(struct page *page) in balloon_page_device() 146 struct page *page) in balloon_page_insert() 152 static inline void balloon_page_delete(struct page *page) in balloon_page_delete() 158 static inline bool balloon_page_isolate(struct page *page) in balloon_page_isolate() 163 static inline void balloon_page_putback(struct page *page) in balloon_page_putback() 169 struct page *page, enum migrate_mode mode) in balloon_page_migrate() 188 static inline void balloon_page_push(struct list_head *pages, struct page *page) in balloon_page_push() 202 struct page *page = list_first_entry_or_null(pages, struct page, lru); in balloon_page_pop() local
|
D | mm.h | 161 static inline void __mm_zero_struct_page(struct page *page) in __mm_zero_struct_page() 229 #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) argument 544 struct page *page; /* ->fault handlers should return a member 727 static inline int put_page_testzero(struct page *page) in put_page_testzero() 739 static inline int get_page_unless_zero(struct page *page) in get_page_unless_zero() 826 static inline int compound_mapcount(struct page *page) in compound_mapcount() 838 static inline void page_mapcount_reset(struct page *page) in page_mapcount_reset() 853 static inline int page_mapcount(struct page *page) in page_mapcount() 864 static inline int total_mapcount(struct page *page) in total_mapcount() 868 static inline int page_trans_huge_mapcount(struct page *page, in page_trans_huge_mapcount() [all …]
|
D | hugetlb_cgroup.h | 62 __hugetlb_cgroup_from_page(struct page *page, bool rsvd) in __hugetlb_cgroup_from_page() 74 static inline struct hugetlb_cgroup *hugetlb_cgroup_from_page(struct page *page) in hugetlb_cgroup_from_page() 80 hugetlb_cgroup_from_page_rsvd(struct page *page) in hugetlb_cgroup_from_page_rsvd() 85 static inline int __set_hugetlb_cgroup(struct page *page, in __set_hugetlb_cgroup() 99 static inline int set_hugetlb_cgroup(struct page *page, in set_hugetlb_cgroup() 105 static inline int set_hugetlb_cgroup_rsvd(struct page *page, in set_hugetlb_cgroup_rsvd() 168 static inline struct hugetlb_cgroup *hugetlb_cgroup_from_page(struct page *page) in hugetlb_cgroup_from_page() 174 hugetlb_cgroup_from_page_resv(struct page *page) in hugetlb_cgroup_from_page_resv() 180 hugetlb_cgroup_from_page_rsvd(struct page *page) in hugetlb_cgroup_from_page_rsvd() 185 static inline int set_hugetlb_cgroup(struct page *page, in set_hugetlb_cgroup() [all …]
|
D | huge_mm.h | 193 static inline int split_huge_page(struct page *page) in split_huge_page() 260 static inline struct page *thp_head(struct page *page) in thp_head() 269 static inline unsigned int thp_order(struct page *page) in thp_order() 281 static inline int thp_nr_pages(struct page *page) in thp_nr_pages() 299 static inline bool is_huge_zero_page(struct page *page) in is_huge_zero_page() 317 #define mk_huge_pmd(page, prot) pmd_mkhuge(mk_pmd(page, prot)) argument 324 static inline struct list_head *page_deferred_list(struct page *page) in page_deferred_list() 342 static inline struct page *thp_head(struct page *page) in thp_head() 348 static inline unsigned int thp_order(struct page *page) in thp_order() 354 static inline int thp_nr_pages(struct page *page) in thp_nr_pages() [all …]
|
D | pageblock-flags.h | 68 #define get_pageblock_skip(page) \ argument 71 #define clear_pageblock_skip(page) \ argument 74 #define set_pageblock_skip(page) \ argument 79 static inline bool get_pageblock_skip(struct page *page) in get_pageblock_skip() 83 static inline void clear_pageblock_skip(struct page *page) in clear_pageblock_skip() 86 static inline void set_pageblock_skip(struct page *page) in set_pageblock_skip()
|
/kernel/linux/linux-5.10/block/ |
D | blk-sysfs.c | 28 queue_var_show(unsigned long var, char *page) in queue_var_show() 34 queue_var_store(unsigned long *var, const char *page, size_t count) in queue_var_store() 48 static ssize_t queue_var_store64(s64 *var, const char *page) in queue_var_store64() 61 static ssize_t queue_requests_show(struct request_queue *q, char *page) in queue_requests_show() 67 queue_requests_store(struct request_queue *q, const char *page, size_t count) in queue_requests_store() 89 static ssize_t queue_ra_show(struct request_queue *q, char *page) in queue_ra_show() 98 queue_ra_store(struct request_queue *q, const char *page, size_t count) in queue_ra_store() 111 static ssize_t queue_max_sectors_show(struct request_queue *q, char *page) in queue_max_sectors_show() 118 static ssize_t queue_max_segments_show(struct request_queue *q, char *page) in queue_max_segments_show() 124 char *page) in queue_max_discard_segments_show() [all …]
|
/kernel/liteos_a/kernel/base/include/ |
D | los_vm_filemap.h | 71 LosFilePage *page; member 90 STATIC INLINE VOID OsSetPageLocked(LosVmPage *page) in OsSetPageLocked() 95 STATIC INLINE VOID OsCleanPageLocked(LosVmPage *page) in OsCleanPageLocked() 100 STATIC INLINE VOID OsSetPageDirty(LosVmPage *page) in OsSetPageDirty() 105 STATIC INLINE VOID OsCleanPageDirty(LosVmPage *page) in OsCleanPageDirty() 110 STATIC INLINE VOID OsSetPageActive(LosVmPage *page) in OsSetPageActive() 115 STATIC INLINE VOID OsCleanPageActive(LosVmPage *page) in OsCleanPageActive() 120 STATIC INLINE VOID OsSetPageLRU(LosVmPage *page) in OsSetPageLRU() 125 STATIC INLINE VOID OsSetPageFree(LosVmPage *page) in OsSetPageFree() 130 STATIC INLINE VOID OsCleanPageFree(LosVmPage *page) in OsCleanPageFree() [all …]
|
/kernel/linux/linux-5.10/drivers/target/ |
D | target_core_stat.c | 51 static ssize_t target_stat_inst_show(struct config_item *item, char *page) in target_stat_inst_show() 58 static ssize_t target_stat_indx_show(struct config_item *item, char *page) in target_stat_indx_show() 63 static ssize_t target_stat_role_show(struct config_item *item, char *page) in target_stat_role_show() 68 static ssize_t target_stat_ports_show(struct config_item *item, char *page) in target_stat_ports_show() 101 static ssize_t target_stat_tgt_inst_show(struct config_item *item, char *page) in target_stat_tgt_inst_show() 108 static ssize_t target_stat_tgt_indx_show(struct config_item *item, char *page) in target_stat_tgt_indx_show() 114 char *page) in target_stat_tgt_num_lus_show() 120 char *page) in target_stat_tgt_status_show() 129 char *page) in target_stat_tgt_non_access_lus_show() 142 char *page) in target_stat_tgt_resets_show() [all …]
|
D | target_core_configfs.c | 85 char *page) in target_core_item_version_show() 98 char *page) in target_core_item_dbroot_show() 104 const char *page, size_t count) in target_core_item_dbroot_store() 625 const char *page, size_t count) in emulate_model_alias_store() 655 const char *page, size_t count) in emulate_write_cache_store() 677 const char *page, size_t count) in emulate_ua_intlck_ctrl_store() 707 const char *page, size_t count) in emulate_tas_store() 731 const char *page, size_t count) in emulate_tpu_store() 757 const char *page, size_t count) in emulate_tpws_store() 783 const char *page, size_t count) in pi_prot_type_store() [all …]
|
/kernel/linux/linux-5.10/drivers/target/iscsi/ |
D | iscsi_target_stat.c | 52 char *page) in iscsi_stat_instance_inst_show() 59 char *page) in iscsi_stat_instance_min_ver_show() 65 char *page) in iscsi_stat_instance_max_ver_show() 71 char *page) in iscsi_stat_instance_portals_show() 78 char *page) in iscsi_stat_instance_nodes_show() 84 char *page) in iscsi_stat_instance_sessions_show() 91 char *page) in iscsi_stat_instance_fail_sess_show() 107 char *page) in iscsi_stat_instance_fail_type_show() 117 char *page) in iscsi_stat_instance_fail_rem_name_show() 128 char *page) in iscsi_stat_instance_disc_time_show() [all …]
|
/kernel/linux/linux-5.10/sound/pci/trident/ |
D | trident_memory.c | 22 #define __set_tlb_bus(trident,page,ptr,addr) \ argument 25 #define __tlb_to_ptr(trident,page) \ argument 27 #define __tlb_to_addr(trident,page) \ argument 35 #define set_tlb_bus(trident,page,ptr,addr) __set_tlb_bus(trident,page,ptr,addr) argument 37 #define set_silent_tlb(trident,page) __set_tlb_bus(trident, page, (unsigned long)trident->tlb.silen… argument 41 #define aligned_page_offset(page) ((page) << 12) argument 43 #define page_to_ptr(trident,page) __tlb_to_ptr(trident, page) argument 45 #define page_to_addr(trident,page) __tlb_to_addr(trident, page) argument 52 #define aligned_page_offset(page) ((page) << 13) argument 53 #define page_to_ptr(trident,page) __tlb_to_ptr(trident, (page) << 1) argument [all …]
|
/kernel/linux/linux-5.10/fs/9p/ |
D | cache.h | 42 static inline int v9fs_fscache_release_page(struct page *page, in v9fs_fscache_release_page() 48 static inline void v9fs_fscache_invalidate_page(struct page *page) in v9fs_fscache_invalidate_page() 54 struct page *page) in v9fs_readpage_from_fscache() 69 struct page *page) in v9fs_readpage_to_fscache() 75 static inline void v9fs_uncache_page(struct inode *inode, struct page *page) in v9fs_uncache_page() 83 struct page *page) in v9fs_fscache_wait_on_page_write() 102 static inline int v9fs_fscache_release_page(struct page *page, in v9fs_fscache_release_page() 107 static inline void v9fs_fscache_invalidate_page(struct page *page) {} in v9fs_fscache_invalidate_page() 110 struct page *page) in v9fs_readpage_from_fscache() 124 struct page *page) in v9fs_readpage_to_fscache() [all …]
|
/kernel/linux/linux-5.10/fs/jfs/ |
D | jfs_metapage.c | 79 #define mp_anchor(page) ((struct meta_anchor *)page_private(page)) argument 81 static inline struct metapage *page_to_mp(struct page *page, int offset) in page_to_mp() 88 static inline int insert_metapage(struct page *page, struct metapage *mp) in insert_metapage() 115 static inline void remove_metapage(struct page *page, struct metapage *mp) in remove_metapage() 134 static inline void inc_io(struct page *page) in inc_io() 139 static inline void dec_io(struct page *page, void (*handler) (struct page *)) in dec_io() 146 static inline struct metapage *page_to_mp(struct page *page, int offset) in page_to_mp() 151 static inline int insert_metapage(struct page *page, struct metapage *mp) in insert_metapage() 161 static inline void remove_metapage(struct page *page, struct metapage *mp) in remove_metapage() 168 #define inc_io(page) do {} while(0) argument [all …]
|
/kernel/linux/linux-5.10/arch/s390/mm/ |
D | page-states.c | 60 static inline unsigned char get_page_state(struct page *page) in get_page_state() 71 static inline void set_page_unused(struct page *page, int order) in set_page_unused() 82 static inline void set_page_stable_dat(struct page *page, int order) in set_page_stable_dat() 93 static inline void set_page_stable_nodat(struct page *page, int order) in set_page_stable_nodat() 107 struct page *page; in mark_kernel_pmd() local 123 struct page *page; in mark_kernel_pud() local 144 struct page *page; in mark_kernel_p4d() local 165 struct page *page; in mark_kernel_pgd() local 186 struct page *page; in cmma_init_nodat() local 208 void arch_free_page(struct page *page, int order) in arch_free_page() [all …]
|
/kernel/linux/linux-5.10/drivers/nvme/target/ |
D | configfs.c | 56 static ssize_t nvmet_addr_adrfam_show(struct config_item *item, char *page) in nvmet_addr_adrfam_show() 70 const char *page, size_t count) in nvmet_addr_adrfam_store() 94 char *page) in nvmet_addr_portid_show() 103 const char *page, size_t count) in nvmet_addr_portid_store() 123 char *page) in nvmet_addr_traddr_show() 132 const char *page, size_t count) in nvmet_addr_traddr_store() 157 static ssize_t nvmet_addr_treq_show(struct config_item *item, char *page) in nvmet_addr_treq_show() 172 const char *page, size_t count) in nvmet_addr_treq_store() 198 char *page) in nvmet_addr_trsvcid_show() 207 const char *page, size_t count) in nvmet_addr_trsvcid_store() [all …]
|
/kernel/linux/linux-5.10/arch/openrisc/include/asm/ |
D | cacheflush.h | 33 #define dcache_page_flush(page) local_dcache_page_flush(page) argument 34 #define icache_page_inv(page) local_icache_page_inv(page) argument 36 #define dcache_page_flush(page) local_dcache_page_flush(page) argument 37 #define icache_page_inv(page) smp_icache_page_inv(page) argument 45 static inline void sync_icache_dcache(struct page *page) in sync_icache_dcache() 60 static inline void flush_dcache_page(struct page *page) in flush_dcache_page() 65 #define flush_icache_user_page(vma, page, addr, len) \ argument
|
/kernel/linux/linux-5.10/net/core/ |
D | page_pool.c | 107 struct page *page; in page_pool_refill_alloc_cache() local 158 struct page *page; in __page_pool_get_cached() local 172 struct page *page, in page_pool_dma_sync_for_device() 188 struct page *page; in __page_pool_alloc_pages_slow() local 249 struct page *page; in page_pool_alloc_pages() local 286 void page_pool_release_page(struct page_pool *pool, struct page *page) in page_pool_release_page() 314 static void page_pool_return_page(struct page_pool *pool, struct page *page) in page_pool_return_page() 325 static bool page_pool_recycle_in_ring(struct page_pool *pool, struct page *page) in page_pool_recycle_in_ring() 342 static bool page_pool_recycle_in_cache(struct page *page, in page_pool_recycle_in_cache() 356 static bool pool_page_reusable(struct page_pool *pool, struct page *page) in pool_page_reusable() [all …]
|
/kernel/linux/linux-5.10/mm/ |
D | swap.c | 79 static void __page_cache_release(struct page *page) in __page_cache_release() 96 static void __put_single_page(struct page *page) in __put_single_page() 103 static void __put_compound_page(struct page *page) in __put_compound_page() 116 void __put_page(struct page *page) in __put_page() 207 void (*move_fn)(struct page *page, struct lruvec *lruvec, void *arg), in pagevec_lru_move_fn() 216 struct page *page = pvec->pages[i]; in pagevec_lru_move_fn() local 235 static void pagevec_move_tail_fn(struct page *page, struct lruvec *lruvec, in pagevec_move_tail_fn() 265 void rotate_reclaimable_page(struct page *page) in rotate_reclaimable_page() 312 void lru_note_cost_page(struct page *page) in lru_note_cost_page() 324 static void __activate_page(struct page *page, struct lruvec *lruvec, in __activate_page() [all …]
|
D | debug_page_ref.c | 8 void __page_ref_set(struct page *page, int v) in __page_ref_set() 15 void __page_ref_mod(struct page *page, int v) in __page_ref_mod() 22 void __page_ref_mod_and_test(struct page *page, int v, int ret) in __page_ref_mod_and_test() 29 void __page_ref_mod_and_return(struct page *page, int v, int ret) in __page_ref_mod_and_return() 36 void __page_ref_mod_unless(struct page *page, int v, int u) in __page_ref_mod_unless() 43 void __page_ref_freeze(struct page *page, int v, int ret) in __page_ref_freeze() 50 void __page_ref_unfreeze(struct page *page, int v) in __page_ref_unfreeze()
|
D | filemap.c | 121 struct page *page, void *shadow) in page_cache_delete() 158 struct page *page) in unaccount_page_cache_page() 232 void __delete_from_page_cache(struct page *page, void *shadow) in __delete_from_page_cache() 243 struct page *page) in page_cache_free_page() 267 void delete_from_page_cache(struct page *page) in delete_from_page_cache() 301 struct page *page; in page_cache_delete_batch() local 476 struct page *page; in filemap_range_has_page() local 525 struct page *page = pvec.pages[i]; in __filemap_fdatawait_range() local 830 noinline int __add_to_page_cache_locked(struct page *page, in __add_to_page_cache_locked() 928 int add_to_page_cache_locked(struct page *page, struct address_space *mapping, in add_to_page_cache_locked() [all …]
|