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