Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/mm/
H A Dsoft-dirty.c51 char *map, *map2; in test_vma_reuse()
64 map2 = mmap(NULL, pagesize, (PROT_READ | PROT_WRITE), (MAP_PRIVATE | MAP_ANON), -1, 0); in test_vma_reuse()
65 if (map2 == MAP_FAILED) in test_vma_reuse()
69 if (map == map2) in test_vma_reuse()
70 ksft_test_result(pagemap_is_softdirty(pagemap_fd, map2) == 1, in test_vma_reuse()
75 munmap(map2, pagesize); in test_vma_reuse()
191 char *reserved, *map, *map2; in test_merge()
234 map2 = mmap(&reserved[3 * pagesize], pagesize, PROT_READ | PROT_WRITE, in test_merge()
236 if (map2 == MAP_FAILED) in test_merge()
250 map2 in test_merge()
52 char *map, *map2; test_vma_reuse() local
192 char *reserved, *map, *map2; test_merge() local
[all...]
/linux/tools/testing/selftests/bpf/progs/
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 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 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");
/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()
/linux/drivers/xen/
H A Dpvcalls-front.c830 struct sock_mapping *map2 = NULL; in pvcalls_front_accept() local
855 map2 = map->passive.accept_map; in pvcalls_front_accept()
878 map2 = kzalloc_obj(*map2); in pvcalls_front_accept()
879 if (map2 == NULL) { in pvcalls_front_accept()
885 ret = alloc_active_ring(map2); in pvcalls_front_accept()
889 kfree(map2); in pvcalls_front_accept()
893 ret = create_active(map2, &evtchn); in pvcalls_front_accept()
895 free_active_ring(map2); in pvcalls_front_accept()
896 kfree(map2); in pvcalls_front_accept()
909 pvcalls_front_free_map(bedata, map2); in pvcalls_front_accept()
[all …]
/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()
/linux/arch/arm/boot/dts/samsung/
H A Dexynos5422-odroidxu3-common.dtsi101 map2 {
184 map2 {
257 map2 {
330 map2 {
403 map2 {
H A Dexynos5420-arndale-octa.dts137 map2 {
200 map2 {
263 map2 {
326 map2 {
H A Dexynos4412-odroidu3.dts83 map2 {
/linux/drivers/gpu/drm/amd/display/modules/inc/
H A Dmod_shared.h104 enum lut3d_control_gamut_map map2; member
/linux/arch/arm64/boot/dts/freescale/
H A Dimx93-phyboard-nash-pwm-fan.dtso51 map2 {
/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");
/linux/scripts/kconfig/
H A Dconfdata.c51 void *map1, *map2; in is_same() local
76 map2 = mmap(NULL, st2.st_size, PROT_READ, MAP_PRIVATE, fd2, 0); in is_same()
77 if (map2 == MAP_FAILED) in is_same()
80 if (memcmp(map1, map2, st1.st_size)) in is_same()
/linux/net/ethtool/
H A Dbitset.c432 * @map2: second bitmap
437 static bool ethnl_bitmap32_equal(const u32 *map1, const u32 *map2, in ethnl_bitmap32_equal() argument
440 if (memcmp(map1, map2, nbits / 32 * sizeof(u32))) in ethnl_bitmap32_equal()
444 return !((map1[nbits / 32] ^ map2[nbits / 32]) & in ethnl_bitmap32_equal()
/linux/arch/arm64/boot/dts/marvell/
H A Darmada-ap80x.dtsi423 map2_hot: map2-hot {
428 map2_emerg: map2-emerg {
H A Darmada-8040-clearfog-gt-8k.dts169 map2 {
217 map2 {
/linux/arch/riscv/boot/dts/sophgo/
H A Dsg2042-evb-v2.dts69 map2 {
H A Dsg2042-evb-v1.dts81 map2 {
/linux/Documentation/driver-api/
H A Dio-mapping.rst60 addr2 = io_mapping_map_local_wc(map2, offset2);
/linux/fs/ext4/
H A Dinode.c585 struct ext4_map_blocks map2; in ext4_map_query_blocks()
595 /* Prepare map2 for lookup in next leaf block */ in ext4_map_query_blocks()
596 map2.m_lblk = map->m_lblk + map->m_len; in ext4_map_query_blocks()
597 map2.m_len = orig_mlen - map->m_len; in ext4_map_query_blocks()
598 map2.m_flags = 0; in ext4_map_query_blocks()
599 retval = ext4_ext_map_blocks(handle, inode, &map2, 0); in ext4_map_query_blocks()
607 if (unlikely(retval != map2.m_len)) { in ext4_map_create_blocks()
611 inode->i_ino, retval, map2.m_len); in ext4_map_create_blocks()
615 status2 = map2.m_flags & EXT4_MAP_UNWRITTEN ? in ext4_map_create_blocks()
619 * If map2 i in ext4_map_create_blocks()
507 struct ext4_map_blocks map2; ext4_map_query_blocks_next_in_leaf() local
[all...]
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3399-khadas-edge.dtsi222 map2 {
279 map2 {
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pip-defs.h425 uint64_t map2:4; member
431 uint64_t map2:4;
466 uint64_t map2:4; member
472 uint64_t map2:4;

12