Lines Matching defs:logmsg
205 #define HUP_LOGMSG_SUSPENDED 0x2000 /* logmsg is suspended */
964 * simply called logmsg directly, but because everything is now based
1208 logmsg(void *ap)
1220 DPRINT1(1, "logmsg(%u): msg dispatcher started\n", mythreadno);
1237 DPRINT3(5, "logmsg(%u): msg dispatcher dequeued %p from "
1242 * In most cases, if the message traffic is low, logmsg() wakes
1245 * long, logmsg() may not receive SHUTDOWN before reconfigure()
1247 * turn, will cause logmsg to refer to invalid fileds.
1249 * logmsg() needs to respond to the SHUTDOWN message within
1252 * logmsg() needs to be in suspended state immediately, since
1259 * threads, and logmsg() itself will suspend. In order to
1266 DPRINT1(3, "logmsg(%u): suspend request\n",
1285 DPRINT2(3, "logmsg(%u): pending SHUTDOWN %d\n",
1300 DPRINT2(3, "logmsg(%u): released late "
1334 DPRINT3(5, "logmsg(%u): enqueued msg %p "
1380 DPRINT3(3, "logmsg(%u): fac = %d, pri = %d\n",
1400 DPRINT4(5, "logmsg(%u): Dropping message "
1434 DPRINT3(5, "logmsg(%u): enqueued msg %p on queue "
2987 /* 1: logmsg thread */
2991 if (pthread_create(&log_thread, &log_attr, logmsg, NULL) != 0) {
3017 * We've started the sys_poll() and logmsg() threads. Now we are ready
4977 * make sure the logmsg thread is not in the waiting state.
4978 * Otherwise, changing hup_state will prevent the logmsg thread
4984 DPRINT2(3, "reconfigure(%u): %.15s: awaiting logmsg()"
5001 DPRINT2(3, "reconfigure(%u): %.15s: logmsg() will accept HUP\n",
5035 /* make sure logmsg() is in suspended state */
5045 DPRINT2(3, "reconfigure(%u): %.15s: logmsg() does not "
5063 DPRINT2(3, "reconfigure(%u): %.15s: logmsg()"
5067 logerror("could not suspend logmsg - fatal");
5074 DPRINT2(3, "reconfigure(%u): %.15s: logmsg() suspended\n",
5289 DPRINT2(3, "reconfigure(%u): %.15s: resuming logmsg()\n",