Home
last modified time | relevance | path

Searched refs:from_parent (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/filesystems/umount_propagation/
H A Dumount_propagation_test.c152 int from_parent) in slave_child() argument
172 if (send_msg(to_parent, MSG_READY) || recv_msg(from_parent) != MSG_CHECK) in slave_child()
178 if (recv_msg(from_parent) != MSG_CLOSE) in slave_child()
181 if (send_msg(to_parent, MSG_CLOSED) || recv_msg(from_parent) != MSG_EXIT) in slave_child()
/linux/tools/testing/selftests/filesystems/mount_cycle/
H A Dloop_cycle_test.c483 static int crossed_child(int to_parent, int from_parent) in crossed_child() argument
501 if (read(from_parent, &c, 1) != 1) in crossed_child()
513 static int loop_child(int to_parent, int from_parent) in loop_child() argument
529 if (read(from_parent, &c, 1) != 1) in loop_child()
1364 static int holder_child(int to_parent, int from_parent, enum holder holder) in holder_child() argument
1430 read(from_parent, &c, 1) != 1) { in holder_child()
1467 int to_parent[2], from_parent[2]; in holder_cycle() local
1471 ASSERT_EQ(pipe(from_parent), 0); in holder_cycle()
1476 close(from_parent[1]); in holder_cycle()
1477 _exit(holder_child(to_parent[1], from_parent[0], holder)); in holder_cycle()
[all …]
H A Dunmounted_tree_test.c316 static int vacant_child(const struct child_args *a, int to_parent, int from_parent) in vacant_child() argument
330 if (write(to_parent, "", 1) != 1 || read(from_parent, &c, 1) != 1) in vacant_child()
387 static int ordinary_copy(const struct child_args *a, int to_parent, int from_parent) in ordinary_copy() argument
410 if (write(to_parent, "", 1) != 1 || read(from_parent, &c, 1) != 1) in ordinary_copy()
H A Dnsfs_rbind_loop_test.c125 static int newer_ns_child(const char *dir, int fd, int to_parent, int from_parent) in newer_ns_child() argument
131 if (send_msg(to_parent, 'r') || recv_msg(from_parent) != 'g') in newer_ns_child()
H A Dmount_cover_test.c120 static int cover_child(const char *base, int to_parent, int from_parent) in cover_child() argument
165 if (read(from_parent, &cmd, 1) != 1) in cover_child()
/linux/drivers/android/
H A Dbinder.c1510 target_thread->transaction_stack->from_parent; in binder_pop_transaction_ilocked()
1742 next = t->from_parent; in binder_send_failed_reply()
3328 tmp = tmp->from_parent; in binder_transaction()
3791 t->from_parent = thread->transaction_stack; in binder_transaction()
5407 t = t->from_parent; in binder_thread_release()
6524 t = t->from_parent; in print_binder_thread_ilocked()
/linux/drivers/android/binder/
H A Dthread.rs501 t_opt = t.from_parent.as_ref(); in debug_print()