Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/mm/
H A Dsoft-dirty.c52 char *map, *map2; in test_vma_reuse() local
65 map2 = mmap(NULL, pagesize, (PROT_READ | PROT_WRITE), (MAP_PRIVATE | MAP_ANON), -1, 0); in test_vma_reuse()
66 if (map2 == MAP_FAILED) in test_vma_reuse()
70 if (map == map2) in test_vma_reuse()
71 ksft_test_result(pagemap_is_softdirty(pagemap_fd, map2) == 1, in test_vma_reuse()
76 munmap(map2, pagesize); in test_vma_reuse()
189 char *reserved, *map, *map2; in test_merge() local
232 map2 = mmap(&reserved[3 * pagesize], pagesize, PROT_READ | PROT_WRITE, in test_merge()
234 if (map2 == MAP_FAILED) in test_merge()
248 map2 = mremap(map2, pagesize, pagesize, MREMAP_FIXED | MREMAP_MAYMOVE, in test_merge()
[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/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/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/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");
/linux/arch/arm64/boot/dts/exynos/
H A Dexynos5433-tmu.dtsi67 map2 {
241 map2 {
/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()
/linux/drivers/acpi/nfit/
H A Dcore.c2286 struct nfit_set_info2 *map2 = &info2[i]; in acpi_nfit_init_interleave_set() local
2299 map2->region_offset = memdev->region_offset; in acpi_nfit_init_interleave_set()
2300 map2->serial_number = dcr->serial_number; in acpi_nfit_init_interleave_set()
2301 map2->vendor_id = dcr->vendor_id; in acpi_nfit_init_interleave_set()
2302 map2->manufacturing_date = dcr->manufacturing_date; in acpi_nfit_init_interleave_set()
2303 map2->manufacturing_location = dcr->manufacturing_location; in acpi_nfit_init_interleave_set()
2320 struct nfit_set_info2 *map2 = &info2[i]; in acpi_nfit_init_interleave_set() local
2329 if (map2->serial_number == dcr->serial_number && in acpi_nfit_init_interleave_set()
2330 map2->vendor_id == dcr->vendor_id && in acpi_nfit_init_interleave_set()
2331 map2->manufacturing_date == dcr->manufacturing_date && in acpi_nfit_init_interleave_set()
[all …]
/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-milkv-pioneer.dts234 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.c489 struct ext4_map_blocks map2; in ext4_map_query_blocks_next_in_leaf() local
500 map2.m_lblk = map->m_lblk + map->m_len; in ext4_map_query_blocks_next_in_leaf()
501 map2.m_len = orig_mlen - map->m_len; in ext4_map_query_blocks_next_in_leaf()
502 map2.m_flags = 0; in ext4_map_query_blocks_next_in_leaf()
503 retval = ext4_ext_map_blocks(handle, inode, &map2, 0); in ext4_map_query_blocks_next_in_leaf()
511 if (unlikely(retval != map2.m_len)) { in ext4_map_query_blocks_next_in_leaf()
515 inode->i_ino, retval, map2.m_len); in ext4_map_query_blocks_next_in_leaf()
519 status2 = map2.m_flags & EXT4_MAP_UNWRITTEN ? in ext4_map_query_blocks_next_in_leaf()
526 if (map->m_pblk + map->m_len == map2.m_pblk && in ext4_map_query_blocks_next_in_leaf()
529 map->m_len + map2.m_len, map->m_pblk, in ext4_map_query_blocks_next_in_leaf()
[all …]
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3399-khadas-edge.dtsi222 map2 {
279 map2 {

12