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

/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-pkey.c38 struct child_sync child_sync; member in struct:shared_info
77 ret = wait_parent(&info->child_sync);
85 CHILD_FAIL_IF(pkey1 < 0, &info->child_sync);
91 CHILD_FAIL_IF(pkey2 < 0, &info->child_sync);
94 CHILD_FAIL_IF(pkey3 < 0, &info->child_sync);
131 ret = prod_parent(&info->child_sync);
132 CHILD_FAIL_IF(ret, &info->child_sync);
134 ret = wait_parent(&info->child_sync);
142 CHILD_FAIL_IF(reg != info->amr2, &info->child_sync);
[all...]
H A Dchild.h15 struct child_sync { struct
60 int init_child_sync(struct child_sync *sync)
79 void destroy_child_sync(struct child_sync *sync)
85 int wait_child(struct child_sync *sync)
99 int prod_child(struct child_sync *sync)
113 int wait_parent(struct child_sync *sync)
127 int prod_parent(struct child_sync *sync)
H A Dcore-pkey.c49 struct child_sync child_sync; member in struct:shared_info
117 ret = wait_parent(&info->child_sync);
269 PARENT_SKIP_IF_UNSUPPORTED(ret, &info->child_sync, "PKEYs not supported");
270 PARENT_FAIL_IF(ret, &info->child_sync);
277 ret = prod_child(&info->child_sync);
278 PARENT_FAIL_IF(ret, &info->child_sync);
421 ret = init_child_sync(&info->child_sync);
437 destroy_child_sync(&info->child_sync);

Completed in 119 milliseconds