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

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_subskeleton_lib2.c14 } map2 SEC(".maps");
H A Dtest_subskeleton_lib.c42 } map2 SEC(".maps");
49 bpf_map_update_elem(&map2, &key, &value, BPF_ANY);
H A Dlinked_maps2.c24 } map2 SEC(".maps");
47 bpf_map_update_elem(&map2, &key, &val, 0);
65 val = bpf_map_lookup_elem(&map2, &key);
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);
71 val = bpf_map_lookup_elem(&map2, &key);
/linux-master/tools/testing/selftests/mm/
H A Dsoft-dirty.c50 char *map, *map2; local
63 map2 = mmap(NULL, pagesize, (PROT_READ | PROT_WRITE), (MAP_PRIVATE | MAP_ANON), -1, 0);
64 if (map2 == MAP_FAILED)
68 if (map == map2)
69 ksft_test_result(pagemap_is_softdirty(pagemap_fd, map2) == 1,
74 munmap(map2, pagesize);
/linux-master/drivers/gpu/drm/amd/display/modules/inc/
H A Dmod_shared.h104 enum lut3d_control_gamut_map map2; member in struct:lut3d_settings
/linux-master/arch/mips/pci/
H A Dpci-malta.c81 resource_size_t start, end, map, start1, end1, map1, map2, map3, mask; local
154 map2 = (BONITO_PCIMAP & BONITO_PCIMAP_PCIMAP_LO1) >>
162 if (map3 == map2 + 1) {
163 map = map2;
167 if (map2 == map1 + 1) {
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dglobal_data.c106 struct bpf_map *map, *map2; local
116 map2 = bpf_object__find_map_by_name(obj, ".rodata");
117 if (!ASSERT_EQ(map, map2, "same_maps"))
/linux-master/drivers/xen/
H A Dpvcalls-front.c776 struct sock_mapping *map2 = NULL; local
801 map2 = map->passive.accept_map;
816 map2 = kzalloc(sizeof(*map2), GFP_KERNEL);
817 if (map2 == NULL) {
823 ret = alloc_active_ring(map2);
827 kfree(map2);
831 ret = create_active(map2, &evtchn);
833 free_active_ring(map2);
834 kfree(map2);
[all...]
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dtlbie_test.c58 static char *map2; variable
580 * Load from the working alias (map1). Loading from map2
586 * Stores must go via map2 which has write permissions, but
589 * copy-back via map2 alias here.
591 memcpy(map2, tmp, size);
663 map2 = shmat(shmid, NULL, 0);
664 if (map2 == (void *) -1) {
676 printf("Allocated address:0x%016lx + secondary map:0x%016lx\n", (unsigned long)map1, (unsigned long)map2);
/linux-master/drivers/net/ethernet/8390/
H A Dax88796.c88 void __iomem *map2; member in struct:ax_device
827 if (ax->map2) {
828 iounmap(ax->map2);
934 ax->map2 = ioremap(mem2->start, mem2_size);
935 if (!ax->map2) {
941 ei_local->reg_offset[0x1f] = ax->map2 - ei_local->mem;
949 if (!ax->map2)
952 iounmap(ax->map2);
/linux-master/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");
/linux-master/scripts/kconfig/
H A Dconfdata.c50 void *map1, *map2; local
75 map2 = mmap(NULL, st2.st_size, PROT_READ, MAP_PRIVATE, fd2, 0);
76 if (map2 == MAP_FAILED)
79 if (bcmp(map1, map2, st1.st_size))
/linux-master/drivers/acpi/nfit/
H A Dcore.c2281 struct nfit_set_info2 *map2 = &info2[i]; local
2294 map2->region_offset = memdev->region_offset;
2295 map2->serial_number = dcr->serial_number;
2296 map2->vendor_id = dcr->vendor_id;
2297 map2->manufacturing_date = dcr->manufacturing_date;
2298 map2->manufacturing_location = dcr->manufacturing_location;
2315 struct nfit_set_info2 *map2 = &info2[i]; local
2324 if (map2->serial_number == dcr->serial_number &&
2325 map2->vendor_id == dcr->vendor_id &&
2326 map2
[all...]
/linux-master/arch/mips/include/asm/octeon/
H A Dcvmx-pip-defs.h425 uint64_t map2:4; member in struct:cvmx_pip_dsa_src_grp::cvmx_pip_dsa_src_grp_s
431 uint64_t map2:4;
466 uint64_t map2:4; member in struct:cvmx_pip_dsa_vid_grp::cvmx_pip_dsa_vid_grp_s
472 uint64_t map2:4;
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c752 void *map1, *map2; local
771 map2 = (void *)syscall(sysno,
773 EXPECT_EQ(MAP_FAILED, map2);
777 munmap(map2, page_size);

Completed in 197 milliseconds