| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | verifier_arena.c | 31 volatile int __arena *page1, *page2, *no_page; in basic_alloc1() 33 page1 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in basic_alloc1() 34 if (!page1) in basic_alloc1() 36 *page1 = 1; in basic_alloc1() 44 if (*page1 != 1) in basic_alloc1() 49 if (*page1 != 1) in basic_alloc1() 62 volatile int __arena *page1, *page2, *no_page, *page3; 64 page1 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); 65 if (!page1) in basic_alloc2() 67 *page1 in basic_alloc2() 29 volatile int __arena *page1, *page2, *no_page, *page3; basic_alloc1() local 68 volatile char __arena *page1, *page2, *page3, *page4; basic_alloc2() local [all...] |
| H A D | verifier_arena_large.c | 25 volatile char __arena *page1, *page2, *no_page, *page3; in big_alloc1() local 30 page1 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in big_alloc1() 31 if (!page1) in big_alloc1() 34 if ((u64)page1 != base) in big_alloc1() 37 *page1 = 1; in big_alloc1() 54 if (*page1 != 1) in big_alloc1() 58 bpf_arena_free_pages(&arena, (void __arena *)page1, 1); in big_alloc1() 61 if (*page1 != 0) /* use-after-free should return 0 */ in big_alloc1() 67 if (page1 != page3) in big_alloc1() 71 if (*(page1 [all...] |
| /linux/tools/testing/selftests/kvm/s390/ |
| H A D | shared_zeropage_test.c | 50 char *mem, *page0, *page1, *page2, tmp; in main() local 71 page1 = page0 + pagesize; in main() 72 page2 = page1 + pagesize; in main() 85 tmp = *page1; in main() 87 ksft_test_result(maps_shared_zeropage(pagemap_fd, page1) == 1, in main() 99 ksft_test_result(!maps_shared_zeropage(pagemap_fd, page1), in main()
|
| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | nested_dirty_log_test.c | 53 gva_t page1 = TEST_GUEST_ADDR(base, 1); in l2_guest_code() local 62 WRITE_ONCE(*(u64 *)page1, 1); in l2_guest_code() 63 GUEST_SYNC(page1 | TEST_SYNC_WRITE_FAULT); in l2_guest_code() 64 WRITE_ONCE(*(u64 *)page1, 1); in l2_guest_code() 65 GUEST_SYNC(page1 | TEST_SYNC_WRITE_FAULT); in l2_guest_code() 66 READ_ONCE(*(u64 *)page1); in l2_guest_code() 67 GUEST_SYNC(page1 | TEST_SYNC_NO_FAULT); in l2_guest_code()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | mlock2-tests.c | 347 struct vm_boundaries page1; in test_vma_management() local 361 if (get_vm_area((unsigned long)map, &page1) || in test_vma_management() 373 if (page1.start != page2.start || page2.start != page3.start) { in test_vma_management() 383 if (get_vm_area((unsigned long)map, &page1) || in test_vma_management() 391 if (page1.start == page2.start || page2.start == page3.start) { in test_vma_management() 402 if (get_vm_area((unsigned long)map, &page1) || in test_vma_management() 410 if (page1.start != page2.start || page2.start != page3.start) { in test_vma_management()
|
| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-driver-w1_ds2438 | 1 What: /sys/bus/w1/devices/.../page1 4 Description: read the contents of the page1 of the DS2438
|
| /linux/tools/testing/selftests/proc/ |
| H A D | proc-maps-race.c | 74 struct page_content page1; in FIXTURE() local 116 bytes_read = read(self->maps_fd, self->page1.data, self->page_size); in read_two_pages() 120 self->page1.size = bytes_read; in read_two_pages() 161 copy_last_line(&self->page1, last_line->text); in read_boundary_lines() 236 print_last_lines(self->page1.data, 3); in print_boundaries() 500 self->page1.data = malloc(self->page_size); in FIXTURE_SETUP() 501 ASSERT_NE(self->page1.data, NULL); in FIXTURE_SETUP() 540 free(self->page1.data); in FIXTURE_TEARDOWN()
|
| /linux/drivers/md/ |
| H A 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() 713 tx = async_xor(page1, xor_srcs, 0, 2, size, &submit); in ppl_xor() 791 struct page *page1; in ppl_recover_entry() local 802 page1 = alloc_page(GFP_KERNEL); in ppl_recover_entry() 805 if (!page1 || !page2) { in ppl_recover_entry() 851 memset(page_address(page1), 0, PAGE_SIZE); in ppl_recover_entry() 904 ppl_xor(block_size, page1, page2); in ppl_recover_entry() 927 ppl_xor(block_size, page1, page2); in ppl_recover_entry() 943 page1, REQ_OP_WRITE, false)) { in ppl_recover_entry() [all …]
|
| /linux/drivers/scsi/ |
| H A D | ses.c | 24 unsigned char *page1; member 379 unsigned long long id = get_unaligned_be64(ses_dev->page1+8+4); in ses_show_id() 759 ses_dev->page1 = buf; in ses_intf_add() 840 kfree(ses_dev->page1); in ses_intf_add() 875 kfree(ses_dev->page1); in ses_intf_remove_enclosure()
|
| /linux/fs/smb/client/ |
| H A D | link.c | 447 void *page1, *page2; local 463 page1 = alloc_dentry_path(); 466 from_name = build_path_from_dentry(old_file, page1); 537 free_dentry_path(page1);
|
| H A D | inode.c | 2500 void *page1, *page2; local 2537 page1 = alloc_dentry_path(); 2541 from_name = build_path_from_dentry(source_dentry, page1); 2678 free_dentry_path(page1);
|
| /linux/arch/sparc/kernel/ |
| H A D | leon_pci_grpci1.c | 43 unsigned int page1; /* 0x10 PAGE1 */ member 432 REGSTORE(regs->page1, ahbadr); in grpci1_hw_init() 556 REGSTORE(regs->page1, 0xffffffff); in grpci1_of_probe() 557 size = ~REGLOAD(regs->page1) + 1; in grpci1_of_probe()
|
| /linux/Documentation/w1/slaves/ |
| H A D | w1_ds2438.rst | 47 "page1"
|
| /linux/drivers/bluetooth/ |
| H A D | btintel.c | 1397 if (skb->len != (sizeof(features->page1) + 3)) { in btintel_read_debug_features() 1403 memcpy(features->page1, skb->data + 3, sizeof(features->page1)); in btintel_read_debug_features() 1425 if (!(features->page1[0] & 0x3f)) { in btintel_set_debug_features() 1473 if (!(features->page1[0] & 0x3f)) { in btintel_reset_debug_features() 1568 if (!(features.page1[0] & 0x3f)) { in btintel_register_devcoredump_support()
|
| /linux/mm/ |
| H A D | util.c | 1064 int __weak memcmp_pages(struct page *page1, struct page *page2) in memcmp_pages() argument 1069 addr1 = kmap_local_page(page1); in memcmp_pages()
|
| /linux/drivers/w1/slaves/ |
| H A D | w1_ds2438.c | 477 static const BIN_ATTR_RO(page1, DS2438_PAGE_SIZE);
|
| /linux/include/linux/ |
| H A D | mm.h | 5081 extern int memcmp_pages(struct page *page1, struct page *page2); 5083 static inline int pages_identical(struct page *page1, struct page *page2) in pages_identical() argument 5085 return !memcmp_pages(page1, page2); in pages_identical()
|
| /linux/drivers/scsi/elx/libefc_sli/ |
| H A D | sli4.c | 5006 struct efc_dma *page1[], struct efc_dma *dma) in sli_cmd_post_sgl_pages() argument 5035 if (page1) { in sli_cmd_post_sgl_pages() 5038 cpu_to_le32(lower_32_bits(page1[i]->phys)); in sli_cmd_post_sgl_pages() 5040 cpu_to_le32(upper_32_bits(page1[i]->phys)); in sli_cmd_post_sgl_pages()
|
| H A D | sli4.h | 4050 u32 xri_count, struct efc_dma *page0[], struct efc_dma *page1[],
|
| /linux/drivers/net/ethernet/sun/ |
| H A D | cassini.c | 1356 cas_page_t **page1 = cp->rx_pages[1]; in cas_page_swap() local 1362 page1[index] = page0[index]; in cas_page_swap()
|