Searched defs:severity (Results 1 - 25 of 59) sorted by relevance

123

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpfmt_data.h38 int severity; member in struct:sev_tab
H A Daddsev.c46 addsev(int severity, const char *string) argument
51 /* Cannot redefine standard severity */
52 if ((severity <= 4) || (severity > 255))
55 /* Locate severity in table */
58 if (__pfmt_sev_tab[i].severity == 0 && firstfree == -1)
60 if (__pfmt_sev_tab[i].severity == severity)
65 if (string == NULL) /* Removing non-existing severity */
84 __pfmt_sev_tab[i].severity
[all...]
H A Dpfmt_print.c98 int severity, sev, d_sev; local
116 severity = (int)(flag & 0xff);
120 } else if (severity <= MM_INFO) {
121 sev = severity + 3;
122 d_sev = severity + 2;
127 if (__pfmt_sev_tab[i].severity == severity) {
146 if ((status = fprintf(stream, psev, severity)) < 0)
/illumos-gate/usr/src/cmd/sgs/tsort/common/
H A Derrafter.c46 errafter(int severity, char *format, ...) argument
48 switch (severity) {
H A Derrbefore.c44 errbefore(int severity, char *format, ...) argument
46 switch (severity) {
H A Dzmalloc.c43 zmalloc(int severity, size_t n) argument
48 _errmsg("UXzmalloc1", severity,
H A Dzfopen.c42 zfopen(int severity, char *path, char *type) argument
65 _errmsg("UXzfopen1", severity,
H A Derrtext.c51 __errtext(int severity, char *format, va_list ap) argument
55 Err.severity = severity;
57 errbefore(Err.severity, format, ap);
59 if (Err.severity == EIGNORE)
82 if (Err.severity < (e - Err.sevmsg))
83 (void) fputs(Err.sevmsg[Err.severity], stderr);
101 (Err.severity == EHALT || Err.severity == EERROR)))) {
126 erraction(errafter(Err.severity, forma
135 errtext(int severity, char *format, ...) argument
149 _errmsg(char *tag, int severity, char *format, ...) argument
[all...]
H A Derrmsg.h46 int errafter(int severity, char *format, ...);
47 void errbefore(int severity, char *format, ...);
49 void _errmsg(char *tag, int severity, char *format, ...);
53 void errtext(int severity, char *format, ...);
60 #define EIGNORE -1 /* special severity, no message, no action, returns */
86 char vsevmsg; /* severity message */
95 int severity; member in struct:Err
96 char **sevmsg; /* error messages that depend on severity */
108 extern void *zmalloc(int severity, size_t n);
109 FILE *zfopen(int severity, cha
[all...]
/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_dprintf.c45 strseverity(uu_dprintf_severity_t severity) argument
47 switch (severity) {
66 uu_dprintf_create(const char *name, uu_dprintf_severity_t severity, argument
89 D->uud_severity = severity;
97 uu_dprintf(uu_dprintf_t *D, uu_dprintf_severity_t severity, argument
102 /* XXX Assert that severity is not UU_DPRINTF_SILENT. */
104 if (severity > D->uud_severity)
108 strseverity(severity));
/illumos-gate/usr/src/lib/librdc/common/
H A Drdcerr.c51 rdc_set_error(spcs_s_info_t *ustatus, int context, int severity, argument
60 rdc_severity = severity;
70 rdc_severity = severity ? severity : RDC_FATAL;
75 rdc_severity = severity ? severity : RDC_FATAL;
93 rdc_error(int *severity) argument
95 if (severity != NULL)
96 *severity = rdc_severity;
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dlogging.c48 log_out(int severity, const char *str) argument
50 if (severity == LOG_DEBUG && !debug)
53 syslog(severity, str);
57 log_format(int severity, const char *fmt, va_list ap, char *buf, int bufsize) argument
70 log_out(severity, buf);
74 * This function takes a syslog severity and uses it to determine what to do
78 nlog(int severity, const char *fmt, ...) argument
83 log_format(severity, fmt, ap, NULL, 0);
/illumos-gate/usr/src/cmd/pools/poold/libjsyslog/
H A Djsyslog.c47 * Log the given message with the given severity.
52 jclass clazz, jint severity, jstring messageObj)
70 syslog(severity, "%s", message);
51 Java_com_sun_solaris_service_logging_SyslogHandler_syslog(JNIEnv *env, jclass clazz, jint severity, jstring messageObj) argument
/illumos-gate/usr/src/cmd/mkfifo/
H A Dmkfifo.c49 errmsg(int severity, int code, char *format, ...);
117 * chmod. The severity parameter is ignored here, but is meaningful
124 errmsg(int severity, int code, char *format, ...) argument
/illumos-gate/usr/src/cmd/cmd-inet/lib/netcfgd/
H A Dnetcfgd.c62 log_out(int severity, const char *str) argument
67 syslog(severity, str);
73 nlog(int severity, const char *fmt, ...) argument
80 log_out(severity, vbuf);
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dctl_p.c66 ctl_logger(enum ctl_severity severity, const char *format, ...) { argument
70 fprintf(stderr, "%s(%s): ", me, ctl_sevnames[severity]);
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Devent_mess.h668 static int *severity[] = { variable
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_plugin.c57 * different severity, facility code, and application names.
67 __audit_syslog(const char *app_name, int flags, int facility, int severity, argument
81 syslog(severity, "%s", message);
84 syslog(severity, "%s", message);
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/logging/
H A DSeverity.java35 * <code>syslog(3C)</code> severity levels defined in
168 private int severity; field in class:Severity
171 * Constructs a Severity with the given native severity, Java
174 private Severity(int severity, int level, String name) argument
177 this.severity = severity;
218 * Returns the native <code>syslog(3C)</code> severity.
222 return (severity);
230 * severity.
234 Severity severity
[all...]
H A DSyslogHandler.java41 * given facility with a severity translated by Level with a fixed
150 private static native void syslog(int severity, String message); argument
165 * infers its severity with Severity.severityForLevel(), if
170 Severity severity;
173 severity = (Severity)record.getLevel();
175 severity = Severity.severityForLevel(record
178 if (getLevel().intValue() > severity.intValue())
182 * If the severity is null, the message isn't meant to
185 if (severity == null)
224 syslog(severity
[all...]
/illumos-gate/usr/src/cmd/devmgmt/cmds/
H A Ddevattr.c178 int severity; /* Message severity */
230 severity = MM_ERROR;
234 severity = MM_HALT;
236 stdmsg(MM_NRECOV, lbl, severity, txt);
254 severity = MM_ERROR;
258 severity = MM_HALT;
260 stdmsg(MM_NRECOV, lbl, severity, txt);
175 int severity; /* Message severity */ local
/illumos-gate/usr/src/cmd/mkdir/
H A Dmkdir.c69 errmsg(int severity, int code, char *format, ...);
286 * chmod. The severity parameter is ignored here, but is meaningful
293 errmsg(int severity, int code, char *format, ...) argument
/illumos-gate/usr/src/cmd/lp/lib/oam/
H A Dfmtmsg.c65 fmtmsg(char *label, int severity, char *text, char *action)
72 * Return if the severity isn't recognized.
74 if (severity < MIN_SEVERITY || MAX_SEVERITY < severity)
79 mbstowcs(wsev, gettext(severity_names[severity]), SHORT_S);
64 fmtmsg(char *label, int severity, char *text, char *action) argument
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DPoold.java338 * Default Log severity (if not overridden)
367 * Logfile severity, log messages below this severity are
370 private static Severity severity; field in class:Poold.logHelper
400 * console, with (at most) the given maximum severity.
432 * file and severity.
444 severity = DEF_SEVERITY;
445 handler.setLevel(severity);
480 severity = consoleSeverity;
482 "logging with level " + severity);
1097 private Severity severity; field in class:PooldException
1120 PooldException(String message, int exitCode, Severity severity) argument
[all...]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_protocol.c151 char *severity; local
184 * Attempt to lookup the severity associated with this diagnosis from
195 if ((severity = fmd_msg_getitem_id(msghdl, NULL, code,
197 err |= nvlist_add_string(nvl, FM_SUSPECT_SEVERITY, severity);
198 free(severity);

Completed in 84 milliseconds

123