Home
last modified time | relevance | path

Searched refs:page1 (Results 1 – 25 of 25) sorted by relevance

/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dverifier_arena.c31 if (!page1) in basic_alloc1()
33 *page1 = 1; in basic_alloc1()
41 if (*page1 != 1) in basic_alloc1()
46 if (*page1 != 1) in basic_alloc1()
56 if (*page1 != 1) in basic_alloc1()
70 if (!page1) in basic_alloc2()
72 page2 = page1 + __PAGE_SIZE; in basic_alloc2()
74 page4 = page1 - __PAGE_SIZE; in basic_alloc2()
75 *page1 = 1; in basic_alloc2()
79 if (*page1 != 1) in basic_alloc2()
[all …]
H A Dverifier_arena_large.c25 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-6.15/tools/testing/selftests/kvm/s390/
H A Dshared_zeropage_test.c50 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-6.15/tools/testing/selftests/mm/
H A Dmlock2-tests.c347 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-6.15/Documentation/ABI/stable/
H A Dsysfs-driver-w1_ds24381 What: /sys/bus/w1/devices/.../page1
4 Description: read the contents of the page1 of the DS2438
/linux-6.15/drivers/phy/realtek/
H A Dphy-rtk-usb2.c350 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 */ },
1168 .page1 = { [3] = {0xe3, 0x44}, },
1192 .page1 = { [3] = {0xe3, 0x23},
1218 .page1 = { [3] = {0xe3, 0x64}, },
1243 .page1 = { [14] = {0xf5, 0x1}, },
[all …]
/linux-6.15/drivers/md/
H A Draid5-ppl.c709 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()
952 if (page1) in ppl_recover_entry()
[all …]
/linux-6.15/Documentation/devicetree/bindings/iommu/
H A Darm,smmu-v3.yaml65 cavium,cn9900-broken-page1-regspace:
70 doesn't support SMMU page1 register space.
/linux-6.15/arch/arm64/kernel/
H A Dmte.c72 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-6.15/fs/smb/client/
H A Dlink.c470 void *page1, *page2; local
486 page1 = alloc_dentry_path();
489 from_name = build_path_from_dentry(old_file, page1);
559 free_dentry_path(page1);
H A Dinode.c2461 void *page1, *page2; local
2485 page1 = alloc_dentry_path();
2489 from_name = build_path_from_dentry(source_dentry, page1);
2587 free_dentry_path(page1);
/linux-6.15/drivers/scsi/
H A Dses.c24 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-6.15/arch/sparc/kernel/
H A Dleon_pci_grpci1.c43 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-6.15/drivers/iommu/arm/arm-smmu-v3/
H A Dtegra241-cmdqv.c102 ((_vcmdq)->page1 + TEGRA241_VCMDQ_##_regname)
137 void __iomem *page1; member
541 vcmdq->page1 = cmdqv->base + TEGRA241_VINTFi_LVCMDQ_PAGE1(idx, lidx); in tegra241_vintf_init_lvcmdq()
H A Darm-smmu-v3.c3773 ret = arm_smmu_init_one_queue(smmu, &smmu->evtq.q, smmu->page1, in arm_smmu_init_queues()
3790 return arm_smmu_init_one_queue(smmu, &smmu->priq.q, smmu->page1, in arm_smmu_init_queues()
4164 writel_relaxed(smmu->evtq.q.llq.prod, smmu->page1 + ARM_SMMU_EVTQ_PROD); in arm_smmu_device_reset()
4165 writel_relaxed(smmu->evtq.q.llq.cons, smmu->page1 + ARM_SMMU_EVTQ_CONS); in arm_smmu_device_reset()
4180 smmu->page1 + ARM_SMMU_PRIQ_PROD); in arm_smmu_device_reset()
4182 smmu->page1 + ARM_SMMU_PRIQ_CONS); in arm_smmu_device_reset()
4752 smmu->page1 = arm_smmu_ioremap(dev, ioaddr + SZ_64K, in arm_smmu_device_probe()
4754 if (IS_ERR(smmu->page1)) in arm_smmu_device_probe()
4755 return PTR_ERR(smmu->page1); in arm_smmu_device_probe()
4757 smmu->page1 = smmu->base; in arm_smmu_device_probe()
H A Darm-smmu-v3.h732 void __iomem *page1; member
/linux-6.15/mm/
H A Dutil.c1033 int __weak memcmp_pages(struct page *page1, struct page *page2) in memcmp_pages() argument
1038 addr1 = kmap_local_page(page1); in memcmp_pages()
/linux-6.15/Documentation/w1/slaves/
H A Dw1_ds2438.rst47 "page1"
/linux-6.15/drivers/bluetooth/
H A Dbtintel.c1325 if (skb->len != (sizeof(features->page1) + 3)) { in btintel_read_debug_features()
1331 memcpy(features->page1, skb->data + 3, sizeof(features->page1)); in btintel_read_debug_features()
1353 if (!(features->page1[0] & 0x3f)) { in btintel_set_debug_features()
1401 if (!(features->page1[0] & 0x3f)) { in btintel_reset_debug_features()
1496 if (!(features.page1[0] & 0x3f)) { in btintel_register_devcoredump_support()
H A Dbtintel.h151 __u8 page1[16]; member
/linux-6.15/drivers/w1/slaves/
H A Dw1_ds2438.c477 static const BIN_ATTR_RO(page1, DS2438_PAGE_SIZE);
/linux-6.15/include/linux/
H A Dmm.h4166 extern int memcmp_pages(struct page *page1, struct page *page2);
4168 static inline int pages_identical(struct page *page1, struct page *page2) in pages_identical() argument
4170 return !memcmp_pages(page1, page2); in pages_identical()
/linux-6.15/drivers/scsi/elx/libefc_sli/
H A Dsli4.c5006 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 Dsli4.h4050 u32 xri_count, struct efc_dma *page0[], struct efc_dma *page1[],
/linux-6.15/drivers/net/ethernet/sun/
H A Dcassini.c1356 cas_page_t **page1 = cp->rx_pages[1]; in cas_page_swap() local
1362 page1[index] = page0[index]; in cas_page_swap()