Home
last modified time | relevance | path

Searched refs:src_page (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/fs/hfsplus/
Dbnode.c124 struct page **src_page, **dst_page; in hfs_bnode_copy() local
132 src_page = src_node->page + (src >> PAGE_SHIFT); in hfs_bnode_copy()
139 memcpy_page(*dst_page, src, *src_page, src, l); in hfs_bnode_copy()
144 memcpy_page(*++dst_page, 0, *++src_page, 0, l); in hfs_bnode_copy()
152 src_ptr = kmap_local_page(*src_page) + src; in hfs_bnode_copy()
170 src_page++; in hfs_bnode_copy()
177 struct page **src_page, **dst_page; in hfs_bnode_move() local
188 src_page = node->page + (src >> PAGE_SHIFT); in hfs_bnode_move()
197 src_ptr = kmap_local_page(*src_page); in hfs_bnode_move()
204 src_page--; in hfs_bnode_move()
[all …]
/linux-6.6.21/arch/arm/lib/
Duaccess_with_memcpy.c230 struct page *src_page, *dst_page;
236 src_page = alloc_page(GFP_KERNEL);
237 if (!src_page)
242 kernel_ptr = page_address(src_page);
275 put_page(src_page);
/linux-6.6.21/drivers/gpu/drm/vmwgfx/
Dvmwgfx_blit.c367 u32 src_page = src_offset >> PAGE_SHIFT; in vmw_bo_cpu_blit_line() local
371 bool unmap_src = d->src_addr && (src_page != d->mapped_src || in vmw_bo_cpu_blit_line()
401 if (WARN_ON_ONCE(src_page >= d->src_num_pages)) in vmw_bo_cpu_blit_line()
405 kmap_atomic_prot(d->src_pages[src_page], in vmw_bo_cpu_blit_line()
410 d->mapped_src = src_page; in vmw_bo_cpu_blit_line()
/linux-6.6.21/mm/
Dkhugepaged.c688 struct page *src_page; in __collapse_huge_page_copy_succeeded() local
708 src_page = pte_page(pteval); in __collapse_huge_page_copy_succeeded()
709 if (!PageCompound(src_page)) in __collapse_huge_page_copy_succeeded()
710 release_pte_page(src_page); in __collapse_huge_page_copy_succeeded()
718 page_remove_rmap(src_page, vma, false); in __collapse_huge_page_copy_succeeded()
720 free_page_and_swap_cache(src_page); in __collapse_huge_page_copy_succeeded()
724 list_for_each_entry_safe(src_page, tmp, compound_pagelist, lru) { in __collapse_huge_page_copy_succeeded()
725 list_del(&src_page->lru); in __collapse_huge_page_copy_succeeded()
726 mod_node_page_state(page_pgdat(src_page), in __collapse_huge_page_copy_succeeded()
727 NR_ISOLATED_ANON + page_is_file_lru(src_page), in __collapse_huge_page_copy_succeeded()
[all …]
Dhuge_memory.c1067 struct page *src_page; in copy_huge_pmd() local
1132 src_page = pmd_page(pmd); in copy_huge_pmd()
1133 VM_BUG_ON_PAGE(!PageHead(src_page), src_page); in copy_huge_pmd()
1135 get_page(src_page); in copy_huge_pmd()
1136 if (unlikely(page_try_dup_anon_rmap(src_page, true, src_vma))) { in copy_huge_pmd()
1138 put_page(src_page); in copy_huge_pmd()
Dmemory.c6030 struct page *src_page; in copy_user_gigantic_page() local
6034 src_page = folio_page(src, i); in copy_user_gigantic_page()
6037 if (copy_mc_user_highpage(dst_page, src_page, in copy_user_gigantic_page()
6039 memory_failure_queue(page_to_pfn(src_page), 0); in copy_user_gigantic_page()
/linux-6.6.21/fs/crypto/
Dcrypto.c102 u64 lblk_num, struct page *src_page, in fscrypt_crypt_block() argument
132 sg_set_page(&src, src_page, len, offs); in fscrypt_crypt_block()
Dfscrypt_private.h269 u64 lblk_num, struct page *src_page,
/linux-6.6.21/fs/hfs/
Dbnode.c111 struct page *src_page, *dst_page; in hfs_bnode_copy() local
118 src_page = src_node->page[0]; in hfs_bnode_copy()
121 memcpy_page(dst_page, dst, src_page, src, len); in hfs_bnode_copy()
/linux-6.6.21/include/linux/
Dhighmem.h389 struct page *src_page, size_t src_off, in memcpy_page() argument
393 char *src = kmap_local_page(src_page); in memcpy_page()
/linux-6.6.21/arch/x86/kernel/cpu/sgx/
Dioctl.c206 struct page *src_page; in __sgx_encl_add_page() local
217 ret = get_user_pages(src, 1, 0, &src_page); in __sgx_encl_add_page()
224 pginfo.contents = (unsigned long)kmap_local_page(src_page); in __sgx_encl_add_page()
229 put_page(src_page); in __sgx_encl_add_page()
/linux-6.6.21/fs/f2fs/
Dnode.c140 struct page *src_page; in get_next_nat_page() local
150 src_page = get_current_nat_page(sbi, nid); in get_next_nat_page()
151 if (IS_ERR(src_page)) in get_next_nat_page()
152 return src_page; in get_next_nat_page()
154 f2fs_bug_on(sbi, PageDirty(src_page)); in get_next_nat_page()
156 src_addr = page_address(src_page); in get_next_nat_page()
160 f2fs_put_page(src_page, 1); in get_next_nat_page()
/linux-6.6.21/fs/ecryptfs/
Dcrypto.c352 struct page *src_page, in crypt_extent() argument
355 pgoff_t page_index = op == ENCRYPT ? src_page->index : dst_page->index; in crypt_extent()
375 sg_set_page(&src_sg, src_page, extent_size, in crypt_extent()