/illumos-gate/usr/src/cmd/fm/fmdump/common/ |
H A D | fault.c | 35 char *class = NULL, *uuid = "-", *code = "-"; local 49 (void) nvlist_lookup_string(rp->rec_nvl, FM_SUSPECT_DIAG_CODE, &code); 58 code, tags[i].tag); 59 code = str; 66 fmdump_date(buf, sizeof (buf), rp), uuid, code); 158 char *class = NULL, *uuid = "-", *code = "-"; local 161 (void) nvlist_lookup_string(rp->rec_nvl, FM_SUSPECT_DIAG_CODE, &code); 165 (void) snprintf(str, sizeof (str), "%s %s", code, "Repaired"); 166 code = str; 169 (void) snprintf(str, sizeof (str), "%s %s", code, "Resolve [all...] |
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | rpcb_check.c | 25 * This code was extensively modifed from a version authored by: 31 * derivatives of, copy, reproduce and distribute this code.c in both 91 rpcproc_t code; member in struct:proc_map 138 if (procp[i].code == procnum)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | cbcp.c | 90 static void cbcp_send __P((cbcp_state *us, int code, u_char *buf, int len)); 145 u_char code, id; local 157 GETCHAR(code, inp); 168 switch (code) { 192 dbglog("Unknown CBCP code number %d", code); 228 int code, id, len, olen, alen; local 236 GETCHAR(code, p); 240 if (code >= 1 && code < [all...] |
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/ |
H A D | kconf.c | 119 errcode_t code; local 164 code = __profile_init(file, &profile); 165 if (code != 0) { 167 exit(code); 170 if (code = init_list(&values)) { 171 fprintf(stderr, gettext("Can not initialize list %d\n"), code); 177 code = add_to_list(&values, token); 178 if (code != 0) { 180 "%d\n"), code); 185 code); [all...] |
H A D | ksetpw.c | 52 krb5_error_code code = 0; local 77 code = krb5_init_context(&ctx); 78 if (code != 0) { 79 com_err(whoami, code, gettext("krb5_init_context() failed")); 98 if ((code = krb5_kt_resolve(ctx, ktname, &kt)) != 0) { 99 com_err(whoami, code, 108 if ((code = krb5_cc_resolve(ctx, optarg, &cc)) != 0) { 109 com_err(whoami, code, 133 code = krb5_string_to_enctype(token, 136 if (code ! 261 krb5_error_code code; local 336 krb5_error_code code; local [all...] |
/illumos-gate/usr/src/cmd/listen/ |
H A D | lslog.c | 72 void clean_up(int code, int flag, char *msg); 76 * most routines take two args: code and exit. 77 * code is a #define in lserror.h. 88 error(int code, int exitflag) argument 93 strcpy(scratch, err_list[code].err_msg); 94 clean_up(code, exitflag, scratch); 96 clean_up(code, exitflag, NULL); 106 tli_error(int code, int exitflag) argument 116 err_list[code].err_msg, p); 121 clean_up(code, exitfla 130 sys_error(int code, int exitflag) argument 148 clean_up(int code, int flag, char *msg) argument 227 log(int code) argument [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | k5seal.c | 71 krb5_error_code code; local 94 * Because the ARCFOUR code bypasses the standard 101 if ((code = init_key_kef(context->kef_cipher_mt, seq))) { 102 return (code); 104 if ((code = init_key_kef(context->kef_cipher_mt, enc))) { 105 return (code); 186 code = krb5_c_checksum_length(context, md5cksum.checksum_type, &sumlen); 187 if (code) { 189 "error code=%d\n", code); 380 krb5_error_code code; local [all...] |
H A D | k5unseal.c | 72 krb5_error_code code; local 171 * Because the ARCFOUR code bypasses the standard 180 if ((code = init_key_kef(context->kef_cipher_mt, 182 *minor_status = code; 185 if ((code = init_key_kef(context->kef_cipher_mt, 187 *minor_status = code; 194 if ((code = kg_get_seq_num(context, ctx->seq, ptr+14, ptr+6, &direction, 196 *minor_status = code; 222 code = krb5_copy_keyblock (context, ctx->enc, &enc_key); 223 if (code) [all...] |
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | pro_macinfo.c | 66 libdwarf_compose_begin(Dwarf_P_Debug dbg, int code, argument 128 *nextchar = code; 439 /* Tthe final entry has a type code of 0 to indicate It is final 462 *macinfo_ptr = 0; /* the type code of 0 as last entry */
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | ppriv.c | 373 privsys(int code, priv_op_t op, priv_ptype_t type, void *buf, size_t bufsize, argument 379 switch (code) { 415 privsys32(int code, priv_op_t op, priv_ptype_t type, caddr32_t buf, argument 418 return (privsys(code, op, type, (void *)(uintptr_t)buf,
|
H A D | tasksys.c | 284 tasksys(int code, projid_t projid, uint_t flags, void *projidbuf, size_t pbufsz) argument 286 switch (code) {
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_handlers.c | 35 extern void ibmf_saa_impl_ibt_async_handler(ibt_async_code_t code, 50 ibt_async_code_t code, ibt_async_event_t *event) 57 tnf_uint, code, code, tnf_opaque, hca_guid, event->ev_hca_guid, 63 ibmf_saa_impl_ibt_async_handler(code, event); 68 if (code == IBT_HCA_DETACH_EVENT) { 110 } else if (code == IBT_EVENT_SQD) { 49 ibmf_ibt_async_handler(void *clnt_private, ibt_hca_hdl_t hca_hdl, ibt_async_code_t code, ibt_async_event_t *event) argument
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | adb_openclose.c | 11 * this source code. Do *NOT* create a derivative of this 12 * source code before consulting with your legal department. 13 * Do *NOT* integrate *ANY* of this source code into another 144 krb5_error_code code; local 179 * lock files. This code used to use a single static lockinfo 216 if ((code = krb5int_init_context_kdc(&lockp->lockinfo.context))) { 218 return((krb5_error_code) code);
|
/illumos-gate/usr/src/lib/libast/common/regex/ |
H A D | regcoll.c | 40 Ucs_code_t code; member in struct:Ucs_map_s 215 setattr(attr, a->code); 248 if (a->code <= 0xff) 251 buf[0] = local.a2n[a->code]; 253 buf[0] = a->code; 260 w[0] = a->code;
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | obpsym.c | 39 * This file contains the actual code the does the lookups, and interfaces 41 * the firmware is handled in prom-dependent code. 160 reset_callbacks(void *arg, int code) argument 164 if (code == CB_CODE_CPR_RESUME)
|
/illumos-gate/usr/src/cmd/logger/ |
H A D | logger.c | 56 struct code { struct 61 static struct code PriNames[] = { 76 static struct code FacNames[] = { 107 static int decode(char *, struct code *); 337 struct code *codetab; 339 register struct code *c;
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | shim.c | 341 * Despite this the existing NIS code calls it. One gross hack 507 shim_exit(int code) argument 510 exit(code); 530 * yp2ldap is used to switch appropriate code in the
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | inq_context.c | 35 * * Redistributions of source code must retain the above copyright notice, 62 * * Redistributions of source code must retain the above copyright notice, 101 krb5_error_code code; local 129 if ((code = krb5_timeofday(context, &now))) { 130 *minor_status = code; 141 if ((code = krb5_copy_principal(context, 144 *minor_status = code; 156 if ((code = krb5_copy_principal(context, 160 *minor_status = code; 264 krb5_error_code code; local [all...] |
/illumos-gate/usr/src/cmd/csh/i386/ |
H A D | signal.c | 20 * above 32 to be blocked when referenced in code such as: 68 int code; local 77 * Machine dependent code begins 86 * Machine dependent code ends 90 if ((code = sip->si_code) == BUS_OBJERR) 91 code = SEGV_MAKE_ERR(sip->si_errno); 99 (*_siguhandler[sig])(sig, code, &sc, addr); 108 * Machine dependent code begins 116 * Machine dependent code ends
|
/illumos-gate/usr/src/cmd/csh/sparc/ |
H A D | signal.c | 20 * above 32 to be blocked when referenced in code such as: 68 int code; local 77 * Machine dependent code begins 98 * Machine dependent code ends 102 if ((code = sip->si_code) == BUS_OBJERR) 103 code = SEGV_MAKE_ERR(sip->si_errno); 111 (*_siguhandler[sig])(sig, code, &sc, addr); 120 * Machine dependent code begins 140 * Machine dependent code ends
|
/illumos-gate/usr/src/boot/sys/boot/i386/loader/ |
H A D | main.c | 8 * 1. Redistributions of source code must retain the above copyright 70 void exit(int code); 334 /* provide this for panic, as it's not in the startup code */ 336 exit(int code) argument 338 __exit(code);
|
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-job.c | 80 add_lpd_control_line(char **metadata, char code, char *value) argument 105 snprintf(line, sizeof (line), "%c%s\n", code, value); 112 add_svr4_control_line(char **metadata, char code, char *value) argument 120 snprintf(line, sizeof (line), "%c%s", code, value); 140 add_int_control_line(char **metadata, char code, int value, int flag) argument 147 return (add_svr4_control_line(metadata, code, buf)); 149 return (add_lpd_control_line(metadata, code, buf));
|
/illumos-gate/usr/src/lib/scsi/libses/common/ |
H A D | ses_subr.c | 297 const char *code, *keystr; local 308 code = libscsi_sense_code_name(asc, ascq); 312 "(%s) additional sense code 0x%llx/0x%llx (%s)", errmsg, 314 asc, ascq, code ? code : "<unknown>"));
|
/illumos-gate/usr/src/lib/fm/libdiagcode/common/ |
H A D | diagcode_test.c | 198 char code[MAXCODE]; local 231 if (fm_dc_key2code(Dhp, key, code, MAXCODE) < 0) 241 if (reterrno == 0 && argc > 3 && strcmp(code, argv[3])) 242 err("code \"%s\", expected \"%s\"", code, argv[3]);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/et/ |
H A D | com_err.c | 43 (const char *whoami, errcode_t code, 144 /* Solaris Kerberos: this code is significantly altered from 147 static void default_com_err_proc (const char *whoami, errcode_t code, argument 167 * a whoami string was provided, error code is non-zero, and if a 172 if ((!code) && fmt) { 177 } else if (code && !fmt) { 180 error_message(code)); 182 } else if (code && fmt) { 185 error_message(code), whilebuf); 191 if ((!code) 217 com_err_va(const char *whoami, errcode_t code, const char *fmt, va_list ap) argument 252 com_err(const char *whoami, errcode_t code, const char *fmt, ...) argument [all...] |