Lines Matching refs:child_sync
38 struct child_sync child_sync; member
77 ret = wait_parent(&info->child_sync); in child()
85 CHILD_FAIL_IF(pkey1 < 0, &info->child_sync); in child()
91 CHILD_FAIL_IF(pkey2 < 0, &info->child_sync); in child()
94 CHILD_FAIL_IF(pkey3 < 0, &info->child_sync); in child()
131 ret = prod_parent(&info->child_sync); in child()
132 CHILD_FAIL_IF(ret, &info->child_sync); in child()
134 ret = wait_parent(&info->child_sync); in child()
142 CHILD_FAIL_IF(reg != info->amr2, &info->child_sync); in child()
147 ret = prod_parent(&info->child_sync); in child()
148 CHILD_FAIL_IF(ret, &info->child_sync); in child()
150 ret = wait_parent(&info->child_sync); in child()
158 CHILD_FAIL_IF(reg != info->amr2, &info->child_sync); in child()
164 ret = prod_parent(&info->child_sync); in child()
165 CHILD_FAIL_IF(ret, &info->child_sync); in child()
167 ret = wait_parent(&info->child_sync); in child()
175 CHILD_FAIL_IF(reg != info->amr2, &info->child_sync); in child()
179 ret = prod_parent(&info->child_sync); in child()
180 CHILD_FAIL_IF(ret, &info->child_sync); in child()
195 PARENT_SKIP_IF_UNSUPPORTED(ret, &info->child_sync, "PKEYs not supported"); in parent()
196 PARENT_FAIL_IF(ret, &info->child_sync); in parent()
203 ret = prod_child(&info->child_sync); in parent()
204 PARENT_FAIL_IF(ret, &info->child_sync); in parent()
206 ret = wait_child(&info->child_sync); in parent()
212 PARENT_FAIL_IF(ret, &info->child_sync); in parent()
217 PARENT_FAIL_IF(regs[0] != info->amr1, &info->child_sync); in parent()
218 PARENT_FAIL_IF(regs[1] != info->expected_iamr, &info->child_sync); in parent()
219 PARENT_FAIL_IF(regs[2] != info->expected_uamor, &info->child_sync); in parent()
223 PARENT_FAIL_IF(ret, &info->child_sync); in parent()
228 ret = prod_child(&info->child_sync); in parent()
229 PARENT_FAIL_IF(ret, &info->child_sync); in parent()
231 ret = wait_child(&info->child_sync); in parent()
237 PARENT_FAIL_IF(ret, &info->child_sync); in parent()
242 ret = prod_child(&info->child_sync); in parent()
243 PARENT_FAIL_IF(ret, &info->child_sync); in parent()
245 ret = wait_child(&info->child_sync); in parent()
253 PARENT_FAIL_IF(!ret, &info->child_sync); in parent()
261 PARENT_FAIL_IF(!ret, &info->child_sync); in parent()
268 PARENT_FAIL_IF(ret, &info->child_sync); in parent()
273 PARENT_FAIL_IF(regs[0] != info->amr2, &info->child_sync); in parent()
274 PARENT_FAIL_IF(regs[1] != info->expected_iamr, &info->child_sync); in parent()
275 PARENT_FAIL_IF(regs[2] != info->expected_uamor, &info->child_sync); in parent()
278 ret = prod_child(&info->child_sync); in parent()
279 PARENT_FAIL_IF(ret, &info->child_sync); in parent()
304 ret = init_child_sync(&info->child_sync); in ptrace_pkey()
320 destroy_child_sync(&info->child_sync); in ptrace_pkey()