Lines Matching refs:Socket
53 Socket *socket;
77 static void flush_ports(Socket *s);
80 Socket *s = SOCKET(u); in socket_init()
106 static void socket_unwatch_control_pid(Socket *s) { in socket_unwatch_control_pid()
123 void socket_free_ports(Socket *s) { in socket_free_ports()
141 Socket *s = SOCKET(u); in socket_done()
180 static int socket_arm_timer(Socket *s, usec_t usec) { in socket_arm_timer()
210 static bool have_non_accept_socket(Socket *s) { in have_non_accept_socket()
228 static int socket_add_mount_dependencies(Socket *s) { in socket_add_mount_dependencies()
252 static int socket_add_device_dependencies(Socket *s) { in socket_add_device_dependencies()
264 static int socket_add_default_dependencies(Socket *s) { in socket_add_default_dependencies()
284 _pure_ static bool socket_has_exec(Socket *s) { in socket_has_exec()
295 static int socket_add_extras(Socket *s) { in socket_add_extras()
366 static const char *socket_find_symlink_target(Socket *s) { in socket_find_symlink_target()
397 static int socket_verify(Socket *s) { in socket_verify()
456 Socket *s = SOCKET(u); in socket_load()
501 int socket_acquire_peer(Socket *s, int fd, SocketPeer **p) { in socket_acquire_peer()
563 Socket *s = SOCKET(u); in socket_dump()
918 static void socket_close_fds(Socket *s) { in socket_close_fds()
965 static void socket_apply_socket_options(Socket *s, SocketPort *p, int fd) { in socket_apply_socket_options()
1101 static void socket_apply_fifo_options(Socket *s, int fd) { in socket_apply_fifo_options()
1262 static int socket_symlink(Socket *s) { in socket_symlink()
1362 int socket_load_service_unit(Socket *s, int cfd, Unit **ret) { in socket_load_service_unit()
1407 static int socket_determine_selinux_label(Socket *s, char **ret) { in socket_determine_selinux_label()
1454 Socket *s, in socket_address_listen_do()
1503 Socket *s, in socket_address_listen_in_cgroup()
1610 DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(Socket *, socket_close_fds, NULL);
1612 static int socket_open_fds(Socket *orig_s) { in socket_open_fds()
1613 _cleanup_(socket_close_fdsp) Socket *s = orig_s; in socket_open_fds()
1724 static void socket_unwatch_fds(Socket *s) { in socket_unwatch_fds()
1742 static int socket_watch_fds(Socket *s) { in socket_watch_fds()
1778 static int socket_check_open(Socket *s) { in socket_check_open()
1799 static void socket_set_state(Socket *s, SocketState state) { in socket_set_state()
1848 Socket *s = SOCKET(u); in socket_coldplug()
1919 static int socket_spawn(Socket *s, ExecCommand *c, pid_t *_pid) { in socket_spawn()
1966 static int socket_chown(Socket *s, pid_t *_pid) { in socket_chown()
2038 static void socket_enter_dead(Socket *s, SocketResult f) { in socket_enter_dead()
2062 static void socket_enter_signal(Socket *s, SocketState state, SocketResult f);
2064 static void socket_enter_stop_post(Socket *s, SocketResult f) { in socket_enter_stop_post()
2091 static int state_to_kill_operation(Socket *s, SocketState state) { in state_to_kill_operation()
2101 static void socket_enter_signal(Socket *s, SocketState state, SocketResult f) { in socket_enter_signal()
2145 static void socket_enter_stop_pre(Socket *s, SocketResult f) { in socket_enter_stop_pre()
2172 static void socket_enter_listening(Socket *s) { in socket_enter_listening()
2194 static void socket_enter_start_post(Socket *s) { in socket_enter_start_post()
2219 static void socket_enter_start_chown(Socket *s) { in socket_enter_start_chown()
2252 static void socket_enter_start_pre(Socket *s) { in socket_enter_start_pre()
2280 static void flush_ports(Socket *s) { in flush_ports()
2295 static void socket_enter_running(Socket *s, int cfd_in) { in socket_enter_running()
2428 static void socket_run_next(Socket *s) { in socket_run_next()
2457 Socket *s = SOCKET(u); in socket_start()
2512 Socket *s = SOCKET(u); in socket_stop()
2549 Socket *s = SOCKET(u); in socket_serialize()
2604 Socket *s = SOCKET(u); in socket_deserialize_item()
2784 Socket *s = SOCKET(u); in socket_distribute_fds()
2882 Socket *s = SOCKET(u); in socket_may_gc()
2889 static int socket_accept_do(Socket *s, int fd) { in socket_accept_do()
2903 static int socket_accept_in_cgroup(Socket *s, SocketPort *p, int fd) { in socket_accept_in_cgroup()
3023 Socket *s = SOCKET(u); in socket_sigchld_event()
3130 Socket *s = SOCKET(userdata); in socket_dispatch_timer()
3204 int socket_collect_fds(Socket *s, int **fds) { in socket_collect_fds()
3242 Socket *s = SOCKET(u); in socket_reset_failed()
3253 void socket_connection_unref(Socket *s) { in socket_connection_unref()
3268 Socket *s = SOCKET(u); in socket_trigger_notify()
3310 Socket *s = SOCKET(u); in socket_get_timeout()
3327 char *socket_fdname(Socket *s) { in socket_fdname()
3338 Socket *s = SOCKET(u); in socket_control_pid()
3347 Socket *s = SOCKET(u); in socket_clean()
3388 Socket *s = SOCKET(u); in socket_can_clean()
3396 Socket *s = SOCKET(u); in socket_can_start()
3468 .object_size = sizeof(Socket),
3469 .exec_context_offset = offsetof(Socket, exec_context),
3470 .cgroup_context_offset = offsetof(Socket, cgroup_context),
3471 .kill_context_offset = offsetof(Socket, kill_context),
3472 .exec_runtime_offset = offsetof(Socket, exec_runtime),
3473 .dynamic_creds_offset = offsetof(Socket, dynamic_creds),