Home
last modified time | relevance | path

Searched refs:page2 (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dmlock2-tests.c416 struct vm_boundaries page2; in test_vma_management() local
436 get_vm_area((unsigned long)map + page_size, &page2) || in test_vma_management()
447 if (page1.start != page2.start || page2.start != page3.start) { in test_vma_management()
459 get_vm_area((unsigned long)map + page_size, &page2) || in test_vma_management()
466 if (page1.start == page2.start || page2.start == page3.start) { in test_vma_management()
478 get_vm_area((unsigned long)map + page_size, &page2) || in test_vma_management()
485 if (page1.start != page2.start || page2.start != page3.start) { in test_vma_management()
/kernel/linux/linux-5.10/fs/
Dremap_range.c180 static void vfs_lock_two_pages(struct page *page1, struct page *page2) in vfs_lock_two_pages() argument
183 if (page1->index > page2->index) in vfs_lock_two_pages()
184 swap(page1, page2); in vfs_lock_two_pages()
187 if (page1 != page2) in vfs_lock_two_pages()
188 lock_page(page2); in vfs_lock_two_pages()
192 static void vfs_unlock_two_pages(struct page *page1, struct page *page2) in vfs_unlock_two_pages() argument
195 if (page1 != page2) in vfs_unlock_two_pages()
196 unlock_page(page2); in vfs_unlock_two_pages()
/kernel/linux/linux-5.10/drivers/md/
Draid5-ppl.c716 static void ppl_xor(int size, struct page *page1, struct page *page2) in ppl_xor() argument
720 struct page *xor_srcs[] = { page1, page2 }; in ppl_xor()
803 struct page *page2; in ppl_recover_entry() local
815 page2 = alloc_page(GFP_KERNEL); in ppl_recover_entry()
817 if (!page1 || !page2) { in ppl_recover_entry()
907 if (!sync_page_io(rdev, sector, block_size, page2, in ppl_recover_entry()
916 ppl_xor(block_size, page1, page2); in ppl_recover_entry()
930 block_size, page2, REQ_OP_READ, 0, in ppl_recover_entry()
939 ppl_xor(block_size, page1, page2); in ppl_recover_entry()
965 if (page2) in ppl_recover_entry()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Dses.c26 unsigned char *page2; member
42 return (ses_dev->page2 != NULL); in ses_page2_supported()
155 unsigned char *desc_ptr = ses_dev->page2 + 8; in ses_set_page2_descriptor()
175 return ses_send_diag(sdev, 2, ses_dev->page2, ses_dev->page2_len); in ses_set_page2_descriptor()
185 unsigned char *desc_ptr = ses_dev->page2 + 8; in ses_get_page2_descriptor()
187 if (ses_recv_diag(sdev, 2, ses_dev->page2, ses_dev->page2_len) < 0) in ses_get_page2_descriptor()
748 ses_dev->page2 = buf; in ses_intf_add()
810 kfree(ses_dev->page2); in ses_intf_add()
852 kfree(ses_dev->page2); in ses_intf_remove_enclosure()
/kernel/linux/linux-5.10/fs/nfs/
Dnfs4namespace.c478 char *page, char *page2, in nfs4_try_replacing_one_location() argument
539 char *page = NULL, *page2 = NULL; in nfs4_replace_transport() local
550 page2 = (char *) __get_free_page(GFP_USER); in nfs4_replace_transport()
551 if (!page2) in nfs4_replace_transport()
563 page2, location); in nfs4_replace_transport()
570 free_page((unsigned long)page2); in nfs4_replace_transport()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dmte.c53 int memcmp_pages(struct page *page1, struct page *page2) in memcmp_pages() argument
59 addr2 = page_address(page2); in memcmp_pages()
72 test_bit(PG_mte_tagged, &page2->flags)) in memcmp_pages()
/kernel/linux/linux-5.10/mm/
Dutil.c1014 int __weak memcmp_pages(struct page *page1, struct page *page2) in memcmp_pages() argument
1020 addr2 = kmap_atomic(page2); in memcmp_pages()
Dmigrate.c172 struct page *page2; in putback_movable_pages() local
174 list_for_each_entry_safe(page, page2, l, lru) { in putback_movable_pages()
1447 struct page *page2; in migrate_pages() local
1458 list_for_each_entry_safe(page, page2, from, lru) { in migrate_pages()
1496 list_safe_reset_next(page, page2, lru); in migrate_pages()
Dslub.c1959 struct page *page, *page2; in get_partial_node() local
1974 list_for_each_entry_safe(page, page2, &n->partial, slab_list) { in get_partial_node()
/kernel/linux/linux-5.10/Documentation/vm/
Dhighmem.rst102 vaddr2 = kmap_atomic(page2);
/kernel/linux/linux-5.10/include/linux/
Dmm.h3209 extern int memcmp_pages(struct page *page1, struct page *page2);
3211 static inline int pages_identical(struct page *page1, struct page *page2) in pages_identical() argument
3213 return !memcmp_pages(page1, page2); in pages_identical()