Home
last modified time | relevance | path

Searched refs:map2 (Results 1 - 25 of 29) sorted by relevance

12

/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dsoft-dirty.c50 char *map, *map2; in test_vma_reuse() local
63 map2 = mmap(NULL, pagesize, (PROT_READ | PROT_WRITE), (MAP_PRIVATE | MAP_ANON), -1, 0); in test_vma_reuse()
64 if (map2 == MAP_FAILED) in test_vma_reuse()
68 if (map == map2) in test_vma_reuse()
69 ksft_test_result(pagemap_is_softdirty(pagemap_fd, map2) == 1, in test_vma_reuse()
74 munmap(map2, pagesize); in test_vma_reuse()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dlinked_maps1.c18 /* Matches map2 definition in linked_maps2.c. Order of the attributes doesn't
28 extern map2_t map2 SEC(".maps");
53 bpf_map_update_elem(&map2, &key, &val, 0); in BPF_PROG()
71 val = bpf_map_lookup_elem(&map2, &key); in BPF_PROG()
H A Dlinked_maps2.c24 } map2 SEC(".maps");
47 bpf_map_update_elem(&map2, &key, &val, 0); in BPF_PROG()
65 val = bpf_map_lookup_elem(&map2, &key); in BPF_PROG()
H A Dtest_subskeleton_lib.c42 } map2 SEC(".maps");
49 bpf_map_update_elem(&map2, &key, &value, BPF_ANY); in lib_routine()
H A Dtest_subskeleton_lib2.c14 } map2 SEC(".maps");
/kernel/linux/linux-5.10/arch/mips/pci/
H A Dpci-malta.c81 resource_size_t start, end, map, start1, end1, map1, map2, map3, mask; in mips_pcibios_init() local
154 map2 = (BONITO_PCIMAP & BONITO_PCIMAP_PCIMAP_LO1) >> in mips_pcibios_init()
162 if (map3 == map2 + 1) { in mips_pcibios_init()
163 map = map2; in mips_pcibios_init()
167 if (map2 == map1 + 1) { in mips_pcibios_init()
/kernel/linux/linux-6.6/arch/mips/pci/
H A Dpci-malta.c81 resource_size_t start, end, map, start1, end1, map1, map2, map3, mask; in mips_pcibios_init() local
154 map2 = (BONITO_PCIMAP & BONITO_PCIMAP_PCIMAP_LO1) >> in mips_pcibios_init()
162 if (map3 == map2 + 1) { in mips_pcibios_init()
163 map = map2; in mips_pcibios_init()
167 if (map2 == map1 + 1) { in mips_pcibios_init()
/kernel/linux/linux-5.10/drivers/xen/
H A Dpvcalls-front.c767 struct sock_mapping *map2 = NULL; in pvcalls_front_accept() local
792 map2 = map->passive.accept_map; in pvcalls_front_accept()
807 map2 = kzalloc(sizeof(*map2), GFP_KERNEL); in pvcalls_front_accept()
808 if (map2 == NULL) { in pvcalls_front_accept()
814 ret = alloc_active_ring(map2); in pvcalls_front_accept()
818 kfree(map2); in pvcalls_front_accept()
828 free_active_ring(map2); in pvcalls_front_accept()
829 kfree(map2); in pvcalls_front_accept()
834 ret = create_active(map2, in pvcalls_front_accept()
[all...]
/kernel/linux/linux-6.6/drivers/xen/
H A Dpvcalls-front.c776 struct sock_mapping *map2 = NULL; in pvcalls_front_accept() local
801 map2 = map->passive.accept_map; in pvcalls_front_accept()
816 map2 = kzalloc(sizeof(*map2), GFP_KERNEL); in pvcalls_front_accept()
817 if (map2 == NULL) { in pvcalls_front_accept()
823 ret = alloc_active_ring(map2); in pvcalls_front_accept()
827 kfree(map2); in pvcalls_front_accept()
831 ret = create_active(map2, &evtchn); in pvcalls_front_accept()
833 free_active_ring(map2); in pvcalls_front_accept()
834 kfree(map2); in pvcalls_front_accept()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dglobal_data.c106 struct bpf_map *map, *map2; in test_global_data_rdonly() local
116 map2 = bpf_object__find_map_by_name(obj, ".rodata"); in test_global_data_rdonly()
117 if (!ASSERT_EQ(map, map2, "same_maps")) in test_global_data_rdonly()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/
H A Dtlbie_test.c59 static char *map2; variable
581 * Load from the working alias (map1). Loading from map2 in mem_snapshot_fn()
587 * Stores must go via map2 which has write permissions, but in mem_snapshot_fn()
590 * copy-back via map2 alias here. in mem_snapshot_fn()
592 memcpy(map2, tmp, size); in mem_snapshot_fn()
664 map2 = shmat(shmid, NULL, 0); in main()
665 if (map2 == (void *) -1) { in main()
677 printf("Allocated address:0x%016lx + secondary map:0x%016lx\n", (unsigned long)map1, (unsigned long)map2); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/mm/
H A Dtlbie_test.c58 static char *map2; variable
580 * Load from the working alias (map1). Loading from map2 in mem_snapshot_fn()
586 * Stores must go via map2 which has write permissions, but in mem_snapshot_fn()
589 * copy-back via map2 alias here. in mem_snapshot_fn()
591 memcpy(map2, tmp, size); in mem_snapshot_fn()
663 map2 = shmat(shmid, NULL, 0); in main()
664 if (map2 == (void *) -1) { in main()
676 printf("Allocated address:0x%016lx + secondary map:0x%016lx\n", (unsigned long)map1, (unsigned long)map2); in main()
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dmpspec.h110 #define physids_equal(map1, map2) \
111 bitmap_equal((map1).mask, (map2).mask, MAX_LOCAL_APIC)
/kernel/linux/linux-5.10/drivers/net/ethernet/8390/
H A Dax88796.c88 void __iomem *map2; member
818 if (ax->map2) { in ax_remove()
819 iounmap(ax->map2); in ax_remove()
927 ax->map2 = ioremap(mem2->start, mem2_size); in ax_probe()
928 if (!ax->map2) { in ax_probe()
934 ei_local->reg_offset[0x1f] = ax->map2 - ei_local->mem; in ax_probe()
942 if (!ax->map2) in ax_probe()
945 iounmap(ax->map2); in ax_probe()
/kernel/linux/linux-6.6/drivers/net/ethernet/8390/
H A Dax88796.c88 void __iomem *map2; member
827 if (ax->map2) { in ax_remove()
828 iounmap(ax->map2); in ax_remove()
936 ax->map2 = ioremap(mem2->start, mem2_size); in ax_probe()
937 if (!ax->map2) { in ax_probe()
943 ei_local->reg_offset[0x1f] = ax->map2 - ei_local->mem; in ax_probe()
951 if (!ax->map2) in ax_probe()
954 iounmap(ax->map2); in ax_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/inc/
H A Dmod_shared.h104 enum lut3d_control_gamut_map map2; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/inc/
H A Dmod_shared.h104 enum lut3d_control_gamut_map map2; member
/kernel/linux/linux-5.10/drivers/input/joystick/
H A Dturbografx.c40 module_param_array_named(map2, tgfx_cfg[1].args, int, &tgfx_cfg[1].nargs, 0);
41 MODULE_PARM_DESC(map2, "Describes second set of devices");
H A Dgamecon.c44 module_param_array_named(map2, gc_cfg[1].args, int, &gc_cfg[1].nargs, 0);
45 MODULE_PARM_DESC(map2, "Describes second set of devices");
/kernel/linux/linux-6.6/drivers/input/joystick/
H A Dturbografx.c37 module_param_array_named(map2, tgfx_cfg[1].args, int, &tgfx_cfg[1].nargs, 0);
38 MODULE_PARM_DESC(map2, "Describes second set of devices");
H A Dgamecon.c41 module_param_array_named(map2, gc_cfg[1].args, int, &gc_cfg[1].nargs, 0);
42 MODULE_PARM_DESC(map2, "Describes second set of devices");
/kernel/linux/linux-5.10/scripts/kconfig/
H A Dconfdata.c45 void *map1, *map2; in is_same() local
70 map2 = mmap(NULL, st2.st_size, PROT_READ, MAP_PRIVATE, fd2, 0); in is_same()
71 if (map2 == MAP_FAILED) in is_same()
74 if (bcmp(map1, map2, st1.st_size)) in is_same()
/kernel/linux/linux-6.6/scripts/kconfig/
H A Dconfdata.c47 void *map1, *map2; in is_same() local
72 map2 = mmap(NULL, st2.st_size, PROT_READ, MAP_PRIVATE, fd2, 0); in is_same()
73 if (map2 == MAP_FAILED) in is_same()
76 if (bcmp(map1, map2, st1.st_size)) in is_same()
/kernel/linux/linux-5.10/drivers/acpi/nfit/
H A Dcore.c2375 struct nfit_set_info_map2 *map2 = &info2->mapping[i]; in acpi_nfit_init_interleave_set() local
2390 map2->region_offset = memdev->region_offset; in acpi_nfit_init_interleave_set()
2391 map2->serial_number = dcr->serial_number; in acpi_nfit_init_interleave_set()
2392 map2->vendor_id = dcr->vendor_id; in acpi_nfit_init_interleave_set()
2393 map2->manufacturing_date = dcr->manufacturing_date; in acpi_nfit_init_interleave_set()
2394 map2->manufacturing_location = dcr->manufacturing_location; in acpi_nfit_init_interleave_set()
2414 struct nfit_set_info_map2 *map2 = &info2->mapping[i]; in acpi_nfit_init_interleave_set() local
2423 if (map2->serial_number == dcr->serial_number && in acpi_nfit_init_interleave_set()
2424 map2->vendor_id == dcr->vendor_id && in acpi_nfit_init_interleave_set()
2425 map2 in acpi_nfit_init_interleave_set()
[all...]
/kernel/linux/linux-6.6/drivers/acpi/nfit/
H A Dcore.c2285 struct nfit_set_info2 *map2 = &info2[i]; in acpi_nfit_init_interleave_set() local
2298 map2->region_offset = memdev->region_offset; in acpi_nfit_init_interleave_set()
2299 map2->serial_number = dcr->serial_number; in acpi_nfit_init_interleave_set()
2300 map2->vendor_id = dcr->vendor_id; in acpi_nfit_init_interleave_set()
2301 map2->manufacturing_date = dcr->manufacturing_date; in acpi_nfit_init_interleave_set()
2302 map2->manufacturing_location = dcr->manufacturing_location; in acpi_nfit_init_interleave_set()
2319 struct nfit_set_info2 *map2 = &info2[i]; in acpi_nfit_init_interleave_set() local
2328 if (map2->serial_number == dcr->serial_number && in acpi_nfit_init_interleave_set()
2329 map2->vendor_id == dcr->vendor_id && in acpi_nfit_init_interleave_set()
2330 map2 in acpi_nfit_init_interleave_set()
[all...]

Completed in 25 milliseconds

12