Lines Matching defs:daemon

84 struct daemon {  struct
98 static struct daemon __daemon = { argument
133 static struct daemon_session *daemon__find_session(struct daemon *daemon, char *name) in daemon__find_session()
156 static int session_config(struct daemon *daemon, const char *var, const char *value) in session_config()
217 struct daemon *daemon = cb; in server_config() local
236 struct daemon *daemon = cb; in client_config() local
247 static int check_base(struct daemon *daemon) in check_base()
282 static int setup_client_config(struct daemon *daemon) in setup_client_config()
295 static int setup_server_config(struct daemon *daemon) in setup_server_config()
321 struct daemon *daemon) in daemon_session__run()
394 static pid_t handle_signalfd(struct daemon *daemon) in handle_signalfd()
443 static int daemon_session__wait(struct daemon_session *session, struct daemon *daemon, in daemon_session__wait()
471 static bool daemon__has_alive_session(struct daemon *daemon) in daemon__has_alive_session()
483 static int daemon__wait(struct daemon *daemon, int secs) in daemon__wait()
581 static int setup_server_socket(struct daemon *daemon) in setup_server_socket()
672 static int cmd_session_list(struct daemon *daemon, union cmd *cmd, FILE *out) in cmd_session_list()
763 static int cmd_session_kill(struct daemon *daemon, union cmd *cmd, FILE *out) in cmd_session_kill()
786 static int cmd_session_ping(struct daemon *daemon, union cmd *cmd, FILE *out) in cmd_session_ping()
809 static int handle_server_socket(struct daemon *daemon, int sock_fd) in handle_server_socket()
859 static int setup_client_socket(struct daemon *daemon) in setup_client_socket()
892 struct daemon *daemon) in daemon_session__kill()
917 static void daemon__signal(struct daemon *daemon, int sig) in daemon__signal()
939 static void daemon__stop(struct daemon *daemon) in daemon__stop()
947 static void daemon__kill(struct daemon *daemon) in daemon__kill()
971 static void daemon__exit(struct daemon *daemon) in daemon__exit()
983 static int daemon__reconfig(struct daemon *daemon) in daemon__reconfig()
1016 static int setup_config_changes(struct daemon *daemon) in setup_config_changes()
1053 static bool process_inotify_event(struct daemon *daemon, char *buf, ssize_t len) in process_inotify_event()
1074 static int handle_config_changes(struct daemon *daemon, int conf_fd, in handle_config_changes()
1094 static int setup_config(struct daemon *daemon) in setup_config()
1141 static int check_lock(struct daemon *daemon) in check_lock()
1180 static int go_background(struct daemon *daemon) in go_background()
1232 static int setup_signalfd(struct daemon *daemon) in setup_signalfd()
1246 static int __cmd_start(struct daemon *daemon, struct option parent_options[], in __cmd_start()
1359 static int send_cmd(struct daemon *daemon, union cmd *cmd) in send_cmd()
1402 static int send_cmd_list(struct daemon *daemon) in send_cmd_list()
1414 static int __cmd_signal(struct daemon *daemon, struct option parent_options[], in __cmd_signal()
1443 static int __cmd_stop(struct daemon *daemon, struct option parent_options[], in __cmd_stop()
1466 static int __cmd_ping(struct daemon *daemon, struct option parent_options[], in __cmd_ping()