Lines Matching refs:pri
85 __syslog (int pri, const char *fmt, ...) in __syslog() argument
90 __vsyslog_internal (pri, fmt, ap, 0); in __syslog()
97 __vsyslog (int pri, const char *fmt, va_list ap) in ldbl_hidden_def()
99 __vsyslog_internal (pri, fmt, ap, 0); in ldbl_hidden_def()
104 __syslog_chk (int pri, int flag, const char *fmt, ...) in ldbl_weak_alias()
109 __vsyslog_internal (pri, fmt, ap, (flag > 0) ? PRINTF_FORTIFY : 0); in ldbl_weak_alias()
114 __vsyslog_chk (int pri, int flag, const char *fmt, va_list ap) in __vsyslog_chk() argument
116 __vsyslog_internal (pri, fmt, ap, (flag > 0) ? PRINTF_FORTIFY : 0); in __vsyslog_chk()
120 __vsyslog_internal (int pri, const char *fmt, va_list ap, in __vsyslog_internal() argument
132 if (pri & ~(LOG_PRIMASK | LOG_FACMASK)) in __vsyslog_internal()
134 syslog (INTERNALLOG, "syslog: unknown facility/priority: %x", pri); in __vsyslog_internal()
135 pri &= LOG_PRIMASK | LOG_FACMASK; in __vsyslog_internal()
145 if ((LOG_MASK (LOG_PRI (pri)) & LogMask) == 0) in __vsyslog_internal()
149 if ((pri & LOG_FACMASK) == 0) in __vsyslog_internal()
150 pri |= LogFacility; in __vsyslog_internal()
181 SYSLOG_HEADER (pri, timestamp, &msgoff, pid)); in __vsyslog_internal()
184 SYSLOG_HEADER_WITHOUT_TS (pri, &msgoff)); in __vsyslog_internal()
214 SYSLOG_HEADER (pri, timestamp, &msgoff, pid)); in __vsyslog_internal()
217 SYSLOG_HEADER_WITHOUT_TS (pri, &msgoff)); in __vsyslog_internal()