Lines Matching defs:maps
15 struct maps *maps;
19 struct maps *other_maps;
24 * maintain maps info (struct maps).
45 maps = thread__maps(leader);
46 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 4);
48 /* test the maps pointer is shared */
49 TEST_ASSERT_VAL("maps don't match", maps__equal(maps, thread__maps(t1)));
50 TEST_ASSERT_VAL("maps don't match", maps__equal(maps, thread__maps(t2)));
51 TEST_ASSERT_VAL("maps don't match", maps__equal(maps, thread__maps(t3)));
55 * It should have shared maps with no change in
76 TEST_ASSERT_VAL("maps don't match", maps__equal(other_maps, thread__maps(other_leader)));
80 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 3);
83 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 2);
86 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 1);
100 DEFINE_SUITE("Share thread maps", thread_maps_share);