| /tools/testing/selftests/uevent/ |
| A D | uevent_filtering.c | 42 ssize_t write_nointr(int fd, const void *buf, size_t count) in write_nointr() function 148 ret = write_nointr(sync_fd, &sync_add, sizeof(sync_add)); in uevent_listener() 182 (void)write_nointr(STDERR_FILENO, buf, r); in uevent_listener() 183 (void)write_nointr(STDERR_FILENO, "\n", 1); in uevent_listener() 209 ret = write_nointr(fd, "add\n", sizeof("add\n") - 1); in trigger_uevent()
|
| /tools/testing/selftests/filesystems/ |
| A D | utils.c | 127 static ssize_t write_nointr(int fd, const void *buf, size_t count) in write_nointr() function 200 ret = write_nointr(setgroups_fd, "deny\n", STRLITERALLEN("deny\n")); in write_id_mapping() 218 ret = write_nointr(fd, buf, buf_size); in write_id_mapping() 368 ret = write_nointr(h->fd_event, "1", 1); in userns_fd_cb() 412 bytes = write_nointr(fd_socket[0], "1", 1); /* Inform the child we wrote a mapping. */ in create_userns_hierarchy() 414 bytes = write_nointr(fd_socket[0], "0", 1); /* Inform the child we didn't write a mapping. */ in create_userns_hierarchy()
|
| /tools/testing/selftests/filesystems/binderfs/ |
| A D | binderfs_test.c | 235 static ssize_t write_nointr(int fd, const void *buf, size_t count) in write_nointr() function 262 ret = write_nointr(setgroups_fd, "deny", sizeof("deny") - 1); in write_id_mapping() 286 ret = write_nointr(fd, buf, buf_size); in write_id_mapping() 307 ret = write_nointr(syncfds[0], "1", 1); in change_userns() 349 ret = write_nointr(syncfds[1], "1", 1); in change_idmaps()
|
| /tools/testing/selftests/pidfd/ |
| A D | pidfd_info_test.c | 56 if (write_nointr(ipc_sockets[1], "1", 1) < 0) in FIXTURE_SETUP() 81 if (write_nointr(ipc_sockets[1], "1", 1) < 0) in FIXTURE_SETUP() 227 if (write_nointr(ipc_socket, &pid_thread, sizeof(pid_thread)) != sizeof(pid_thread)) in pidfd_info_pause_thread() 403 if (write_nointr(ipc_socket, &pid_thread, sizeof(pid_thread)) != sizeof(pid_thread)) in pidfd_info_thread_exec() 483 ASSERT_EQ(write_nointr(ipc_sockets[0], &pid_thread, sizeof(pid_thread)), sizeof(pid_thread)); in TEST_F() 552 if (write_nointr(ipc_socket, &pid_thread, sizeof(pid_thread)) != sizeof(pid_thread)) in pidfd_info_thread_exec_sane() 631 ASSERT_EQ(write_nointr(ipc_sockets[0], &pid_thread, sizeof(pid_thread)), sizeof(pid_thread)); in TEST_F()
|
| A D | pidfd_file_handle_test.c | 59 if (write_nointr(ipc_sockets[1], "1", 1) < 0) in FIXTURE_SETUP() 81 if (write_nointr(ipc_sockets[1], "1", 1) < 0) in FIXTURE_SETUP() 103 if (write_nointr(ipc_sockets[1], "1", 1) < 0) in FIXTURE_SETUP()
|
| A D | pidfd.h | 281 static inline ssize_t write_nointr(int fd, const void *buf, size_t count) in write_nointr() function
|
| A D | pidfd_setns_test.c | 197 if (write_nointr(ipc_sockets[1], "1", 1) < 0) in FIXTURE_SETUP() 251 if (write_nointr(ipc_sockets[1], "1", 1) < 0) in FIXTURE_SETUP()
|
| /tools/testing/selftests/coredump/ |
| A D | stackdump_test.c | 318 if (write_nointr(ipc_sockets[1], "1", 1) < 0) in TEST_F() 427 if (write_nointr(ipc_sockets[1], "1", 1) < 0) in TEST_F() 561 if (write_nointr(ipc_sockets[1], "1", 1) < 0) in TEST_F() 754 if (write_nointr(ipc_sockets[1], "1", 1) < 0) in TEST_F() 878 if (write_nointr(ipc_sockets[1], "1", 1) < 0) in TEST_F() 991 if (write_nointr(ipc_sockets[1], "1", 1) < 0) in TEST_F() 1104 if (write_nointr(ipc_sockets[1], "1", 1) < 0) in TEST_F() 1202 if (write_nointr(ipc_sockets[1], "1", 1) < 0) in TEST_F() 1299 if (write_nointr(ipc_sockets[1], "1", 1) < 0) in TEST_F() 1398 if (write_nointr(ipc_sockets[1], "1", 1) < 0) in TEST_F() [all …]
|
| /tools/testing/selftests/move_mount_set_group/ |
| A D | move_mount_set_group_test.c | 48 static ssize_t write_nointr(int fd, const void *buf, size_t count) in write_nointr() function 68 ret = write_nointr(fd, buf, count); in write_file()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | token.c | 217 static ssize_t write_nointr(int fd, const void *buf, size_t count) in write_nointr() function 237 ret = write_nointr(fd, buf, count); in write_file()
|
| /tools/testing/selftests/mount_setattr/ |
| A D | mount_setattr_test.c | 150 static ssize_t write_nointr(int fd, const void *buf, size_t count) in write_nointr() function 170 ret = write_nointr(fd, buf, count); in write_file()
|
| /tools/testing/selftests/filesystems/overlayfs/ |
| A D | set_layers_via_fds.c | 419 ASSERT_EQ(write_nointr(ipc_sockets[0], "1", 1), 1); in TEST_F()
|