/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | symlink.c | 25 * Jun 7 1999, cache symlink lookups in the page cache. -DaveM 57 struct page *page = &folio->page; in ocfs2_fast_symlink_read_folio() local 58 struct inode *inode = page->mapping->host; in ocfs2_fast_symlink_read_folio() 73 /* will be less than a page size */ in ocfs2_fast_symlink_read_folio() 75 kaddr = kmap_atomic(page); in ocfs2_fast_symlink_read_folio() 78 SetPageUptodate(page); in ocfs2_fast_symlink_read_folio() 79 unlock_page(page); in ocfs2_fast_symlink_read_folio()
|
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | mft.h | 36 * Call flush_dcache_page() for the page in which an mft record resides. 43 flush_dcache_page(ni->page); in flush_dcache_mft_record_page() 49 * mark_mft_record_dirty - set the mft record and the page containing it dirty 53 * as well as the page containing the mft record, dirty. Also, mark the base 77 * locks the page for the duration of the write. This ensures that there are 79 * paths and via the page cache write back code paths or between writing 80 * neighbouring mft records residing in the same page. 82 * Locking the page also serializes us against ->read_folio() if the page is not 90 struct page *pag in write_mft_record() local [all...] |
/kernel/linux/linux-6.6/kernel/dma/ |
H A D | remap.c | 9 struct page **dma_common_find_pages(void *cpu_addr) in dma_common_find_pages() 22 void *dma_common_pages_remap(struct page **pages, size_t size, in dma_common_pages_remap() 38 void *dma_common_contiguous_remap(struct page *page, size_t size, in dma_common_contiguous_remap() argument 42 struct page **pages; in dma_common_contiguous_remap() 46 pages = kvmalloc_array(count, sizeof(struct page *), GFP_KERNEL); in dma_common_contiguous_remap() 50 pages[i] = nth_page(page, i); in dma_common_contiguous_remap()
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | page_64.h | 42 void clear_page_orig(void *page); 43 void clear_page_rep(void *page); 44 void clear_page_erms(void *page); 46 static inline void clear_page(void *page) in clear_page() argument 49 * Clean up KMSAN metadata for the page being cleared. The assembly call in clear_page() 50 * below clobbers @page, so we perform unpoisoning before it. in clear_page() 52 kmsan_unpoison_memory(page, PAGE_SIZE); in clear_page() 56 "=D" (page), in clear_page() 57 "0" (page) in clear_page() 75 * CPUs malfunction if they execute code from the highest canonical page [all...] |
/kernel/linux/linux-5.10/drivers/char/agp/ |
H A D | ali-agp.c | 10 #include <asm/page.h> /* PAGE_SIZE */ 144 static struct page *m1541_alloc_page(struct agp_bridge_data *bridge) in m1541_alloc_page() 146 struct page *page = agp_generic_alloc_page(agp_bridge); in m1541_alloc_page() local 149 if (!page) in m1541_alloc_page() 155 page_to_phys(page)) | ALI_CACHE_FLUSH_EN )); in m1541_alloc_page() 156 return page; in m1541_alloc_page() 159 static void ali_destroy_page(struct page *page, int flags) in ali_destroy_page() argument 161 if (page) { in ali_destroy_page() 170 m1541_destroy_page(struct page *page, int flags) m1541_destroy_page() argument [all...] |
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | cache.c | 208 static void ceph_readpage_from_fscache_complete(struct page *page, void *data, int error) in ceph_readpage_from_fscache_complete() argument 211 SetPageUptodate(page); in ceph_readpage_from_fscache_complete() 213 unlock_page(page); in ceph_readpage_from_fscache_complete() 225 * unlock the page here (or in the callback). 227 int ceph_readpage_from_fscache(struct inode *inode, struct page *page) in ceph_readpage_from_fscache() argument 235 ret = fscache_read_or_alloc_page(ci->fscache, page, in ceph_readpage_from_fscache() 241 dout("page read submitted\n"); in ceph_readpage_from_fscache() 245 dout("page/inod in ceph_readpage_from_fscache() 282 ceph_readpage_to_fscache(struct inode *inode, struct page *page) ceph_readpage_to_fscache() argument 299 ceph_invalidate_fscache_page(struct inode* inode, struct page *page) ceph_invalidate_fscache_page() argument [all...] |
/kernel/linux/linux-5.10/kernel/dma/ |
H A D | contiguous.c | 30 * inaccessible to page system even if device drivers don't use it. 46 #include <asm/page.h> 257 struct page *dma_alloc_from_contiguous(struct device *dev, size_t count, in dma_alloc_from_contiguous() 276 bool dma_release_from_contiguous(struct device *dev, struct page *pages, in dma_release_from_contiguous() 282 static struct page *cma_alloc_aligned(struct cma *cma, size_t size, gfp_t gfp) in cma_alloc_aligned() 299 * Note that it bypass one-page size of allocations from the per-numa and 300 * global area as the addresses within one page are always contiguous, so 304 struct page *dma_alloc_contiguous(struct device *dev, size_t size, gfp_t gfp) in dma_alloc_contiguous() 321 struct page *page; in dma_alloc_contiguous() local 347 dma_free_contiguous(struct device *dev, struct page *page, size_t size) dma_free_contiguous() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | selftest_reset.c | 23 resource_size_t num_pages, page; in __igt_reset_stolen() local 81 for (page = 0; page < num_pages; page++) { in __igt_reset_stolen() 82 dma_addr_t dma = (dma_addr_t)dsm->start + (page << PAGE_SHIFT); in __igt_reset_stolen() 96 page << PAGE_SHIFT, in __igt_reset_stolen() 97 ((page + 1) << PAGE_SHIFT) - 1)) in __igt_reset_stolen() 103 crc[page] = crc32_le(0, in, PAGE_SIZE); in __igt_reset_stolen() 121 for (page = 0; page < num_page in __igt_reset_stolen() [all...] |
/kernel/linux/linux-6.6/drivers/char/agp/ |
H A D | ali-agp.c | 10 #include <asm/page.h> /* PAGE_SIZE */ 144 static struct page *m1541_alloc_page(struct agp_bridge_data *bridge) in m1541_alloc_page() 146 struct page *page = agp_generic_alloc_page(agp_bridge); in m1541_alloc_page() local 149 if (!page) in m1541_alloc_page() 155 page_to_phys(page)) | ALI_CACHE_FLUSH_EN )); in m1541_alloc_page() 156 return page; in m1541_alloc_page() 159 static void ali_destroy_page(struct page *page, int flags) in ali_destroy_page() argument 161 if (page) { in ali_destroy_page() 170 m1541_destroy_page(struct page *page, int flags) m1541_destroy_page() argument [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | blk-integrity.c | 221 char *page) in format_show() 226 return sysfs_emit(page, "%s\n", bi->profile->name); in format_show() 227 return sysfs_emit(page, "none\n"); in format_show() 231 char *page) in tag_size_show() 235 return sysfs_emit(page, "%u\n", bi->tag_size); in tag_size_show() 240 char *page) in protection_interval_bytes_show() 244 return sysfs_emit(page, "%u\n", in protection_interval_bytes_show() 250 const char *page, size_t count) in read_verify_store() 253 char *p = (char *) page; in read_verify_store() 265 struct device_attribute *attr, char *page) in read_verify_show() 220 format_show(struct device *dev, struct device_attribute *attr, char *page) format_show() argument 230 tag_size_show(struct device *dev, struct device_attribute *attr, char *page) tag_size_show() argument 238 protection_interval_bytes_show(struct device *dev, struct device_attribute *attr, char *page) protection_interval_bytes_show() argument 248 read_verify_store(struct device *dev, struct device_attribute *attr, const char *page, size_t count) read_verify_store() argument 264 read_verify_show(struct device *dev, struct device_attribute *attr, char *page) read_verify_show() argument 272 write_generate_store(struct device *dev, struct device_attribute *attr, const char *page, size_t count) write_generate_store() argument 289 write_generate_show(struct device *dev, struct device_attribute *attr, char *page) write_generate_show() argument 297 device_is_integrity_capable_show(struct device *dev, struct device_attribute *attr, char *page) device_is_integrity_capable_show() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | selftest_reset.c | 24 resource_size_t num_pages, page; in __igt_reset_stolen() local 82 for (page = 0; page < num_pages; page++) { in __igt_reset_stolen() 83 dma_addr_t dma = (dma_addr_t)dsm->start + (page << PAGE_SHIFT); in __igt_reset_stolen() 99 page << PAGE_SHIFT, in __igt_reset_stolen() 100 ((page + 1) << PAGE_SHIFT) - 1)) in __igt_reset_stolen() 106 crc[page] = crc32_le(0, in, PAGE_SIZE); in __igt_reset_stolen() 124 for (page = 0; page < num_page in __igt_reset_stolen() [all...] |
/third_party/toybox/kconfig/lxdialog/ |
H A D | textbox.c | 33 static const char *page; variable 64 page = buf; /* page is pointer to start of page to be displayed */ in dialog_textbox() 121 /* Print first page of text */ in dialog_textbox() 135 case 'g': /* First page */ in dialog_textbox() 139 page = buf; in dialog_textbox() 144 case 'G': /* Last page */ in dialog_textbox() 149 page = buf + strlen(buf); in dialog_textbox() 163 * should still be updated, and 'page' shoul in dialog_textbox() [all...] |
/kernel/linux/linux-5.10/fs/reiserfs/ |
H A D | ioctl.c | 161 int reiserfs_commit_write(struct file *f, struct page *page, 172 struct page *page; in reiserfs_unpack() local 204 * we unpack by finding the page with the tail, and calling in reiserfs_unpack() 205 * __reiserfs_write_begin on that page. This will force a in reiserfs_unpack() 210 page = grab_cache_page(mapping, index); in reiserfs_unpack() 212 if (!page) { in reiserfs_unpack() 215 retval = __reiserfs_write_begin(page, write_from, 0); in reiserfs_unpack() 219 /* conversion can change page content in reiserfs_unpack() [all...] |
/kernel/linux/linux-6.6/fs/reiserfs/ |
H A D | ioctl.c | 150 int reiserfs_commit_write(struct file *f, struct page *page, 161 struct page *page; in reiserfs_unpack() local 193 * we unpack by finding the page with the tail, and calling in reiserfs_unpack() 194 * __reiserfs_write_begin on that page. This will force a in reiserfs_unpack() 199 page = grab_cache_page(mapping, index); in reiserfs_unpack() 201 if (!page) { in reiserfs_unpack() 204 retval = __reiserfs_write_begin(page, write_from, 0); in reiserfs_unpack() 208 /* conversion can change page content in reiserfs_unpack() [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | sweeper.h | 84 void AddPage(AllocationSpace space, Page* page, AddPageMode mode); 88 int ParallelSweepPage(Page* page, AllocationSpace identity, 91 void EnsurePageIsSwept(Page* page); 113 void AddPageForIterability(Page* page); 138 Page* page, Space* space, 145 Address free_start, Address free_end, Page* page, bool record_free_ranges, 152 Page* page, const TypedSlotSet::FreeRangesMap& free_ranges_map, 158 Page* page, size_t live_bytes, FreeListRebuildingMode free_list_mode); 171 // Concurrently sweeps many page from the given space. Returns true if there 175 // Sweeps incrementally one page fro [all...] |
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | file.c | 118 struct page *page; in ntfs_extend_initialized_size() local 144 err = ntfs_write_begin(file, mapping, pos, len, &page, NULL); in ntfs_extend_initialized_size() 148 zero_user_segment(page, zerofrom, PAGE_SIZE); in ntfs_extend_initialized_size() 150 /* This function in any case puts page. */ in ntfs_extend_initialized_size() 151 err = ntfs_write_end(file, mapping, pos, len, len, page, NULL); in ntfs_extend_initialized_size() 190 struct page *page; in ntfs_zero_range() local 198 page = find_or_create_page(mapping, idx, in ntfs_zero_range() 201 if (!page) in ntfs_zero_range() 818 struct page *page; ntfs_get_frame_pages() local 855 struct page *page, **pages = NULL; ntfs_compress_write() local [all...] |
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
H A D | cacheflush.h | 38 flush_icache_user_page(struct vm_area_struct *vma, struct page *page, in flush_icache_user_page() argument 52 struct page *page, unsigned long addr, int len); 57 #define flush_icache_page(vma, page) \ 58 flush_icache_user_page((vma), (page), 0, 0)
|
/kernel/linux/linux-5.10/arch/nds32/include/asm/ |
H A D | proc-fns.h | 8 #include <asm/page.h> 20 extern void cpu_dcache_inval_page(unsigned long page); 21 extern void cpu_dcache_wb_page(unsigned long page); 22 extern void cpu_dcache_wbinval_page(unsigned long page); 28 extern void cpu_icache_inval_page(unsigned long page); 31 extern void cpu_cache_wbinval_page(unsigned long page, int flushi);
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
H A D | cacheflush.h | 10 #include <linux/page-flags.h> 13 #include <asm/page.h> 16 #define flush_dcache_page(page) \ 18 clear_bit(PG_arch_1, &(page)->flags); \ 25 #define flush_icache_user_page(vma, page, user_addr, len) \ 27 unsigned long _addr = (unsigned long) page_address(page) + ((user_addr) & ~PAGE_MASK); \
|
/kernel/linux/linux-5.10/drivers/nvdimm/ |
H A D | pmem.h | 4 #include <linux/page-flags.h> 33 static inline bool test_and_clear_pmem_poison(struct page *page) in test_and_clear_pmem_poison() argument 35 return TestClearPageHWPoison(page); in test_and_clear_pmem_poison() 38 static inline bool test_and_clear_pmem_poison(struct page *page) in test_and_clear_pmem_poison() argument
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | set_memory.h | 28 static inline int set_direct_map_invalid_noflush(struct page *page) in set_direct_map_invalid_noflush() argument 32 static inline int set_direct_map_default_noflush(struct page *page) in set_direct_map_default_noflush() argument 37 static inline bool kernel_page_present(struct page *page) in kernel_page_present() argument
|
/kernel/linux/linux-6.6/drivers/nvdimm/ |
H A D | pmem.h | 4 #include <linux/page-flags.h> 37 static inline bool test_and_clear_pmem_poison(struct page *page) in test_and_clear_pmem_poison() argument 39 return TestClearPageHWPoison(page); in test_and_clear_pmem_poison() 42 static inline bool test_and_clear_pmem_poison(struct page *page) in test_and_clear_pmem_poison() argument
|
/kernel/linux/linux-6.6/mm/ |
H A D | hugetlb_vmemmap.h | 14 int hugetlb_vmemmap_restore(const struct hstate *h, struct page *head); 15 void hugetlb_vmemmap_optimize(const struct hstate *h, struct page *head); 18 * Reserve one vmemmap page, all vmemmap addresses are mapped to it. See 25 return pages_per_huge_page(h) * sizeof(struct page); in hugetlb_vmemmap_size() 29 * Return how many vmemmap size associated with a HugeTLB page that can be 36 if (!is_power_of_2(sizeof(struct page))) in hugetlb_vmemmap_optimizable_size() 41 static inline int hugetlb_vmemmap_restore(const struct hstate *h, struct page *head) in hugetlb_vmemmap_restore() 46 static inline void hugetlb_vmemmap_optimize(const struct hstate *h, struct page *head) in hugetlb_vmemmap_optimize()
|
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | card_frontend_declarative.cpp | 111 void CardFrontendDeclarative::OnPageLoaded(const RefPtr<Framework::JsAcePage>& page) in OnPageLoaded() argument 116 page->PopAllCommands(*jsCommands); in OnPageLoaded() 117 page->SetPipelineContext(holder_.Get()); in OnPageLoaded() 119 [weak = AceType::WeakClaim(this), page, jsCommands] { in OnPageLoaded() 124 command->Execute(page); in OnPageLoaded() 132 auto document = page->GetDomDocument(); in OnPageLoaded() 134 page->ClearShowCommand(); in OnPageLoaded() 136 page->PopAllDirtyNodes(dirtyNodes); in OnPageLoaded() 142 auto patchComponent = page->BuildPagePatch(rootNodeId); in OnPageLoaded() 151 auto patchComponent = page in OnPageLoaded() [all...] |
/kernel/linux/linux-5.10/arch/sh/mm/ |
H A D | cache-sh4.c | 106 * Write back & invalidate the D-cache of the page. 111 struct page *page = arg; in sh4_flush_dcache_page() local 112 unsigned long addr = (unsigned long)page_address(page); in sh4_flush_dcache_page() 114 struct address_space *mapping = page_mapping_file(page); in sh4_flush_dcache_page() 117 clear_bit(PG_dcache_clean, &page->flags); in sh4_flush_dcache_page() 121 (addr & shm_align_mask), page_to_phys(page)); in sh4_flush_dcache_page() 198 * Write back and invalidate I/D-caches for the page. 201 * PFN: Physical page number 207 struct page *pag in sh4_flush_cache_page() local [all...] |