/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute_aux.c | 11 * modification, are permitted provided that: (1) source code distributions 13 * distributions including binary code include the above copyright notice and 98 /* 8 = 5 (NO OPs) + 3 (code, len, ptr) */ 174 /* 3 = 1 (code) + 1 (len) + 1 (ptr) */ 217 /* 8 = 5 (NO OPs) + 3 (code, len, ptr) */ 327 * It also sets the icmp type and icmp code values 330 check_reply(struct msghdr *msg, int cc, int seq, uchar_t *type, uchar_t *code) argument 354 *code = icp->icmp_code; 360 if ((*type == ICMP_TIMXCEED && *code == ICMP_TIMXCEED_INTRANS) || 399 *code 499 print_icmp_other(uchar_t type, uchar_t code) argument [all...] |
/illumos-gate/usr/src/cmd/diskscan/ |
H A D | diskscan.c | 50 static void verexit(int code); 344 verexit(int code) argument 347 exit(code);
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | base.c | 904 static long gettype(int code) argument 908 if (types[i] == code)
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_protocol.c | 144 const char *code, uint_t argc, nvlist_t **argv, uint8_t *flagv, int domsg, 162 err |= nvlist_add_string(nvl, FM_SUSPECT_DIAG_CODE, code); 185 * the portable object file using the diag code. Failure to init 195 if ((severity = fmd_msg_getitem_id(msghdl, NULL, code, 210 nvlist_t *fmri, const char *uuid, const char *code, 234 if (code != NULL) 235 err |= nvlist_add_string(nvl, FM_RSRC_ASRU_CODE, code); 143 fmd_protocol_list(const char *class, nvlist_t *de_fmri, const char *uuid, const char *code, uint_t argc, nvlist_t **argv, uint8_t *flagv, int domsg, struct timeval *tvp, int injected) argument 209 fmd_protocol_rsrc_asru(const char *class, nvlist_t *fmri, const char *uuid, const char *code, boolean_t faulty, boolean_t unusable, boolean_t message, nvlist_t *event, struct timeval *tvp, boolean_t repaired, boolean_t replaced, boolean_t acquitted, boolean_t resolved, nvlist_t *diag_de, boolean_t injected) argument
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | Audio.cc | 81 // Raise error code 84 AudioError code, // error code 88 if (code == AUDIO_SUCCESS) 89 return (code); 93 (void) (*errorfunc)(this, code, sev, msg); 97 return (code); 83 RaiseError( AudioError code, AudioSeverity sev, char *msg) const argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | chap.c | 375 u_char code, id; local 379 * Parse header (code, id and length). 388 GETCHAR(code, inp); 399 * Action depends on code (as in fact it usually does :-). 401 switch (code) { 419 /* CHAP does not define a code reject. */ 420 warn("Unknown CHAP code (%d) received.", code); 577 int code; local 641 code 940 int code, id, len; local [all...] |
/illumos-gate/usr/src/cmd/grpck/ |
H A D | grpck.c | 60 int code; variable 119 code = 0; 185 code = 1; /* exit with error code = 1 */ 221 * in the rest of the code, 370 code = 1; 378 code = 1; 382 return (code); 390 code = 1;
|
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/ |
H A D | keytab.c | 83 int code; local 87 if (code = krb5_kt_default(my_context, keytab)) { 88 com_err(whoami, code, gettext("while opening default keytab")); 91 if (code = krb5_kt_get_name(my_context, *keytab, buf, BUFSIZ)) { 92 com_err(whoami, code, gettext("while retrieving keytab name")); 120 code = krb5_kt_resolve(my_context, *keytab_str, keytab); 121 if (code != 0) { 122 com_err(whoami, code, 137 int code, num, i; local 190 code 223 int code; local 268 int code, nkeys, i; local 431 int code, did_something; local [all...] |
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | kdb5_util.c | 10 * this source code. Do *NOT* create a derivative of this 11 * source code before consulting with your legal department. 12 * Do *NOT* integrate *ANY* of this source code into another 181 static void extended_com_err_fn (const char *myprog, errcode_t code, argument 185 if (code) { 186 emsg = krb5_get_error_message (util_context, code); 242 gettext("while initializing Kerberos code"));
|
/illumos-gate/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_util.c | 67 * * Redistributions of source code must retain the above copyright notice, 278 static void extended_com_err_fn (const char *myprog, errcode_t code, argument 282 /* Solaris Kerberos: code should be like that in kdb5_util.c */ 283 if (code) { 284 emsg = krb5_get_error_message (util_context, code); 326 com_err (progname, retval, gettext("while initializing Kerberos code"));
|
/illumos-gate/usr/src/cmd/troff/troff.d/ |
H A D | makedev.c | 112 char code[FSIZE]; /* actual device codes for a physical font */ variable 195 write(fdout, code, font.nwfont & BYTEMASK); 234 width[i] = kern[i] = code[i] = 0; 262 /* temporarily, pick up one byte as code */ 267 code[nw] = i; 303 write(fdout, code, font.nwfont & BYTEMASK);
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | copy_auth.c | 36 * * Redistributions of source code must retain the above copyright notice, 142 krb5_error_code code; local 153 code = decode_krb5_authdata(&data, authdata); 154 if (code) 155 return code; 166 krb5_error_code code; local 173 code = encode_krb5_authdata((krb5_authdata * const *)authdata, &data); 174 if (code) 175 return code; 184 code [all...] |
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | malloc_check.c | 40 This code is as simple as possible and works ok for 73 unsigned char mc_alloc_code; /* Allocation code, libdwarf. */ 147 int code, char *whichisit) 150 "%s addr 0x%lx code %d (%s) entry %ld\n", 151 whichisit, addr, code, alloc_type_name[code], 174 dwarf_malloc_check_alloc_data(void *addr_in, unsigned char code) argument 180 print_alloc_dealloc_detail(addr, code, "alloc "); 182 newd->mc_alloc_code = code; 195 "%s: 0x%08lx code 146 print_alloc_dealloc_detail(unsigned long addr, int code, char *whichisit) argument 243 dwarf_malloc_check_dealloc_data(void *addr_in, unsigned char code) argument [all...] |
/illumos-gate/usr/src/ucblib/libucb/i386/sys/ |
H A D | signal.c | 30 * Portions of this source code were derived from Berkeley 4.3 BSD 39 * above 32 to be blocked when referenced in code such as: 96 int code; local 123 code = 0; 131 code = ILL_ILLINSTR_FAULT; 137 code = BUS_ALIGN; 140 code = BUS_HWERR; 143 code = FC_MAKE_ERR(sip->si_errno); 151 code = SEGV_NOMAP; 154 code [all...] |
/illumos-gate/usr/src/ucblib/libucb/sparc/sys/ |
H A D | signal.c | 31 * Portions of this source code were derived from Berkeley 4.3 BSD 44 * above 32 to be blocked when referenced in code such as: 72 * care should be taken when modifying this code. 113 int code; local 189 code = 0; 198 code = ILL_PRIVINSTR_FAULT; 201 code = ILL_STACK; 204 code = ILL_TRAP_FAULT(sip->si_trapno); 207 code = ILL_ILLINSTR_FAULT; 213 code [all...] |
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/ |
H A D | sbp2_bus.c | 108 * translate command result to SBP2 error code 113 int code; local 117 code = SBP2_EBUSY; 120 code = SBP2_EADDR; 124 code = SBP2_ETIMEOUT; 127 code = SBP2_ENODEV; 130 code = SBP2_EIO; 133 return (code);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | callb.c | 113 callb_add_common(boolean_t (*func)(void *arg, int code), argument 159 callb_add(boolean_t (*func)(void *arg, int code), argument 172 callb_add_thread(boolean_t (*func)(void *arg, int code), argument 228 * code: optional argument for the callb functions. 233 callb_execute_class(int class, int code) argument 260 if (!(*cp->c_func)(cp->c_arg, code)) 275 * When calling to stop a kernel thread (code == CB_CODE_CPR_CHKPT) we 284 callb_generic_cpr(void *arg, int code) argument 291 switch (code) { 319 callb_generic_cpr_safe(void *arg, int code) argument [all...] |
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | exacctsys.c | 326 exacct(int code, idtype_t idtype, id_t id, void *buf, size_t bufsize, argument 335 switch (code) {
|
/illumos-gate/usr/src/uts/i86pc/boot/ |
H A D | boot_keyboard.c | 147 static int kb_translate(unsigned char code); 181 unsigned char code; local 210 code = inb(I8042_DATA); 212 switch (code) { 219 * it is ambiguous - this is also the code for a break 222 * we just let the normal code handle it. Perhaps we 263 if (code & 0x80) { 265 code &= 0x7f; 266 switch (keyboard_translate[code].normal) { 304 kb.pending = kb_translate(code); 314 kb_translate(unsigned char code) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpinex/ |
H A D | acpinex_event.c | 161 int code; local 187 code = ACPI_OST_STA_EJECT_NOT_SUPPORT; 192 code = ACPI_OST_STA_FAILURE; 196 code = ACPI_OST_STA_EJECT_IN_PROGRESS; 200 code, NULL, 0); 316 int code; local 352 code = ACPI_OST_STA_FAILURE; 357 code = ACPI_OST_STA_NOT_SUPPORT; 362 code = ACPI_OST_STA_FAILURE; 367 code [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/ |
H A D | sol_uverbs_event.c | 64 * Zero on success, else error code. 111 * Zero on success, else error code. 237 * Zero on success, else error code. 419 * code - The OFA event code. 421 * The OFED event code. 423 * Returns the OFA equivalent of an IBT Asynchronous Event code, -1 if 426 * Map an IBT asynchronous event code to an OFED event code. 429 uverbs_ibt_to_ofa_event_code(ibt_async_code_t code) argument 523 uverbs_async_qp_event_handler(void *clnt_private, ibt_hca_hdl_t hca_hdl, enum ib_event_type code, ibt_async_event_t *event) argument 571 uverbs_async_cq_event_handler(void *clnt_private, ibt_hca_hdl_t hca_hdl, enum ib_event_type code, ibt_async_event_t *event) argument 613 uverbs_async_srq_event_handler(void *clnt_private, ibt_hca_hdl_t hca_hdl, enum ib_event_type code, ibt_async_event_t *event) argument 655 uverbs_async_unaff_event_handler(void *clnt_private, ibt_hca_hdl_t hca_hdl, enum ib_event_type code, ibt_async_event_t *event) argument 714 uverbs_async_event_handler(void *clnt_private, ibt_hca_hdl_t hca_hdl, ibt_async_code_t code, ibt_async_event_t *event) argument [all...] |
/illumos-gate/usr/src/lib/krb5/ss/ |
H A D | listen.c | 138 int code; local 232 code = SS_ET_TECLA_ERR; 267 code = SS_ET_TECLA_ERR; 284 code = ss_execute_line (sci_idx, input); 285 if (code == SS_ET_COMMAND_NOT_FOUND) { 300 code = 0; 314 return code; 317 void ss_abort_subsystem(sci_idx, code) 319 int code; 322 ss_info(sci_idx)->exit_status = code; [all...] |
/illumos-gate/usr/src/lib/libast/amd64/include/ast/ |
H A D | lc.h | 74 const char* code; member in struct:Lc_charset_s 82 const char* code; member in struct:Lc_language_s 93 const char* code; member in struct:Lc_territory_s 105 const char* code; member in struct:Lc_map_s 121 const char* code; member in struct:Lc_s
|
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/ |
H A D | lc.h | 74 const char* code; member in struct:Lc_charset_s 82 const char* code; member in struct:Lc_language_s 93 const char* code; member in struct:Lc_territory_s 105 const char* code; member in struct:Lc_map_s 121 const char* code; member in struct:Lc_s
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | findlib.h | 82 unsigned short code[FF_MAX][FF_MAX]; member in struct:__anon2638 116 Code_t code; 118 #define decode code.code_decode 119 #define encode code.code_encode
|