Lines Matching defs:daemon
334 /* find the lock daemon structure for a give daemon address */
351 * a messge has been received from daemon, note this and if the daemon
356 daemon_alive(daemonaddr_t *daemon, int32_t order)
364 if (cmp_addr(&(ldp->host), daemon) == 0) {
369 "daemon restarted on %s\n",
370 dp_addr(daemon));
371 DPF((stderr, "daemon restarted on %s\n",
372 dp_addr(daemon)));
379 /* new daemon has announced itself */
381 DPF((stderr, "new daemon on %s\n", dp_addr(daemon)));
383 "new daemon on %s\n", dp_addr(daemon));
384 ldp->host = *daemon;
394 send_lockmsg(WRITE_LOCK, (pid_t)0, daemon, 0);
571 /* remote daemon missed locked message */
653 spcs_log("cfglockd", NULL, "holder daemon was %s port %hu, remote %x",
669 spcs_log("cfglockd", NULL, "daemon %d, %s port %hu", i,
863 * tell any other daemon that has a lock request in our queue that
864 * this daemon is still alive.
873 * if a remote daemon holds the lock, check it is still alive and
874 * if the remote daemon is sent it a grant message in case the
875 * remote daemon missed our original grant.
889 * check for response from daemons preventing this daemon
891 * if the remote daemon is alive send another lock request,
894 * daemon has the write lock.
1105 DPF((stderr, "daemon: %s\t%s\n",
1168 * Fork off a child that becomes the daemon.
1183 * In child - become daemon.
1215 spcs_log("cfglockd", NULL, "new lock daemon, pid %d", getpid());