Lines Matching refs:n2
28 int n2; in FIXTURE() local
38 self->n2 = -1; in FIXTURE_SETUP()
45 self->n2 = n; in FIXTURE_SETUP()
62 int migrate(uint64_t *ptr, int n1, int n2) in migrate() argument
78 ret = move_pages(0, 1, (void **) &ptr, &n2, &status, in migrate()
88 tmp = n2; in migrate()
89 n2 = n1; in migrate()
119 if (self->nthreads < 2 || self->n1 < 0 || self->n2 < 0)
131 ASSERT_EQ(migrate(ptr, self->n1, self->n2), 0);
145 if (self->nthreads < 2 || self->n1 < 0 || self->n2 < 0)
161 ASSERT_EQ(migrate(ptr, self->n1, self->n2), 0);
174 if (self->nthreads < 2 || self->n1 < 0 || self->n2 < 0)
188 ASSERT_EQ(migrate(ptr, self->n1, self->n2), 0);