Home
last modified time | relevance | path

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

12

/openbmc/linux/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()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dlinked_maps1.c28 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");
/openbmc/linux/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()
/openbmc/linux/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()
847 pvcalls_front_free_map(bedata, map2); in pvcalls_front_accept()
[all …]
/openbmc/linux/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()
/openbmc/boost-dbus/test/
H A Davahi.cpp158 std::vector<std::pair<std::string, dbus::dbus_variant>> map2; in TEST() local
160 map2.emplace_back("Value", 42); in TEST()
163 EXPECT_EQ(m.pack("xyz.openbmc_project.Sensor.Value", map2, removed), true); in TEST()
214 std::vector<std::pair<std::string, dbus::dbus_variant>> map2; in TEST() local
216 map2.emplace_back("Value", 42); in TEST()
221 m.pack("xyz.openbmc_project.Sensor.Value", map2, removed); in TEST()
/openbmc/linux/tools/testing/selftests/powerpc/mm/
H A Dtlbie_test.c58 static char *map2; variable
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 …"Allocated address:0x%016lx + secondary map:0x%016lx\n", (unsigned long)map1, (unsigned long)map2); in main()
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Dexynos5422-odroidxu3-common.dtsi107 map2 {
190 map2 {
263 map2 {
336 map2 {
409 map2 {
H A Dexynos5420-arndale-octa.dts137 map2 {
200 map2 {
263 map2 {
326 map2 {
H A Dexynos4412-odroidu3.dts83 map2 {
/openbmc/linux/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()
/openbmc/linux/drivers/gpu/drm/amd/display/modules/inc/
H A Dmod_shared.h104 enum lut3d_control_gamut_map map2; member
/openbmc/linux/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");
/openbmc/linux/arch/arm64/boot/dts/exynos/
H A Dexynos5433-tmu.dtsi67 map2 {
241 map2 {
/openbmc/linux/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()
/openbmc/linux/net/ethtool/
H A Dbitset.c436 static bool ethnl_bitmap32_equal(const u32 *map1, const u32 *map2, in ethnl_bitmap32_equal() argument
439 if (memcmp(map1, map2, nbits / 32 * sizeof(u32))) in ethnl_bitmap32_equal()
443 return !((map1[nbits / 32] ^ map2[nbits / 32]) & in ethnl_bitmap32_equal()
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Drk3399-nanopc-t4.dts85 map2 {
/openbmc/linux/drivers/acpi/nfit/
H A Dcore.c2290 struct nfit_set_info2 *map2 = &info2[i]; in acpi_nfit_init_interleave_set() local
2303 map2->region_offset = memdev->region_offset; in acpi_nfit_init_interleave_set()
2304 map2->serial_number = dcr->serial_number; in acpi_nfit_init_interleave_set()
2305 map2->vendor_id = dcr->vendor_id; in acpi_nfit_init_interleave_set()
2306 map2->manufacturing_date = dcr->manufacturing_date; in acpi_nfit_init_interleave_set()
2307 map2->manufacturing_location = dcr->manufacturing_location; in acpi_nfit_init_interleave_set()
2324 struct nfit_set_info2 *map2 = &info2[i]; in acpi_nfit_init_interleave_set() local
2333 if (map2->serial_number == dcr->serial_number && in acpi_nfit_init_interleave_set()
2334 map2->vendor_id == dcr->vendor_id && in acpi_nfit_init_interleave_set()
2335 map2->manufacturing_date == dcr->manufacturing_date && in acpi_nfit_init_interleave_set()
[all …]
/openbmc/linux/arch/arm64/boot/dts/marvell/
H A Darmada-ap80x.dtsi422 map2_hot: map2-hot {
427 map2_emerg: map2-emerg {
H A Darmada-8040-clearfog-gt-8k.dts169 map2 {
217 map2 {
/openbmc/linux/Documentation/driver-api/
H A Dio-mapping.rst60 addr2 = io_mapping_map_local_wc(map2, offset2);

12