Home
last modified time | relevance | path

Searched refs:map_flags (Results 1 – 15 of 15) sorted by relevance

/system/core/libion/
Dion_test.c35 int map_flags = MAP_SHARED; variable
83 ret = ion_map(fd, handle, len, prot, map_flags, 0, &ptr, &map_fd); in ion_map_test()
144 ptr = mmap(NULL, len, prot, map_flags, share_fd, 0); in ion_share_test()
201 ptr = mmap(NULL, len, prot, map_flags, recv_fd, 0); in ion_share_test()
244 map_flags = 0; in main()
245 map_flags |= strstr(optarg, "PROT_EXEC") ? PROT_EXEC : 0; in main()
246 map_flags |= strstr(optarg, "PROT_READ") ? PROT_READ: 0; in main()
247 map_flags |= strstr(optarg, "PROT_WRITE") ? PROT_WRITE: 0; in main()
248 map_flags |= strstr(optarg, "PROT_NONE") ? PROT_NONE: 0; in main()
273 " alloc_flags %d\n", test, len, align, map_flags, prot, in main()
/system/core/libunwindstack/tests/
DUnwinderTest.cpp184 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
199 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
214 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
249 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
264 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
279 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
309 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, frame->map_flags); in TEST_F()
339 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, frame->map_flags); in TEST_F()
369 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
400 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
[all …]
/system/extras/simpleperf/
Dthread_tree_test.cpp97 thread_tree_.AddThreadMap(0, 0, 0, 1, 0, "0", map_flags::PROT_JIT_SYMFILE_MAP); in TEST_F()
106 ASSERT_EQ(map->flags, map_flags::PROT_JIT_SYMFILE_MAP); in TEST_F()
DOfflineUnwinder.cpp43 static_assert(simpleperf::map_flags::PROT_JIT_SYMFILE_MAP ==
231 if (frame.map_flags & unwindstack::MAPS_FLAGS_JIT_SYMFILE_MAP) { in UnwindCallChain()
Dthread_tree.h38 namespace map_flags {
Dthread_tree.cpp220 if (map->flags & map_flags::PROT_JIT_SYMFILE_MAP) { in FindSymbol()
Dcmd_record.cpp1301 info.jit_code_addr, info.jit_code_len, 0, map_flags::PROT_JIT_SYMFILE_MAP, in ProcessJITDebugInfo()
/system/bpf/libbpf_android/
DBpfUtils.cpp79 uint32_t map_flags) { in createMap() argument
86 attr.map_flags = map_flags; in createMap()
DLoader.cpp94 unsigned int map_flags; member
412 md[i].max_entries, md[i].map_flags); in createMaps()
/system/bpf/progs/include/
Dbpf_helpers.h106 unsigned int map_flags; member
/system/bpf/libbpf_android/include/bpf/
DBpfMap.h51 BpfMap<Key, Value>(bpf_map_type map_type, uint32_t max_entries, uint32_t map_flags) {
52 int map_fd = createMap(map_type, sizeof(Key), sizeof(Value), max_entries, map_flags);
DBpfUtils.h149 uint32_t map_flags);
/system/core/libunwindstack/
DUnwinder.cpp69 frame->map_flags = info->flags; in FillInDexFrame()
121 frame->map_flags = map_info->flags; in FillInFrame()
/system/core/libunwindstack/include/unwindstack/
DUnwinder.h61 int map_flags = 0; member
/system/core/libbacktrace/
DUnwindStack.cpp126 back_frame->map.flags = frame->map_flags; in Unwind()