Searched refs:errno_pipe_fd (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/machine/ |
D | image-dbus.c | 34 _cleanup_close_pair_ int errno_pipe_fd[2] = { -1, -1 }; in bus_image_method_remove() local 66 if (pipe2(errno_pipe_fd, O_CLOEXEC|O_NONBLOCK) < 0) in bus_image_method_remove() 73 errno_pipe_fd[0] = safe_close(errno_pipe_fd[0]); in bus_image_method_remove() 77 (void) write(errno_pipe_fd[1], &r, sizeof(r)); in bus_image_method_remove() 84 errno_pipe_fd[1] = safe_close(errno_pipe_fd[1]); in bus_image_method_remove() 86 r = operation_new(m, NULL, child, message, errno_pipe_fd[0], NULL); in bus_image_method_remove() 92 errno_pipe_fd[0] = -1; in bus_image_method_remove() 150 _cleanup_close_pair_ int errno_pipe_fd[2] = { -1, -1 }; in bus_image_method_clone() local 192 if (pipe2(errno_pipe_fd, O_CLOEXEC|O_NONBLOCK) < 0) in bus_image_method_clone() 199 errno_pipe_fd[0] = safe_close(errno_pipe_fd[0]); in bus_image_method_clone() [all …]
|
D | machine-dbus.c | 908 _cleanup_close_pair_ int errno_pipe_fd[2] = { -1, -1 }; in bus_machine_method_copy() local 985 if (pipe2(errno_pipe_fd, O_CLOEXEC|O_NONBLOCK) < 0) in bus_machine_method_copy() 996 errno_pipe_fd[0] = safe_close(errno_pipe_fd[0]); in bus_machine_method_copy() 1035 (void) write(errno_pipe_fd[1], &r, sizeof(r)); in bus_machine_method_copy() 1039 errno_pipe_fd[1] = safe_close(errno_pipe_fd[1]); in bus_machine_method_copy() 1043 r = operation_new(m->manager, m, child, message, errno_pipe_fd[0], NULL); in bus_machine_method_copy() 1048 errno_pipe_fd[0] = -1; in bus_machine_method_copy()
|
D | machined-dbus.c | 693 _cleanup_close_pair_ int errno_pipe_fd[2] = { -1, -1 }; in method_clean_pool() local 737 if (pipe2(errno_pipe_fd, O_CLOEXEC|O_NONBLOCK) < 0) in method_clean_pool() 757 errno_pipe_fd[0] = safe_close(errno_pipe_fd[0]); in method_clean_pool() 817 (void) write(errno_pipe_fd[1], &r, sizeof(r)); in method_clean_pool() 821 errno_pipe_fd[1] = safe_close(errno_pipe_fd[1]); in method_clean_pool() 825 r = operation_new(m, NULL, child, message, errno_pipe_fd[0], &operation); in method_clean_pool() 835 errno_pipe_fd[0] = -1; in method_clean_pool()
|
/systemd-251/src/shared/ |
D | mount-util.c | 786 _cleanup_close_pair_ int errno_pipe_fd[2] = { -1, -1 }; in mount_in_namespace() local 929 if (pipe2(errno_pipe_fd, O_CLOEXEC|O_NONBLOCK) < 0) { in mount_in_namespace() 941 errno_pipe_fd[0] = safe_close(errno_pipe_fd[0]); in mount_in_namespace() 960 (void) write(errno_pipe_fd[1], &r, sizeof(r)); in mount_in_namespace() 961 errno_pipe_fd[1] = safe_close(errno_pipe_fd[1]); in mount_in_namespace() 966 errno_pipe_fd[1] = safe_close(errno_pipe_fd[1]); in mount_in_namespace() 974 if (read(errno_pipe_fd[0], &r, sizeof(r)) == sizeof(r)) in mount_in_namespace()
|
/systemd-251/src/portable/ |
D | portabled-image-bus.c | 489 _cleanup_close_pair_ int errno_pipe_fd[2] = { -1, -1 }; in bus_image_common_remove() local 531 if (pipe2(errno_pipe_fd, O_CLOEXEC|O_NONBLOCK) < 0) in bus_image_common_remove() 538 errno_pipe_fd[0] = safe_close(errno_pipe_fd[0]); in bus_image_common_remove() 542 (void) write(errno_pipe_fd[1], &r, sizeof(r)); in bus_image_common_remove() 549 errno_pipe_fd[1] = safe_close(errno_pipe_fd[1]); in bus_image_common_remove() 551 r = operation_new(m, child, message, errno_pipe_fd[0], NULL); in bus_image_common_remove() 556 errno_pipe_fd[0] = -1; in bus_image_common_remove()
|