Lines Matching refs:map_data
6 struct map_data { struct
19 const size_t map_sz = roundup_page(sizeof(struct map_data)); in test_mmap() argument
28 struct map_data *map_data; in test_mmap() local
90 map_data = map_mmaped; in test_mmap()
96 CHECK_FAIL(map_data->val[0]); in test_mmap()
97 CHECK_FAIL(map_data->val[1]); in test_mmap()
98 CHECK_FAIL(map_data->val[2]); in test_mmap()
99 CHECK_FAIL(map_data->val[far]); in test_mmap()
115 CHECK_FAIL(map_data->val[0] != 111); in test_mmap()
116 CHECK_FAIL(map_data->val[1] != 222); in test_mmap()
117 CHECK_FAIL(map_data->val[2] != 123); in test_mmap()
118 CHECK_FAIL(map_data->val[far] != 3 * 123); in test_mmap()
158 map_data = map_mmaped; in test_mmap()
193 CHECK_FAIL(map_data->val[0] != 111); in test_mmap()
194 CHECK_FAIL(map_data->val[1] != 222); in test_mmap()
195 CHECK_FAIL(map_data->val[2] != 321); in test_mmap()
196 CHECK_FAIL(map_data->val[far] != 3 * 321); in test_mmap()
240 map_data = tmp2; in test_mmap()
245 CHECK_FAIL(map_data->val[0] != 111); in test_mmap()
246 CHECK_FAIL(map_data->val[1] != 222); in test_mmap()
247 CHECK_FAIL(map_data->val[2] != 321); in test_mmap()
248 CHECK_FAIL(map_data->val[far] != 3 * 321); in test_mmap()