Lines Matching refs:pri
59 syslog(int pri, const char *fmt, ...)
64 vsyslog(pri, fmt, ap);
69 vsyslog(int pri, const char *fmt, va_list ap)
71 vsyslog_r(pri, &sdata, fmt, ap);
96 syslog_r(int pri, struct syslog_data *data, const char *fmt, ...)
101 vsyslog_r(pri, data, fmt, ap);
106 vsyslog_r(int pri, struct syslog_data *data, const char *fmt, va_list ap)
119 if (pri & ~(LOG_PRIMASK|LOG_FACMASK)) {
122 "syslog: unknown facility/priority: %x", pri);
125 "syslog_r: unknown facility/priority: %x", pri);
127 pri &= LOG_PRIMASK|LOG_FACMASK;
131 if (!(LOG_MASK(LOG_PRI(pri)) & data->log_mask))
137 if ((pri & LOG_FACMASK) == 0)
138 pri |= data->log_fac;
157 prlen = snprintf(p, tbuf_left, "<%d>", pri);