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", RC_CHK_ACCESS(maps) == RC_CHK_ACCESS(thread__maps(t1)));
50 TEST_ASSERT_VAL("maps don't match", RC_CHK_ACCESS(maps) == RC_CHK_ACCESS(thread__maps(t2)));
51 TEST_ASSERT_VAL("maps don't match", RC_CHK_ACCESS(maps) == RC_CHK_ACCESS(thread__maps(t3)));
55 * It should have shared maps with no change in
76 TEST_ASSERT_VAL("maps don't match", RC_CHK_ACCESS(other_maps) ==
81 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 3);
84 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 2);
87 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 1);
101 DEFINE_SUITE("Share thread maps", thread_maps_share);