Home
last modified time | relevance | path

Searched refs:map_flags (Results 1 – 8 of 8) 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.cpp168 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
182 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
196 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
229 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
243 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
257 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
285 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, frame->map_flags); in TEST_F()
313 EXPECT_EQ(PROT_READ | PROT_WRITE | PROT_EXEC, frame->map_flags); in TEST_F()
341 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
376 EXPECT_EQ(PROT_READ | PROT_WRITE, frame->map_flags); in TEST_F()
[all …]
/system/netd/libbpf/
DBpfUtils.cpp73 uint32_t map_flags) { in createMap() argument
80 attr.map_flags = map_flags; in createMap()
/system/core/libunwindstack/include/unwindstack/
DUnwinder.h55 int map_flags = 0; member
/system/core/libunwindstack/
DUnwinder.cpp63 frame->map_flags = info->flags; in FillInDexFrame()
103 frame->map_flags = map_info->flags; in FillInFrame()
/system/netd/libbpf/include/bpf/
DBpfUtils.h134 uint32_t max_entries, uint32_t map_flags);
DBpfMap.h104 BpfMap<Key, Value>(bpf_map_type map_type, uint32_t max_entries, uint32_t map_flags) {
105 int map_fd = createMap(map_type, sizeof(Key), sizeof(Value), max_entries, map_flags);
/system/core/libbacktrace/
DUnwindStack.cpp125 back_frame->map.flags = frame->map_flags; in Unwind()