Home
last modified time | relevance | path

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

/Linux-v5.10/fs/hfsplus/
Dbnode.c130 struct page **src_page, **dst_page; in hfs_bnode_copy() local
138 src_page = src_node->page + (src >> PAGE_SHIFT); in hfs_bnode_copy()
145 memcpy(kmap(*dst_page) + src, kmap(*src_page) + src, l); in hfs_bnode_copy()
146 kunmap(*src_page); in hfs_bnode_copy()
152 memcpy(kmap(*++dst_page), kmap(*++src_page), l); in hfs_bnode_copy()
153 kunmap(*src_page); in hfs_bnode_copy()
161 src_ptr = kmap(*src_page) + src; in hfs_bnode_copy()
174 kunmap(*src_page); in hfs_bnode_copy()
180 src_page++; in hfs_bnode_copy()
187 struct page **src_page, **dst_page; in hfs_bnode_move() local
[all …]
/Linux-v5.10/fs/verity/
Denable.c72 struct page *src_page; in build_merkle_tree_level() local
80 src_page = read_file_data_page(filp, i, &ra, in build_merkle_tree_level()
82 if (IS_ERR(src_page)) { in build_merkle_tree_level()
83 err = PTR_ERR(src_page); in build_merkle_tree_level()
95 src_page = vops->read_merkle_tree_page(inode, in build_merkle_tree_level()
98 if (IS_ERR(src_page)) { in build_merkle_tree_level()
99 err = PTR_ERR(src_page); in build_merkle_tree_level()
107 err = fsverity_hash_page(params, inode, req, src_page, in build_merkle_tree_level()
109 put_page(src_page); in build_merkle_tree_level()
/Linux-v5.10/fs/
Dremap_range.c210 struct page *src_page; in vfs_dedupe_file_range_compare() local
227 src_page = vfs_dedupe_get_page(src, srcoff); in vfs_dedupe_file_range_compare()
228 if (IS_ERR(src_page)) { in vfs_dedupe_file_range_compare()
229 error = PTR_ERR(src_page); in vfs_dedupe_file_range_compare()
235 put_page(src_page); in vfs_dedupe_file_range_compare()
239 vfs_lock_two_pages(src_page, dest_page); in vfs_dedupe_file_range_compare()
246 if (!PageUptodate(src_page) || !PageUptodate(dest_page) || in vfs_dedupe_file_range_compare()
247 src_page->mapping != src->i_mapping || in vfs_dedupe_file_range_compare()
253 src_addr = kmap_atomic(src_page); in vfs_dedupe_file_range_compare()
256 flush_dcache_page(src_page); in vfs_dedupe_file_range_compare()
[all …]
/Linux-v5.10/arch/arm/lib/
Duaccess_with_memcpy.c237 struct page *src_page, *dst_page;
243 src_page = alloc_page(GFP_KERNEL);
244 if (!src_page)
249 kernel_ptr = page_address(src_page);
282 put_page(src_page);
/Linux-v5.10/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-v5.10/fs/hfs/
Dbnode.c101 struct page *src_page, *dst_page; in hfs_bnode_copy() local
108 src_page = src_node->page[0]; in hfs_bnode_copy()
111 memcpy(kmap(dst_page) + dst, kmap(src_page) + src, len); in hfs_bnode_copy()
112 kunmap(src_page); in hfs_bnode_copy()
/Linux-v5.10/mm/
Dkhugepaged.c731 struct page *src_page, *tmp; in __collapse_huge_page_copy() local
753 src_page = pte_page(pteval); in __collapse_huge_page_copy()
754 copy_user_highpage(page, src_page, address, vma); in __collapse_huge_page_copy()
755 if (!PageCompound(src_page)) in __collapse_huge_page_copy()
756 release_pte_page(src_page); in __collapse_huge_page_copy()
768 page_remove_rmap(src_page, false); in __collapse_huge_page_copy()
770 free_page_and_swap_cache(src_page); in __collapse_huge_page_copy()
774 list_for_each_entry_safe(src_page, tmp, compound_pagelist, lru) { in __collapse_huge_page_copy()
775 list_del(&src_page->lru); in __collapse_huge_page_copy()
776 release_pte_page(src_page); in __collapse_huge_page_copy()
Dhuge_memory.c1002 struct page *src_page; in copy_huge_pmd() local
1074 src_page = pmd_page(pmd); in copy_huge_pmd()
1075 VM_BUG_ON_PAGE(!PageHead(src_page), src_page); in copy_huge_pmd()
1086 page_maybe_dma_pinned(src_page))) { in copy_huge_pmd()
1094 get_page(src_page); in copy_huge_pmd()
1095 page_dup_rmap(src_page, true); in copy_huge_pmd()
/Linux-v5.10/fs/crypto/
Dcrypto.c94 u64 lblk_num, struct page *src_page, in fscrypt_crypt_block() argument
124 sg_set_page(&src, src_page, len, offs); in fscrypt_crypt_block()
Dfscrypt_private.h261 u64 lblk_num, struct page *src_page,
/Linux-v5.10/fs/f2fs/
Dnode.c117 struct page *src_page; in get_next_nat_page() local
127 src_page = get_current_nat_page(sbi, nid); in get_next_nat_page()
128 if (IS_ERR(src_page)) in get_next_nat_page()
129 return src_page; in get_next_nat_page()
131 f2fs_bug_on(sbi, PageDirty(src_page)); in get_next_nat_page()
133 src_addr = page_address(src_page); in get_next_nat_page()
137 f2fs_put_page(src_page, 1); in get_next_nat_page()
/Linux-v5.10/fs/ecryptfs/
Dcrypto.c380 struct page *src_page, in crypt_extent() argument
383 pgoff_t page_index = op == ENCRYPT ? src_page->index : dst_page->index; in crypt_extent()
403 sg_set_page(&src_sg, src_page, extent_size, in crypt_extent()
/Linux-v5.10/fs/btrfs/
Dextent_io.c5988 static void copy_pages(struct page *dst_page, struct page *src_page, in copy_pages() argument
5996 if (dst_page != src_page) { in copy_pages()
5997 src_kaddr = page_address(src_page); in copy_pages()