Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-pkey.c38 struct child_sync child_sync; member
77 ret = wait_parent(&info->child_sync); in child()
131 ret = prod_parent(&info->child_sync); in child()
134 ret = wait_parent(&info->child_sync); in child()
147 ret = prod_parent(&info->child_sync); in child()
203 ret = prod_child(&info->child_sync); in parent()
206 ret = wait_child(&info->child_sync); in parent()
228 ret = prod_child(&info->child_sync); in parent()
231 ret = wait_child(&info->child_sync); in parent()
242 ret = prod_child(&info->child_sync); in parent()
[all …]
H A 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()
H A 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, "PKEYs not supported"); 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()
421 ret = init_child_sync(&info->child_sync); in core_pkey()
437 destroy_child_sync(&info->child_sync); in core_pkey()