logsoftc 56 kern/subr_log.c struct logsoftc {
logsoftc 62 kern/subr_log.c } logsoftc;
logsoftc 146 kern/subr_log.c logsoftc.sc_state = 0;
logsoftc 165 kern/subr_log.c logsoftc.sc_state |= LOG_RDWAIT;
logsoftc 174 kern/subr_log.c logsoftc.sc_state &= ~LOG_RDWAIT;
logsoftc 204 kern/subr_log.c selrecord(p, &logsoftc.sc_selp);
logsoftc 218 kern/subr_log.c klist = &logsoftc.sc_selp.si_note;
logsoftc 239 kern/subr_log.c SLIST_REMOVE(&logsoftc.sc_selp.si_note, kn, knote, kn_selnext);
logsoftc 258 kern/subr_log.c selwakeup(&logsoftc.sc_selp);
logsoftc 259 kern/subr_log.c if (logsoftc.sc_state & LOG_ASYNC)
logsoftc 260 kern/subr_log.c csignal(logsoftc.sc_pgid, SIGIO,
logsoftc 261 kern/subr_log.c logsoftc.sc_siguid, logsoftc.sc_sigeuid);
logsoftc 262 kern/subr_log.c if (logsoftc.sc_state & LOG_RDWAIT) {
logsoftc 264 kern/subr_log.c logsoftc.sc_state &= ~LOG_RDWAIT;
logsoftc 266 kern/subr_log.c KNOTE(&logsoftc.sc_selp.si_note, 0);
logsoftc 293 kern/subr_log.c logsoftc.sc_state |= LOG_ASYNC;
logsoftc 295 kern/subr_log.c logsoftc.sc_state &= ~LOG_ASYNC;
logsoftc 299 kern/subr_log.c logsoftc.sc_pgid = *(int *)data;
logsoftc 300 kern/subr_log.c logsoftc.sc_siguid = p->p_cred->p_ruid;
logsoftc 301 kern/subr_log.c logsoftc.sc_sigeuid = p->p_ucred->cr_uid;
logsoftc 305 kern/subr_log.c *(int *)data = logsoftc.sc_pgid;