Lines Matching defs:DPF

60 #define	DPF(m)		if (debug) (void) fprintf m
62 #define DPF(m)
251 DPF((stderr, "compare %s %hu with", dp_addr(a), a->sin_port));
252 DPF((stderr, " %s %hu = %d\n", dp_addr(b), b->sin_port, rc));
303 DPF((stderr, "send %d to %s port %hu\n", cmd,
371 DPF((stderr, "daemon restarted on %s\n",
381 DPF((stderr, "new daemon on %s\n", dp_addr(daemon)));
421 DPF((stderr, "check for lock\n"));
485 DPF((stderr, "increment read lockers to %d\n",
497 DPF((stderr, "local locker, 1 lock holder\n"));
507 DPF((stderr, "local locker, take write lock\n"));
525 DPF((stderr, "remote locker, take write lock\n"));
537 DPF((stderr, "weird lock type held - %d\n", the_lock.type));
762 DPF((stderr, "** UNLOCK **\n"));
785 DPF((stderr, "decrement lockers from %d\n",
817 DPF((stderr, "remote unlock from %s ", dp_addr(d)));
818 DPF((stderr, "when %s holds lock\n", dp_addr(&the_lock.holder)));
837 DPF((stderr, "lockby enquiry from %s ", dp_addr(d)));
859 DPF((stderr, "keepalive...\n"));
880 DPF((stderr, "lock owner died\n"));
954 DPF((stderr, "received message %d\n", message));
955 DPF((stderr, "from %s port %hu\n", dp_addr(host), host->sin_port));
962 DPF((stderr, "received ALIVE %s\n", dp_addr(host)));
966 DPF((stderr, "received UNLOCK\n"));
970 DPF((stderr, "received GRANTED\n"));
974 DPF((stderr, "received WRITE_LOCK\n"));
980 DPF((stderr, "received READ_LOCK\n"));
985 DPF((stderr, "received LOCK_WRITE\n"));
990 DPF((stderr, "received LOCK_NOTLOCKED\n"));
1015 DPF((stderr, "purge locks for %ld\n", pid));
1105 DPF((stderr, "daemon: %s\t%s\n",
1108 DPF((stderr, "is an alias for this host, skipping\n"));
1252 DPF((stderr, "Can't open pid file\n"));
1267 DPF((stderr, "Can't open pid file\n"));
1294 DPF((stderr, "client process %ld still alive\n", pid));
1354 DPF((stderr, "begin recvfrom\n"));
1357 DPF((stderr, "end recvfrom rc = %d\n", rc));