Home
last modified time | relevance | path

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

/system/memory/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.cpp188 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
203 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
218 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
253 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
268 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
283 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
313 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, frame->map_flags); in TEST_F()
343 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, frame->map_flags); in TEST_F()
373 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
404 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
[all …]
/system/bpf/libbpf_android/include/bpf/
DBpfUtils.h67 uint32_t max_entries, uint32_t map_flags) { in createMap() argument
73 .map_flags = map_flags, in createMap()
DBpfMap.h60 BpfMap<Key, Value>(bpf_map_type map_type, uint32_t max_entries, uint32_t map_flags = 0) {
61 int map_fd = createMap(map_type, sizeof(Key), sizeof(Value), max_entries, map_flags);
/system/bpf/progs/include/
Dbpf_map_def.h45 unsigned int map_flags; member
/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.cpp47 static_assert(simpleperf::map_flags::PROT_JIT_SYMFILE_MAP ==
139 } else if (entry->flags & map_flags::PROT_JIT_SYMFILE_MAP) { in CreateMapInfo()
267 if (frame.map_flags & unwindstack::MAPS_FLAGS_JIT_SYMFILE_MAP) { in UnwindCallChain()
Dthread_tree.h38 namespace map_flags {
Dthread_tree.cpp233 if (map->flags & map_flags::PROT_JIT_SYMFILE_MAP) { in FindSymbol()
Dcmd_record.cpp1408 info.jit_code_len, info.file_offset, map_flags::PROT_JIT_SYMFILE_MAP, in ProcessJITDebugInfo()
/system/core/libunwindstack/
DUnwinder.cpp71 frame->map_flags = info->flags; in FillInDexFrame()
123 frame->map_flags = map_info->flags; in FillInFrame()
437 frame.map_flags = map_info->flags; in BuildFrameFromPcOnly()
/system/core/libunwindstack/include/unwindstack/
DUnwinder.h61 int map_flags = 0; member
/system/core/libbacktrace/
DUnwindStack.cpp133 back_frame->map.flags = frame->map_flags; in Unwind()
/system/bpf/libbpf_android/
DLoader.cpp439 md[i].max_entries, md[i].map_flags)); in createMaps()