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

/osnet-11/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)
H A Dfmtmsg.c37 * addseverity() Adds a severity definition to the list of known
38 * severity definitions.
110 #define ST_SEV "severity"
130 * MV_SEV "severity" selected
182 * and the severity from what follows it.
204 * sevvalue Value of the severity-level being defined
205 * sevkywd Keyword identifying the severity
214 * 2) is the list of severity-levels defined by SEV_LEVEL
215 * 3) is the list of severity-levels defined by calls to
377 * Parses a string that is in the format of the severity definition
811 writemsg(char *buf, size_t size, int verbosity, const char *label, int severity, const char *text, const char *action, const char *tag) argument
1088 fmtmsg(long class, const char *label, int severity, const char *text, const char *action, const char *tag) argument
[all...]
/osnet-11/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;
/osnet-11/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));
/osnet-11/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]);
/osnet-11/usr/src/lib/libbsm/common/
H A Daudit_plugin.c61 * different severity, facility code, and application names.
71 __audit_syslog(const char *app_name, int flags, int facility, int severity, argument
87 vsyslog(severity, message, args);
90 vsyslog(severity, message, args);
/osnet-11/usr/src/lib/fm/libasr/common/
H A Dasr_fault.c41 #define ASR_FLT_SEVERITY "severity"
56 * Returns a supported ASR severity value from the FMA severity value.
410 * Gets the description and severity from and FMA event by looking up
488 char *description = NULL, *severity = NULL, *reason = NULL; local
517 items, ASR_FLT_SEVERITY, &severity);
523 severity = asr_sev_from_fma_sev(severity);
543 err |= asr_buf_append_xml_nv(buf, pad, "severity", severity);
[all...]
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_dyndns.c132 dyndns_syslog(int severity, int errnum, const char *text) argument
166 syslog(severity, "dyndns: %s: %s: %d", text, errmsg, errnum);
173 dyndns_log_update(int severity, argument
191 syslog(severity, "dyndns: update started: "
197 syslog(severity, "dyndns: update started: "
201 syslog(severity, "dyndns: update started: "
208 syslog(severity, "dyndns: update started: "
211 syslog(severity, "dyndns: update started: "
217 syslog(severity, "dyndns: update started: "
/osnet-11/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg.c135 "severity", /* key for FMD_MSG_ITEM_SEVERITY */
1003 char *s, *expr, *altcode, *severity = NULL; local
1012 &severity);
1034 * item is FMD_MSG_ITEM_SEVERITY then we try to use the severity
1044 } else if ((item == FMD_MSG_ITEM_SEVERITY) && (severity != NULL)) {
1045 txt = severity;
/osnet-11/usr/src/lib/krb5/kadm5/
H A Dlogger.c89 * SYSLOG[=<severity>[:<facility>]]
97 * <severity> is one of: (default = ERR)
665 * Find the end of the severity.
675 * Match a severity.
961 * severity2string() - Convert a severity to a string. argument
964 severity2string(int severity)
969 s = severity & LOG_PRIMASK;
/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg.c1227 /* cfg severity & perror_str set up cfg_get_cstring() */
1261 /* severity & perror_str set by cfg_put_cstring */
1293 /* severity & perror_str set by cfg_put_cstring */
1333 /* severity & perror_str set by cfg_get_cstring */
1413 /* severity & perror_str are set by cfg_get_cstring */
1435 /* severity & perror_str are set by cfg_put_cstring */
3062 cfg_error(int *severity) argument
3064 if (severity != NULL)
3065 *severity = cfg_severity;

Completed in 47 milliseconds