Lines Matching refs:iden
130 u16 iden; in test_gs_bitmap() local
134 for (u16 iden = KVMPPC_GSID_HOST_STATE_SIZE; in test_gs_bitmap() local
135 iden <= KVMPPC_GSID_PROCESS_TABLE; iden++) { in test_gs_bitmap()
136 kvmppc_gsbm_set(&gsbm, iden); in test_gs_bitmap()
137 kvmppc_gsbm_set(&gsbm1, iden); in test_gs_bitmap()
138 KUNIT_EXPECT_TRUE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
139 kvmppc_gsbm_clear(&gsbm, iden); in test_gs_bitmap()
140 KUNIT_EXPECT_FALSE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
144 for (u16 iden = KVMPPC_GSID_RUN_INPUT; iden <= KVMPPC_GSID_VPA; in test_gs_bitmap() local
145 iden++) { in test_gs_bitmap()
146 kvmppc_gsbm_set(&gsbm, iden); in test_gs_bitmap()
147 kvmppc_gsbm_set(&gsbm1, iden); in test_gs_bitmap()
148 KUNIT_EXPECT_TRUE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
149 kvmppc_gsbm_clear(&gsbm, iden); in test_gs_bitmap()
150 KUNIT_EXPECT_FALSE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
154 for (u16 iden = KVMPPC_GSID_GPR(0); iden <= KVMPPC_GSE_DW_REGS_END; iden++) { in test_gs_bitmap() local
155 kvmppc_gsbm_set(&gsbm, iden); in test_gs_bitmap()
156 kvmppc_gsbm_set(&gsbm1, iden); in test_gs_bitmap()
157 KUNIT_EXPECT_TRUE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
158 kvmppc_gsbm_clear(&gsbm, iden); in test_gs_bitmap()
159 KUNIT_EXPECT_FALSE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
163 for (u16 iden = KVMPPC_GSID_CR; iden <= KVMPPC_GSID_PSPB; iden++) { in test_gs_bitmap() local
164 kvmppc_gsbm_set(&gsbm, iden); in test_gs_bitmap()
165 kvmppc_gsbm_set(&gsbm1, iden); in test_gs_bitmap()
166 KUNIT_EXPECT_TRUE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
167 kvmppc_gsbm_clear(&gsbm, iden); in test_gs_bitmap()
168 KUNIT_EXPECT_FALSE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
172 for (u16 iden = KVMPPC_GSID_VSRS(0); iden <= KVMPPC_GSID_VSRS(63); in test_gs_bitmap() local
173 iden++) { in test_gs_bitmap()
174 kvmppc_gsbm_set(&gsbm, iden); in test_gs_bitmap()
175 kvmppc_gsbm_set(&gsbm1, iden); in test_gs_bitmap()
176 KUNIT_EXPECT_TRUE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
177 kvmppc_gsbm_clear(&gsbm, iden); in test_gs_bitmap()
178 KUNIT_EXPECT_FALSE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
182 for (u16 iden = KVMPPC_GSID_HDAR; iden <= KVMPPC_GSID_ASDR; iden++) { in test_gs_bitmap() local
183 kvmppc_gsbm_set(&gsbm, iden); in test_gs_bitmap()
184 kvmppc_gsbm_set(&gsbm1, iden); in test_gs_bitmap()
185 KUNIT_EXPECT_TRUE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
186 kvmppc_gsbm_clear(&gsbm, iden); in test_gs_bitmap()
187 KUNIT_EXPECT_FALSE(test, kvmppc_gsbm_test(&gsbm, iden)); in test_gs_bitmap()
192 kvmppc_gsbm_for_each(&gsbm1, iden) in test_gs_bitmap()
194 kvmppc_gsbm_set(&gsbm2, iden); in test_gs_bitmap()