/src/usr.sbin/tcpdchk/ |
fakelog.c | 38 vsyslog(int severity, const char *fmt, va_list ap) 52 syslog(int severity, const char *fmt, ...) 57 vsyslog(severity, fmt, ap);
|
/src/usr.sbin/altq/altqd/ |
libaltq2.c | 52 int l_debug; /* Logging severity level */ 58 log_write(int severity, int syserr, const char *format, ...) 64 if (severity <= l_debug) { 72 vsyslog(severity, format, ap); 78 vsyslog(severity, buf, ap);
|
/src/lib/libwrap/ |
diag.c | 47 tcpd_diag(int severity, const char *tag, const char *fmt, va_list ap) 57 syslog(severity, "%s: %s, line %d: %s", 60 syslog(severity, "%s: %s", tag, buf);
|
/src/lib/libc/gen/ |
fmtmsg.c | 63 { 8, "severity" }, /* ... */ 120 * Returns the string representation associated with the numerical severity 124 severity2str(int severity) 128 if (severity >= 0 && 129 (u_int) severity < nseverities) 130 result = severities[severity]; 180 fmtmsg(long classification, const char *label, int severity, 197 /* Validate severity argument. */ 198 if ((sevstr = severity2str(severity)) == NULL)
|
/src/usr.bin/xlint/lint1/ |
err.c | 683 int severity = (!allow_gcc ? 1 : 0) + (!allow_trad ? 1 : 0); variable in typeref:typename:int 684 if (severity == 2) 686 if (severity == 1) 720 int severity = (!allow_gcc ? 1 : 0) + variable in typeref:typename:int 724 if (severity == 2) 726 if (severity == 1) 729 return severity > 0;
|
/src/usr.sbin/mrouted/ |
main.c | 79 void logit(int severity, int syserr, const char *format, ...) 624 * according to the severity of the message and the current debug level. 625 * For errors of severity LOG_ERR or worse, terminate the program. 628 logit(int severity, int syserr, const char *format, ...) 641 msg = (severity == LOG_WARNING) ? fmt : &fmt[10]; 645 case 1: if (severity > LOG_NOTICE) break; 647 case 2: if (severity > LOG_INFO ) break; 662 if (severity <= LOG_NOTICE) { 666 syslog(severity, "%s: %m", msg); 668 syslog(severity, "%s", msg) [all...] |
/src/usr.sbin/mrinfo/ |
mrinfo.c | 137 * Log errors and other messages to stderr, according to the severity of the 138 * message and the current debug level. For errors of severity LOG_ERR or 142 logit(int severity, int syserr, const char *format, ...) 148 if (severity > LOG_WARNING) 152 if (severity > LOG_NOTICE) 156 if (severity > LOG_INFO) 160 if (severity == LOG_WARNING) 171 if (severity <= LOG_ERR)
|
/src/sys/dev/pci/ |
twaio.h | 63 uint8_t severity; member in struct:tw_cl_event_packet
|
if_iavfvar.h | 207 uint32_t severity; member in struct:iavf_vc_pf_event
|
twareg.h | 403 uint8_t severity:3; member in struct:twa_command_header::__anonfd0c35940108::__anonfd0c35940208
|
twa.c | 258 /* AEN severity table. */ 2810 event->severity = 2811 cmd_hdr->status_block.substatus_block.severity; 2821 if (event->severity < TWA_AEN_SEVERITY_DEBUG) { 2825 twa_aen_severity_table[event->severity],
|
icp_pci.c | 146 #define ICP_SEVERITY 0xefc /* u_int8_t, event severity */ 783 icp->icp_evt.severity =
|
/src/sys/dev/ic/ |
icp_ioctl.h | 142 u_int32_t severity; member in struct:__anon07d367500308
|
/src/sys/dev/acpi/ |
apei.c | 844 * Print the numeric severity and, if we have it, a symbolic 962 * errors. For each of the four severity levels in a Generic 1000 * apei_gesb_ratecheck(sc, severity, suppressed) 1002 * Check for a rate limit on errors of the specified severity. 1012 apei_gesb_ratecheck(struct apei_softc *sc, uint32_t severity, 1017 unsigned i = MIN(severity, ACPI_HEST_GEN_ERROR_NONE); /* paranoia */ 1070 uint32_t status, unknownstatus, severity, nentries, i; local in function:apei_gesb_report 1114 * Read out the severity and get the number of entries in this 1117 severity = gesb->ErrorSeverity; 1121 * Print a message to the console and dmesg about the severity [all...] |
/src/usr.sbin/rpcbind/ |
security.c | 176 logit(int severity, struct sockaddr *addr, rpcproc_t procnum, rpcprog_t prognum, 237 syslog(severity, "connect from %s to %s(%s)%s",
|
/src/usr.sbin/map-mbone/ |
mapper.c | 105 void logit(int severity, int syserr, const char *format, ...) 164 * Log errors and other messages to stderr, according to the severity of the 165 * message and the current debug level. For errors of severity LOG_ERR or 169 logit(int severity, int syserr, const char *format, ...) 175 case 0: if (severity > LOG_WARNING) return; 177 case 1: if (severity > LOG_NOTICE ) return; 179 case 2: if (severity > LOG_INFO ) return; 183 if (severity == LOG_WARNING) 196 if (severity <= LOG_ERR)
|
/src/usr.sbin/mtrace/ |
mtrace.c | 1664 * Log errors and other messages to stderr, according to the severity 1665 * of the message and the current debug level. For errors of severity 1669 logit(int severity, int syserr, const char *format, ...) 1674 case 0: if (severity > LOG_WARNING) return; 1676 case 1: if (severity > LOG_NOTICE) return; 1678 case 2: if (severity > LOG_INFO ) return; 1681 if (severity == LOG_WARNING) 1691 if (severity <= LOG_ERR) exit(1);
|
/src/sys/dev/i2o/ |
i2o.h | 220 u_int8_t severity; member in struct:i2o_fault_notify
|
iop.c | 2296 printf("%s: failurecode=0x%02x severity=0x%02x\n", 2297 device_xname(sc->sc_dev), fn->failurecode, fn->severity);
|