/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_ioctl.c | 39 pr_ioctl(struct ps_prochandle *Pr, int fd, int code, void *buf, size_t size) argument 47 return (ioctl(fd, code, buf)); 54 adp++; /* move to code argument */ 56 adp->arg_value = code;
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irp_ho.c | 174 int code; local 191 if (irs_irp_get_full_response(pvt->girpdata, &code, 197 if (code == IRPD_GETHOST_OK) { 227 int code; local 254 if (irs_irp_get_full_response(pvt->girpdata, &code, 260 if (code == IRPD_GETHOST_OK) { 290 int code; local 301 if (irs_irp_get_full_response(pvt->girpdata, &code, 307 if (code == IRPD_GETHOST_OK) { 332 int code; local [all...] |
H A D | irp_nw.c | 147 int code; local 163 if (irs_irp_get_full_response(pvt->girpdata, &code, 169 if (code == IRPD_GETNET_OK) { 196 int code; local 212 if (irs_irp_get_full_response(pvt->girpdata, &code, 218 if (code == IRPD_GETNET_OK) { 243 int code; local 253 code = irs_irp_read_response(pvt->girpdata, text, sizeof text); 254 if (code != IRPD_GETNET_SETOK) { 274 int code; local [all...] |
H A D | irp_pr.c | 136 int code; local 152 if (irs_irp_get_full_response(pvt->girpdata, &code, 158 if (code == IRPD_GETPROTO_OK) { 185 int code; local 201 if (irs_irp_get_full_response(pvt->girpdata, &code, 207 if (code == IRPD_GETPROTO_OK) { 232 int code; local 242 code = irs_irp_read_response(pvt->girpdata, text, sizeof text); 243 if (code != IRPD_GETPROTO_SETOK) { 263 int code; local [all...] |
H A D | irp_sv.c | 141 int code; local 152 if (irs_irp_get_full_response(pvt->girpdata, &code, 158 if (code == IRPD_GETSERVICE_OK) { 187 int code; local 203 if (irs_irp_get_full_response(pvt->girpdata, &code, 209 if (code == IRPD_GETSERVICE_OK) { 238 int code; local 255 if (irs_irp_get_full_response(pvt->girpdata, &code, 261 if (code == IRPD_GETSERVICE_OK) { 286 int code; local [all...] |
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | regerror.c | 7 * This code is derived from software contributed to Berkeley by 13 * 1. Redistributions of source code must retain the above copyright 50 int code; member in struct:rerr 79 {0, "", "*** unknown regexp error code ***"} 95 for (r = rerrs; r->code != 0; r++) 96 if (r->code == errcode)
|
/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/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/lib/libxcurses/src/libc/xcurses/ |
H A D | prefresh.c | 54 int code; local 63 code = pnoutrefresh(w, pminr, pminc, sminr, sminc, smaxr, smaxc); 64 if (code == OK) 65 code = doupdate(); 67 return __m_return_code("prefresh", code);
|
H A D | wins_wch.c | 105 int code, nx, width; local 111 code = ERR; 164 code = WFLUSH(w); 166 return __m_return_code("wins_wch", code); 180 int code; local 186 code = __m_wins_wch(w, w->_cury, w->_curx, cc, (int *) 0, (int *) 0); 188 return __m_return_code("wins_wch", code);
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | prefresh.c | 58 int code; local 60 code = pnoutrefresh(w, pminr, pminc, sminr, sminc, smaxr, smaxc); 61 if (code == OK) 62 code = doupdate(); 64 return (code);
|
/illumos-gate/usr/src/lib/fm/libfmd_msg/common/ |
H A D | fmd_msg_test.c | 51 const char *code = "TEST-8000-08"; local 61 * using a diagnosis code from our test dictionary so we can format 99 err |= nvlist_add_string(list, FM_SUSPECT_DIAG_CODE, code); 136 * return NULL and EINVAL for an illegal message code, and NULL 137 * and ENOENT for a valid but not defined message code. 141 (void) fprintf(stderr, "%s: test0 FAIL: illegal code returned " 148 (void) fprintf(stderr, "%s: test0 FAIL: illegal code returned " 155 (void) fprintf(stderr, "%s: test0 FAIL: missing code returned " 162 (void) fprintf(stderr, "%s: test0 FAIL: missing code returned " 169 * a known message code withou [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | import_name.c | 61 krb5_error_code code; local 68 code = krb5_gss_init_context(&context); 69 if (code) { 70 *minor_status = code; 102 code = krb5_sname_to_principal(context, host, service, KRB5_NT_SRV_HST, 123 if ((code = krb5_copy_principal(context, input, &princ))) { 124 *minor_status = code; 208 code = krb5_parse_name(context, (char *) stringrep, &princ); 230 /* at this point, a krb5 function has been called to set princ. code 233 if (code) { [all...] |
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/filesync/ |
H A D | debug.c | 140 /* bits in the exit error code mask */ 208 * to test out the error handling code in filesync. We maintain a 216 fprintf(stderr, "Usage:\tfilesync -E<errno>,<code>,<filename>\n"); 244 char code; /* event triggering the error */ member in struct:errsim 293 errsim[num_errs].code = error_type; 320 dbg_chk_error(const char *name, char code) argument 324 /* see if this code matches any registered condition */ 325 if (code != errsim[i].code) 335 errsim[i].Errno, code, nam 355 dbg_chk_error(const char *name, char code) argument [all...] |
/illumos-gate/usr/src/cmd/compress/ |
H A D | compress.c | 111 #define INIT_BITS 9 /* initial number of bits/code */ 133 static int n_bits; /* number of bits/code */ 134 static int maxbits = BITS; /* user settable max # bits/code */ 135 static code_int maxcode; /* maximum code, given n_bits */ 136 /* should NEVER generate this code */ 190 * lie within the contiguous general code space. 193 #define CLEAR 256 /* table clear output code */ 296 * -b: Parameter limits the max number of bits/code. 318 * substrings and replaces them with a variable size code. This is 955 * prefix code / nex 1154 output(code_int code) argument 1283 code_int code, oldcode, incode; local 1387 code_int code; local 1457 code_int code; local [all...] |
/illumos-gate/usr/src/common/crypto/arcfour/amd64/ |
H A D | arcfour-x86_64.pl | 24 # Opteron... For reference, 1x in this case is RC4_CHAR C-code 29 # Intel P4 EM64T core was found to run the AMD64 code really slow... 32 # compose blended code, which would perform even within 30% marginal 42 # provided that loads are reordered even more aggressively! Both code 47 # If executed on Xeon, current RC4_CHAR code-path is 2.7x faster than 48 # RC4_INT code-path. While if executed on Opteron, it's only 25% 50 # is not implemented, then this final RC4_CHAR code-path should be 53 # Intel Core2 was observed to perform poorly on both code paths:-( It 58 # fit for Core2 and therefore the code was modified to skip cloop8 on 82 # processors and newer AMD64 processors. I replaced this with C code [all...] |
/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/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/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_menlo.h | 42 uint32_t code; /* Command code = MENLO_CMD_INITIALIZE */ member in struct:menlo_init_cmd 51 uint32_t code; /* Command code = MENLO_CMD_FW_DOWNLOAD */ member in struct:menlo_fw_download_cmd 67 uint32_t code; /* Command code */ member in struct:menlo_memory_cmd 76 uint32_t code; /* Command code = MENLO_CMD_FTE_INSERT */ member in struct:menlo_fte_insert_cmd 90 uint32_t code; /* Command code member in struct:menlo_fte_delete_cmd 99 uint32_t code; /* Command code */ member in struct:menlo_get_cmd 127 uint32_t code; /* Command code = MENLO_CMD_SET_PAUSE */ member in struct:menlo_set_cmd 162 uint32_t code; /* Command code = MENLO_CMD_LOOPBACK */ member in struct:menlo_loopback_cmd 178 uint32_t code; /* Command code = MENLO_CMD_RESET */ member in struct:menlo_reset_cmd 188 uint32_t code; /* Response code */ member in struct:menlo_fru_data_cmd 202 uint32_t code; /* Response code */ member in struct:menlo_diag_cmd 249 uint32_t code; /* Command code=MENLO_CMD_SET_FCOE_PARAMS */ member in struct:menlo_set_fcoe_params_cmd 264 uint32_t code; /* Command code = MENLO_CMD_SET_FACL */ member in struct:set_facl_cmd 286 uint32_t code; /* Command code = MENLO_CMD_CREATE_VL */ member in struct:create_vl_cmd 294 uint32_t code; /* Command code = MENLO_CMD_CREATE_VL */ member in struct:delete_vl_cmd 311 uint32_t code; /* Command code = MENLO_CMD_SET_PG */ member in struct:menlo_set_pg_info_cmd 319 uint32_t code; /* Command code=MENLO_CMD_SET_HOST_ETH_PFC_FLAG */ member in struct:menlo_set_host_eth_pfc_flag 333 uint32_t code; /* Command code */ member in union:menlo_cmd 405 uint32_t code; member in struct:menlo_init_rsp 434 uint32_t code; member in struct:menlo_get_config_rsp 483 uint32_t code; member in struct:menlo_fc_stats_rsp 519 uint32_t code; member in struct:menlo_network_stats_rsp 578 uint32_t code; member in struct:menlo_lif_stats_rsp 596 uint32_t code; member in struct:menlo_asic_stats_rsp 852 uint32_t code; member in struct:menlo_log_config_rsp 871 uint32_t code; member in struct:menlo_log_data_rsp 893 uint32_t code; member in struct:menlo_panic_log_data_rsp 929 uint32_t code; member in struct:menlo_lb_mode_rsp 968 uint32_t code; /* Response code */ member in struct:menlo_ftable_rsp 978 uint32_t code; /* Response code */ member in struct:menlo_sfp_rsp 986 uint32_t code; /* Response code */ member in struct:menlo_fru_data_rsp 995 uint32_t code; /* Response code */ member in struct:menlo_diag_log_data_rsp 1034 uint32_t code; /* Response code */ member in struct:menlo_get_fcoe_params_rsp 1071 uint32_t code; /* Response code */ member in struct:menlo_get_fcf_list_rsp 1082 uint32_t code; /* Response code */ member in struct:menlo_get_facl_rsp 1092 uint32_t code; /* Response code */ member in struct:create_vl_rsp 1099 uint32_t code; /* Response code */ member in struct:menlo_get_pg_info_rsp 1111 uint32_t code; /* Response code */ member in struct:menlo_get_host_eth_pfc_flag_rsp 1123 uint32_t code; /* Response code */ member in struct:menlo_get_dcbx_mode_rsp 1140 uint32_t code; member in union:menlo_rsp [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/uts/intel/sys/acpi/ |
H A D | acexcep.h | 14 * 1. Redistributions of source code must retain the above copyright 51 * Exception code classes 56 #define AE_CODE_AML 0x3000 /* From executing AML code */ 63 * Macros to insert the exception code classes 65 #define EXCEP_ENV(code) ((ACPI_STATUS) (code | AE_CODE_ENVIRONMENTAL)) 66 #define EXCEP_PGM(code) ((ACPI_STATUS) (code | AE_CODE_PROGRAMMER)) 67 #define EXCEP_TBL(code) ((ACPI_STATUS) (code | AE_CODE_ACPI_TABLE [all...] |
/illumos-gate/usr/src/uts/common/zmod/ |
H A D | trees.c | 14 * Each code tree is stored in a compressed form which is itself 15 * a Huffman encoding of the lengths of all the code strings (in 16 * ascending order by source values). The actual code strings are 50 /* end of block literal code */ 61 local const int extra_lbits[LENGTH_CODES] /* extra bits for each length code */ 64 local const int extra_dbits[D_CODES] /* extra bits for each distance code */ 67 local const int extra_blbits[BL_CODES]/* extra bits for each bit length code */ 109 /* length code for each normalized match length (0 == MIN_MATCH) */ 112 /* First normalized length for each code (0 = MIN_MATCH) */ 115 /* First normalized distance for each code ( 245 int code; /* code value */ local 583 ush code = 0; /* running code value */ local 1080 unsigned code; /* the code to send */ local [all...] |
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | trees.c | 13 * Each code tree is stored in a compressed form which is itself 14 * a Huffman encoding of the lengths of all the code strings (in 15 * ascending order by source values). The actual code strings are 51 /* end of block literal code */ 62 local const int extra_lbits[LENGTH_CODES] /* extra bits for each length code */ 65 local const int extra_dbits[D_CODES] /* extra bits for each distance code */ 68 local const int extra_blbits[BL_CODES]/* extra bits for each bit length code */ 105 /* length code for each normalized match length (0 == MIN_MATCH) */ 108 /* First normalized length for each code (0 = MIN_MATCH) */ 111 /* First normalized distance for each code ( 241 int code; /* code value */ local 581 ush code = 0; /* running code value */ local 1068 unsigned code; /* the code to send */ local [all...] |
/illumos-gate/usr/src/cmd/csh/ |
H A D | wait3.c | 58 static int wstat(int code, int status); 108 * Convert the status code to old style wait status 111 wstat(int code, int status) argument 115 switch (code) {
|