Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/powerpc/ptrace/
Dptrace-pkey.c38 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()
[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, "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()