sys/kern/subr_log.c
118
callout_reset_sbt(&logsoftc.sc_callout,
sys/kern/subr_log.c
122
fsetown(td->td_proc->p_pid, &logsoftc.sc_sigio); /* signal process only */
sys/kern/subr_log.c
131
funsetown(&logsoftc.sc_sigio);
sys/kern/subr_log.c
134
callout_stop(&logsoftc.sc_callout);
sys/kern/subr_log.c
135
logsoftc.sc_state = 0;
sys/kern/subr_log.c
188
selrecord(td, &logsoftc.sc_selp);
sys/kern/subr_log.c
205
knlist_add(&logsoftc.sc_selp.si_note, kn, 1);
sys/kern/subr_log.c
224
knlist_remove(&logsoftc.sc_selp.si_note, kn, 1);
sys/kern/subr_log.c
237
selwakeuppri(&logsoftc.sc_selp, LOG_RDPRI);
sys/kern/subr_log.c
238
KNOTE_LOCKED(&logsoftc.sc_selp.si_note, 0);
sys/kern/subr_log.c
239
if ((logsoftc.sc_state & LOG_ASYNC) && logsoftc.sc_sigio != NULL)
sys/kern/subr_log.c
240
pgsigio(&logsoftc.sc_sigio, SIGIO, 0);
sys/kern/subr_log.c
247
callout_reset_sbt(&logsoftc.sc_callout,
sys/kern/subr_log.c
268
logsoftc.sc_state |= LOG_ASYNC;
sys/kern/subr_log.c
270
logsoftc.sc_state &= ~LOG_ASYNC;
sys/kern/subr_log.c
275
return (fsetown(*(int *)data, &logsoftc.sc_sigio));
sys/kern/subr_log.c
278
*(int *)data = fgetown(&logsoftc.sc_sigio);
sys/kern/subr_log.c
283
return (fsetown(-(*(int *)data), &logsoftc.sc_sigio));
sys/kern/subr_log.c
287
*(int *)data = -fgetown(&logsoftc.sc_sigio);
sys/kern/subr_log.c
301
callout_init_mtx(&logsoftc.sc_callout, &msgbuf_lock, 0);
sys/kern/subr_log.c
302
knlist_init_mtx(&logsoftc.sc_selp.si_note, &msgbuf_lock);
sys/kern/subr_log.c
90
} logsoftc;