/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | verifier_arena.c | 28 volatile int __arena *page1, *page2, *no_page, *page3; in basic_alloc1() local 34 page2 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in basic_alloc1() 35 if (!page2) in basic_alloc1() 37 *page2 = 2; in basic_alloc1() 43 if (*page2 != 2) in basic_alloc1() 45 bpf_arena_free_pages(&arena, (void __arena *)page2, 1); in basic_alloc1() 48 if (*page2 != 0) /* use-after-free should return 0 */ in basic_alloc1() 54 if (page2 != page3) in basic_alloc1() 67 volatile char __arena *page1, *page2, *page3, *page4; in basic_alloc2() local 72 page2 = page1 + __PAGE_SIZE; in basic_alloc2() [all …]
|
D | verifier_arena_large.c | 25 volatile char __arena *page1, *page2, *no_page, *page3; in big_alloc1() local 32 page2 = bpf_arena_alloc_pages(&arena, base + ARENA_SIZE - PAGE_SIZE, in big_alloc1() 34 if (!page2) in big_alloc1() 36 *page2 = 2; in big_alloc1() 43 if (*page2 != 2) in big_alloc1() 46 if (*page2 != 2) in big_alloc1() 56 if (*page2 != 2) in big_alloc1() 62 if (*(page2 + PAGE_SIZE) != 0) in big_alloc1() 64 if (*(page2 - PAGE_SIZE) != 0) in big_alloc1()
|
/linux-6.12.1/tools/testing/selftests/mm/ |
D | mlock2-tests.c | 348 struct vm_boundaries page2; in test_vma_management() local 362 get_vm_area((unsigned long)map + page_size, &page2) || in test_vma_management() 373 if (page1.start != page2.start || page2.start != page3.start) { in test_vma_management() 384 get_vm_area((unsigned long)map + page_size, &page2) || in test_vma_management() 391 if (page1.start == page2.start || page2.start == page3.start) { in test_vma_management() 403 get_vm_area((unsigned long)map + page_size, &page2) || in test_vma_management() 410 if (page1.start != page2.start || page2.start != page3.start) { in test_vma_management()
|
/linux-6.12.1/tools/testing/selftests/kvm/s390x/ |
D | shared_zeropage_test.c | 50 char *mem, *page0, *page1, *page2, tmp; in main() local 72 page2 = page1 + pagesize; in main() 103 tmp = *page2; in main() 105 ksft_test_result(!maps_shared_zeropage(pagemap_fd, page2), in main()
|
/linux-6.12.1/drivers/md/ |
D | raid5-ppl.c | 705 static void ppl_xor(int size, struct page *page1, struct page *page2) in ppl_xor() argument 709 struct page *xor_srcs[] = { page1, page2 }; in ppl_xor() 792 struct page *page2; in ppl_recover_entry() local 803 page2 = alloc_page(GFP_KERNEL); in ppl_recover_entry() 805 if (!page1 || !page2) { in ppl_recover_entry() 895 if (!sync_page_io(rdev, sector, block_size, page2, in ppl_recover_entry() 904 ppl_xor(block_size, page1, page2); in ppl_recover_entry() 918 block_size, page2, REQ_OP_READ, in ppl_recover_entry() 927 ppl_xor(block_size, page1, page2); in ppl_recover_entry() 954 if (page2) in ppl_recover_entry() [all …]
|
/linux-6.12.1/drivers/scsi/ |
D | ses.c | 26 unsigned char *page2; member 42 return (ses_dev->page2 != NULL); in ses_page2_supported() 187 unsigned char *desc_ptr = ses_dev->page2 + 8; in ses_set_page2_descriptor() 207 return ses_send_diag(sdev, 2, ses_dev->page2, ses_dev->page2_len); in ses_set_page2_descriptor() 217 unsigned char *desc_ptr = ses_dev->page2 + 8; in ses_get_page2_descriptor() 219 if (ses_recv_diag(sdev, 2, ses_dev->page2, ses_dev->page2_len) < 0) in ses_get_page2_descriptor() 779 ses_dev->page2 = buf; in ses_intf_add() 841 kfree(ses_dev->page2); in ses_intf_add() 883 kfree(ses_dev->page2); in ses_intf_remove_enclosure()
|
/linux-6.12.1/fs/nfs/ |
D | nfs4namespace.c | 484 char *page, char *page2, in nfs4_try_replacing_one_location() argument 544 char *page = NULL, *page2 = NULL; in nfs4_replace_transport() local 555 page2 = (char *) __get_free_page(GFP_USER); in nfs4_replace_transport() 556 if (!page2) in nfs4_replace_transport() 568 page2, location); in nfs4_replace_transport() 575 free_page((unsigned long)page2); in nfs4_replace_transport()
|
/linux-6.12.1/drivers/phy/realtek/ |
D | phy-rtk-usb2.c | 80 struct phy_data page2[MAX_USB_PHY_PAGE2_DATA_SIZE]; member 622 phy_data_page = phy_cfg->page2; in do_rtk_phy_init() 809 phy_data_page = phy_cfg->page2; in rtk_usb2_parameter_show() 1072 .page2 = { /* no parameter */ }, 1096 .page2 = { /* no parameter */ }, 1120 .page2 = { /* no parameter */ }, 1142 .page2 = { /* no parameter */ }, 1168 .page2 = { [0] = {0xe0, 0x01}, }, 1193 .page2 = { /* default parameter */ }, 1218 .page2 = { [7] = {0xe7, 0x45}, }, [all …]
|
/linux-6.12.1/arch/arm64/kernel/ |
D | mte.c | 55 int memcmp_pages(struct page *page1, struct page *page2) in memcmp_pages() argument 61 addr2 = page_address(page2); in memcmp_pages() 73 if (page_mte_tagged(page1) || page_mte_tagged(page2)) in memcmp_pages()
|
/linux-6.12.1/fs/smb/client/ |
D | link.c | 469 void *page1, *page2; local 486 page2 = alloc_dentry_path(); 493 to_name = build_path_from_dentry(direntry, page2); 559 free_dentry_path(page2);
|
D | inode.c | 2327 void *page1, *page2; local 2352 page2 = alloc_dentry_path(); 2361 to_name = build_path_from_dentry(target_dentry, page2); 2450 free_dentry_path(page2);
|
/linux-6.12.1/mm/ |
D | util.c | 1137 int __weak memcmp_pages(struct page *page1, struct page *page2) in memcmp_pages() argument 1143 addr2 = kmap_local_page(page2); in memcmp_pages()
|
/linux-6.12.1/include/linux/ |
D | mm.h | 4055 extern int memcmp_pages(struct page *page1, struct page *page2); 4057 static inline int pages_identical(struct page *page1, struct page *page2) in pages_identical() argument 4059 return !memcmp_pages(page1, page2); in pages_identical()
|