| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | verifier_arena.c | 29 volatile int __arena *page1, *page2, *no_page, *page3; in basic_alloc1() local 31 page1 = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in basic_alloc1() 32 if (!page1) in basic_alloc1() 34 *page1 = 1; in basic_alloc1() 42 if (*page1 != 1) in basic_alloc1() 47 if (*page1 != 1) in basic_alloc1() 57 if (*page1 != 1) in basic_alloc1() 68 volatile char __arena *page1, *page2, *page3, *page4; in basic_alloc2() local 70 page1 = bpf_arena_alloc_pages(&arena, NULL, 2, NUMA_NO_NODE, 0); in basic_alloc2() 71 if (!page1) in basic_alloc2() [all …]
|
| H A D | verifier_arena_large.c | 25 volatile char __arena *page1, *page2, *no_page, *page3; in big_alloc1() local 28 page1 = base = bpf_arena_alloc_pages(&arena, NULL, 1, NUMA_NO_NODE, 0); in big_alloc1() 29 if (!page1) in big_alloc1() 31 *page1 = 1; in big_alloc1() 41 if (*page1 != 1) in big_alloc1() 45 bpf_arena_free_pages(&arena, (void __arena *)page1, 1); in big_alloc1() 48 if (*page1 != 0) /* use-after-free should return 0 */ in big_alloc1() 54 if (page1 != page3) in big_alloc1() 58 if (*(page1 + PAGE_SIZE) != 0) in big_alloc1() 60 if (*(page1 - PAGE_SIZE) != 0) in big_alloc1()
|
| /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/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/drivers/phy/realtek/ |
| H A D | phy-rtk-usb2.c | 78 struct phy_data page1[MAX_USB_PHY_PAGE1_DATA_SIZE]; member 350 phy_data_page = phy_cfg->page1; in update_dc_disconnect_level_at_page1() 599 phy_data_page = phy_cfg->page1; in do_rtk_phy_init() 787 phy_data_page = phy_cfg->page1; in rtk_usb2_parameter_show() 1072 .page1 = { /* default parameter */ }, 1096 .page1 = { /* default parameter */ }, 1120 .page1 = { /* default parameter */ }, 1142 .page1 = { /* default parameter */ }, 1168 .page1 = { [3] = {0xe3, 0x44}, }, 1192 .page1 = { [3] = {0xe3, 0x23}, [all …]
|
| /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/fs/smb/client/ |
| H A D | link.c | 446 void *page1, *page2; local 462 page1 = alloc_dentry_path(); 465 from_name = build_path_from_dentry(old_file, page1); 535 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); 2679 free_dentry_path(page1);
|
| /linux/arch/arm64/kernel/ |
| H A D | mte.c | 72 int memcmp_pages(struct page *page1, struct page *page2) in memcmp_pages() argument 77 addr1 = page_address(page1); in memcmp_pages() 90 if (page_mte_tagged(page1) || page_mte_tagged(page2)) in memcmp_pages()
|
| /linux/drivers/scsi/ |
| H A D | ses.c | 24 unsigned char *page1; member 380 unsigned long long id = get_unaligned_be64(ses_dev->page1+8+4); in ses_show_id() 761 ses_dev->page1 = buf; in ses_intf_add() 842 kfree(ses_dev->page1); in ses_intf_add() 882 kfree(ses_dev->page1); in ses_intf_remove_enclosure()
|
| /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/iommu/arm/arm-smmu-v3/ |
| H A D | tegra241-cmdqv.c | 109 ((_vcmdq)->page1 + TEGRA241_VCMDQ_##_regname) 149 void __iomem *page1; member 668 vcmdq->page1 = cmdqv->base + TEGRA241_VINTFi_LVCMDQ_PAGE1(idx, lidx); in tegra241_vintf_init_lvcmdq()
|
| H A D | arm-smmu-v3.c | 3788 ret = arm_smmu_init_one_queue(smmu, &smmu->evtq.q, smmu->page1, in arm_smmu_init_queues() 3805 return arm_smmu_init_one_queue(smmu, &smmu->priq.q, smmu->page1, in arm_smmu_init_queues() 4179 writel_relaxed(smmu->evtq.q.llq.prod, smmu->page1 + ARM_SMMU_EVTQ_PROD); in arm_smmu_device_reset() 4180 writel_relaxed(smmu->evtq.q.llq.cons, smmu->page1 + ARM_SMMU_EVTQ_CONS); in arm_smmu_device_reset() 4195 smmu->page1 + ARM_SMMU_PRIQ_PROD); in arm_smmu_device_reset() 4197 smmu->page1 + ARM_SMMU_PRIQ_CONS); in arm_smmu_device_reset() 4779 smmu->page1 = arm_smmu_ioremap(dev, ioaddr + SZ_64K, in arm_smmu_device_probe() 4781 if (IS_ERR(smmu->page1)) in arm_smmu_device_probe() 4782 return PTR_ERR(smmu->page1); in arm_smmu_device_probe() 4784 smmu->page1 = smmu->base; in arm_smmu_device_probe()
|
| H A D | arm-smmu-v3.h | 744 void __iomem *page1; member
|
| /linux/mm/ |
| H A D | util.c | 1035 int __weak memcmp_pages(struct page *page1, struct page *page2) in memcmp_pages() argument 1040 addr1 = kmap_local_page(page1); in memcmp_pages()
|
| /linux/drivers/bluetooth/ |
| H A D | btintel.c | 1326 if (skb->len != (sizeof(features->page1) + 3)) { in btintel_read_debug_features() 1332 memcpy(features->page1, skb->data + 3, sizeof(features->page1)); in btintel_read_debug_features() 1354 if (!(features->page1[0] & 0x3f)) { in btintel_set_debug_features() 1402 if (!(features->page1[0] & 0x3f)) { in btintel_reset_debug_features() 1497 if (!(features.page1[0] & 0x3f)) { in btintel_register_devcoredump_support()
|
| H A D | btintel.h | 153 __u8 page1[16]; member
|
| /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 | 4149 extern int memcmp_pages(struct page *page1, struct page *page2); 4151 static inline int pages_identical(struct page *page1, struct page *page2) in pages_identical() argument 4153 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()
|