Home
last modified time | relevance | path

Searched refs:child_sync (Results 1 – 3 of 3) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dptrace-pkey.c38 struct child_sync child_sync; member
82 ret = wait_parent(&info->child_sync); in child()
90 CHILD_FAIL_IF(pkey1 < 0, &info->child_sync); in child()
96 CHILD_FAIL_IF(pkey2 < 0, &info->child_sync); in child()
99 CHILD_FAIL_IF(pkey3 < 0, &info->child_sync); in child()
132 ret = prod_parent(&info->child_sync); in child()
133 CHILD_FAIL_IF(ret, &info->child_sync); in child()
135 ret = wait_parent(&info->child_sync); in child()
143 CHILD_FAIL_IF(reg != info->amr2, &info->child_sync); in child()
148 ret = prod_parent(&info->child_sync); in child()
[all …]
Dchild.h15 struct child_sync { struct
60 int init_child_sync(struct child_sync *sync) in init_child_sync()
79 void destroy_child_sync(struct child_sync *sync) in destroy_child_sync()
85 int wait_child(struct child_sync *sync) in wait_child()
99 int prod_child(struct child_sync *sync) in prod_child()
113 int wait_parent(struct child_sync *sync) in wait_parent()
127 int prod_parent(struct child_sync *sync) in prod_parent()
Dcore-pkey.c49 struct child_sync child_sync; member
117 ret = wait_parent(&info->child_sync); in child()
269 PARENT_SKIP_IF_UNSUPPORTED(ret, &info->child_sync); in parent()
270 PARENT_FAIL_IF(ret, &info->child_sync); in parent()
277 ret = prod_child(&info->child_sync); in parent()
278 PARENT_FAIL_IF(ret, &info->child_sync); in parent()
434 ret = init_child_sync(&info->child_sync); in core_pkey()
450 destroy_child_sync(&info->child_sync); in core_pkey()