child_sync 60 tools/testing/selftests/powerpc/ptrace/child.h int init_child_sync(struct child_sync *sync) child_sync 79 tools/testing/selftests/powerpc/ptrace/child.h void destroy_child_sync(struct child_sync *sync) child_sync 85 tools/testing/selftests/powerpc/ptrace/child.h int wait_child(struct child_sync *sync) child_sync 99 tools/testing/selftests/powerpc/ptrace/child.h int prod_child(struct child_sync *sync) child_sync 113 tools/testing/selftests/powerpc/ptrace/child.h int wait_parent(struct child_sync *sync) child_sync 127 tools/testing/selftests/powerpc/ptrace/child.h int prod_parent(struct child_sync *sync) child_sync 49 tools/testing/selftests/powerpc/ptrace/core-pkey.c struct child_sync child_sync; child_sync 117 tools/testing/selftests/powerpc/ptrace/core-pkey.c ret = wait_parent(&info->child_sync); child_sync 269 tools/testing/selftests/powerpc/ptrace/core-pkey.c PARENT_SKIP_IF_UNSUPPORTED(ret, &info->child_sync); child_sync 270 tools/testing/selftests/powerpc/ptrace/core-pkey.c PARENT_FAIL_IF(ret, &info->child_sync); child_sync 277 tools/testing/selftests/powerpc/ptrace/core-pkey.c ret = prod_child(&info->child_sync); child_sync 278 tools/testing/selftests/powerpc/ptrace/core-pkey.c PARENT_FAIL_IF(ret, &info->child_sync); child_sync 431 tools/testing/selftests/powerpc/ptrace/core-pkey.c ret = init_child_sync(&info->child_sync); child_sync 447 tools/testing/selftests/powerpc/ptrace/core-pkey.c destroy_child_sync(&info->child_sync); child_sync 38 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c struct child_sync child_sync; child_sync 82 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c ret = wait_parent(&info->child_sync); child_sync 90 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c CHILD_FAIL_IF(pkey1 < 0, &info->child_sync); child_sync 96 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c CHILD_FAIL_IF(pkey2 < 0, &info->child_sync); child_sync 99 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c CHILD_FAIL_IF(pkey3 < 0, &info->child_sync); child_sync 132 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c ret = prod_parent(&info->child_sync); child_sync 133 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c CHILD_FAIL_IF(ret, &info->child_sync); child_sync 135 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c ret = wait_parent(&info->child_sync); child_sync 143 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c CHILD_FAIL_IF(reg != info->amr2, &info->child_sync); child_sync 148 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c ret = prod_parent(&info->child_sync); child_sync 149 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c CHILD_FAIL_IF(ret, &info->child_sync); child_sync 151 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c ret = wait_parent(&info->child_sync); child_sync 159 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c CHILD_FAIL_IF(reg != info->amr2, &info->child_sync); child_sync 165 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c ret = prod_parent(&info->child_sync); child_sync 166 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c CHILD_FAIL_IF(ret, &info->child_sync); child_sync 168 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c ret = wait_parent(&info->child_sync); child_sync 176 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c CHILD_FAIL_IF(reg != info->amr2, &info->child_sync); child_sync 180 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c ret = prod_parent(&info->child_sync); child_sync 181 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c CHILD_FAIL_IF(ret, &info->child_sync); child_sync 196 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c PARENT_SKIP_IF_UNSUPPORTED(ret, &info->child_sync); child_sync 197 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c PARENT_FAIL_IF(ret, &info->child_sync); child_sync 204 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c ret = prod_child(&info->child_sync); child_sync 205 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c PARENT_FAIL_IF(ret, &info->child_sync); child_sync 207 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c ret = wait_child(&info->child_sync); child_sync 213 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c PARENT_FAIL_IF(ret, &info->child_sync); child_sync 218 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c PARENT_FAIL_IF(regs[0] != info->amr1, &info->child_sync); child_sync 219 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c PARENT_FAIL_IF(regs[1] != info->expected_iamr, &info->child_sync); child_sync 220 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c PARENT_FAIL_IF(regs[2] != info->expected_uamor, &info->child_sync); child_sync 224 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c PARENT_FAIL_IF(ret, &info->child_sync); child_sync 229 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c ret = prod_child(&info->child_sync); child_sync 230 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c PARENT_FAIL_IF(ret, &info->child_sync); child_sync 232 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c ret = wait_child(&info->child_sync); child_sync 238 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c PARENT_FAIL_IF(ret, &info->child_sync); child_sync 243 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c ret = prod_child(&info->child_sync); child_sync 244 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c PARENT_FAIL_IF(ret, &info->child_sync); child_sync 246 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c ret = wait_child(&info->child_sync); child_sync 254 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c PARENT_FAIL_IF(!ret, &info->child_sync); child_sync 262 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c PARENT_FAIL_IF(!ret, &info->child_sync); child_sync 269 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c PARENT_FAIL_IF(ret, &info->child_sync); child_sync 274 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c PARENT_FAIL_IF(regs[0] != info->amr2, &info->child_sync); child_sync 275 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c PARENT_FAIL_IF(regs[1] != info->expected_iamr, &info->child_sync); child_sync 276 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c PARENT_FAIL_IF(regs[2] != info->expected_uamor, &info->child_sync); child_sync 279 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c ret = prod_child(&info->child_sync); child_sync 280 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c PARENT_FAIL_IF(ret, &info->child_sync); child_sync 305 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c ret = init_child_sync(&info->child_sync); child_sync 321 tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c destroy_child_sync(&info->child_sync);