| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | verifier_arena.c | 33 volatile int __arena *page1, *page2, *no_page; in basic_alloc1_nosleep() local 35 page1 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in basic_alloc1_nosleep() 36 if (!page1) in basic_alloc1_nosleep() 38 *page1 = 1; in basic_alloc1_nosleep() 46 if (*page1 != 1) in basic_alloc1_nosleep() 51 if (*page1 != 1) in basic_alloc1_nosleep() 64 volatile int __arena *page1, *page2, *no_page, *page3; in basic_alloc1() local 66 page1 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in basic_alloc1() 67 if (!page1) in basic_alloc1() 69 *page1 = 1; in basic_alloc1() [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 | 49 char *mem, *page0, *page1, *page2, tmp; in main() local 70 page1 = page0 + pagesize; in main() 71 page2 = page1 + pagesize; in main() 84 tmp = *page1; in main() 86 ksft_test_result(maps_shared_zeropage(pagemap_fd, page1) == 1, in main() 98 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 | 51 gva_t page1 = TEST_GUEST_ADDR(base, 1); in l2_guest_code() 60 WRITE_ONCE(*(u64 *)page1, 1); in l2_guest_code() 61 GUEST_SYNC(page1 | TEST_SYNC_WRITE_FAULT); in l2_guest_code() 62 WRITE_ONCE(*(u64 *)page1, 1); in l2_guest_code() 63 GUEST_SYNC(page1 | TEST_SYNC_WRITE_FAULT); in l2_guest_code() 64 READ_ONCE(*(u64 *)page1); in l2_guest_code() 65 GUEST_SYNC(page1 | TEST_SYNC_NO_FAULT); in l2_guest_code() 53 gva_t page1 = TEST_GUEST_ADDR(base, 1); l2_guest_code() local
|
| /linux/tools/testing/selftests/mm/ |
| H A D | mlock2-tests.c | 411 struct vm_boundaries page1; in test_vma_management() 425 if (get_vm_area((unsigned long)map, &page1) || in test_mlockall() 437 if (page1.start != page2.start || page2.start != page3.start) { in main() 447 if (get_vm_area((unsigned long)map, &page1) || in main() 455 if (page1.start == page2.start || page2.start == page3.start) { in main() 466 if (get_vm_area((unsigned long)map, &page1) || 474 if (page1.start != page2.start || page2.start != page3.start) { 347 struct vm_boundaries page1; test_vma_management() local
|
| /linux/tools/testing/selftests/proc/ |
| H A D | proc-maps-race.c | 86 struct page_content page1; in FIXTURE() local 178 if (!read_page(self, &self->page1)) in locate_containing_page() 181 curr_pos = self->page1.data; in locate_containing_page() 182 end_pos = self->page1.data + self->page1.size; in locate_containing_page() 208 if (!read_page(self, &self->page1)) in read_two_pages() 211 return read_page(self, &self->page1) && read_page(self, &self->page2); in read_two_pages() 304 copy_last_line(&self->page1, last_line->text, LINE_MAX_SIZE); in read_boundary_lines() 307 if (!copy_last_entry(&self->page1, last_line->text, LINE_MAX_SIZE) || in read_boundary_lines() 386 print_last_lines(self->page1.data, 3); in print_boundaries() 663 self->page1.data = malloc(self->page_size); in FIXTURE_SETUP() [all …]
|
| /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/drivers/md/ |
| H A D | raid5-ppl.c | 707 static void ppl_xor(int size, struct page *page1, struct page *page2) in ppl_xor() argument 711 struct page *xor_srcs[] = { page1, page2 }; in ppl_xor() 715 tx = async_xor(page1, xor_srcs, 0, 2, size, &submit); in ppl_xor() 793 struct page *page1; in ppl_recover_entry() local 804 page1 = alloc_page(GFP_KERNEL); in ppl_recover_entry() 807 if (!page1 || !page2) { in ppl_recover_entry() 853 memset(page_address(page1), 0, PAGE_SIZE); in ppl_recover_entry() 906 ppl_xor(block_size, page1, page2); in ppl_recover_entry() 929 ppl_xor(block_size, page1, page2); in ppl_recover_entry() 945 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 | 438 void *page1, *page2; local 454 page1 = alloc_dentry_path(); 457 from_name = build_path_from_dentry(old_file, page1); 528 free_dentry_path(page1);
|
| H A D | inode.c | 2542 void *page1, *page2; 2579 page1 = alloc_dentry_path(); 2583 from_name = build_path_from_dentry(source_dentry, page1); 2727 free_dentry_path(page1); 2540 void *page1, *page2; global() local
|
| /linux/arch/arm64/kernel/ |
| H A D | mte.c | 73 int memcmp_pages(struct page *page1, struct page *page2) in memcmp_pages() argument 78 addr1 = page_address(page1); in memcmp_pages() 91 if (page_mte_tagged(page1) || page_mte_tagged(page2)) in memcmp_pages()
|
| /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.h | 168 __u8 page1[16]; member
|
| H A D | btintel.c | 1444 if (skb->len != (sizeof(features->page1) + 3)) { in btintel_read_debug_features() 1450 memcpy(features->page1, skb->data + 3, sizeof(features->page1)); in btintel_set_debug_features() 1472 if (!(features->page1[0] & 0x3f)) { in btintel_set_debug_features() 1520 if (!(features->page1[0] & 0x3f)) { in btintel_reset_debug_features() 1615 if (!(features.page1[0] & 0x3f)) {
|
| /linux/drivers/w1/slaves/ |
| H A D | w1_ds2438.c | 477 static const BIN_ATTR_RO(page1, DS2438_PAGE_SIZE);
|
| /linux/drivers/iommu/arm/arm-smmu-v3/ |
| H A D | arm-smmu-v3.h | 901 void __iomem *page1; member
|
| /linux/include/linux/ |
| H A D | mm.h | 5350 extern int memcmp_pages(struct page *page1, struct page *page2); 5352 static inline int pages_identical(struct page *page1, struct page *page2) in pages_identical() argument 5354 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[],
|