/illumos-gate/usr/src/uts/common/sys/usb/clients/usbinput/usbwcm/ |
H A D | usbwcm.h | 16 * 1. Redistributions of source code must retain the above copyright 39 * This code is derived from software contributed to The NetBSD Foundation 46 * 1. Redistributions of source code must retain the above copyright 116 uint16_t code; member in struct:event_input
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | page_retire.c | 40 * be retired, then the kernel page retire code is invoked via an ioctl. 102 * 3. Beware of places that have code like this in them: 333 * code paths across all possible page types). Not all combinations 395 * Used by the page_retire code for common completion processing. 483 * error code is appropriate for the condition reported. 486 page_retire_done(page_t *pp, int code) argument 498 if (page_retire_ops[i].pr_key == code) { 506 cmn_err(CE_PANIC, "page_retire_done: Invalid opcode %d", code); 510 ASSERT(prop->pr_key == code); 999 * we should execute the UE code abov [all...] |
/illumos-gate/usr/src/uts/i86pc/cpu/generic_cpu/ |
H A D | gcpu_mca.c | 240 gcpu_disp_match(uint16_t code) argument 250 if ((code & on) == on && (code & off) == 0) 258 bit_strip(uint16_t code, uint16_t mask, uint16_t shift) argument 260 return ((code & mask) >> shift); 263 #define BIT_STRIP(code, name) \ 264 bit_strip(code, MCAX86_ERRCODE_##name##_MASK, \ 392 #define GCPU_MNEMONIC(code, name, nspace) \ 395 BIT_STRIP(code, name), nspace) 401 uint16_t code local 628 gcpu_ereport_add_logout(nvlist_t *ereport, const gcpu_logout_t *gcl, uint_t bankno, const gcpu_error_disp_t *ged, uint16_t code) argument 825 uint16_t code = MCAX86_ERRCODE(status); local 954 uint16_t code = MCAX86_ERRCODE(gbl->gbl_status); local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.c | 314 * be set to suitable error code. Set it here. 865 drmach_cpr_callb(void *arg, int code) argument 869 if (code == CB_CODE_CPR_CHKPT) { 1698 int event, code; local 1709 /* Get the status code. */ 1714 code = ACPI_OST_STA_INSERT_IN_PROGRESS; 1718 code = ACPI_OST_STA_SUCCESS; 1722 code = ACPI_OST_STA_FAILURE; 1754 code = ACPI_OST_STA_EJECT_IN_PROGRESS; 1760 (void) acpidev_eval_ost(hdl, event, code, NUL [all...] |
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr.c | 2775 dr_op_err(int ce, dr_handle_t *hp, int code, char *fmt, ...) argument 2781 err = drerr_new_v(code, fmt, args); 2791 dr_dev_err(int ce, dr_common_unit_t *cp, int code) argument 2795 err = drerr_new(0, code, cp->sbdev_path, NULL);
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_impl.c | 1395 * The following code manages three classes of requests that CM makes to 1608 if (f) { /* most likely code path */ 1848 ibt_subnet_event_code_t code; local 1852 IBTF_DPRINTF_L3(cmlog, "ibcm_sm_notice_handler: saa_hdl %p, code = %d", 1859 code = IBT_SM_EVENT_MCG_CREATED; 1862 code = IBT_SM_EVENT_MCG_DELETED; 1865 code = IBT_SM_EVENT_GID_AVAIL; 1869 code = IBT_SM_EVENT_GID_UNAVAIL; 1883 code = IBT_SM_EVENT_AVAILABLE; 1885 code 2381 ibcm_async_handler(void *clnt_hdl, ibt_hca_hdl_t hca_hdl, ibt_async_code_t code, ibt_async_event_t *eventp) argument [all...] |
/illumos-gate/usr/src/uts/common/io/skd/ |
H A D | skd_s1120.h | 301 uint8_t code; /* 0C: Additional Sense Code */ member in struct:fit_comp_error_info
|
/illumos-gate/usr/src/uts/common/io/uath/ |
H A D | uath.c | 14 * 1. Redistributions of source code must retain the above copyright 227 uath_codename(int code); 564 uath_codename(int code) argument 629 if (code < N(names)) 630 return (names[code]); 631 if (code == WDCMSG_SET_DEFAULT_KEY) 634 (void) snprintf(buf, sizeof (buf), "0x%02x", code); 1113 uath_cmd_read(struct uath_softc *sc, uint32_t code, const void *idata, argument 1117 return (uath_cmdsend(sc, code, idata, ilen, odata, olen, flags)); 1121 uath_cmd_write(struct uath_softc *sc, uint32_t code, cons argument 1132 uath_cmdsend(struct uath_softc *sc, uint32_t code, const void *idata, int ilen, void *odata, int olen, int flags) argument [all...] |
/illumos-gate/usr/src/uts/common/io/usb/scsa2usb/ |
H A D | scsa2usb.c | 1737 * But they support UFI command-set (this code ensures that) 2035 scsa2usb_panic_callb(void *arg, int code) argument 2046 "scsa2usb_panic_callb: code=%d", code); 2058 * replace this code with a call to scsa2usb_pkt_completion().
|
/illumos-gate/usr/src/uts/common/io/wpi/ |
H A D | wpi.c | 1540 * The firmware boot code is small and is intended to be copied directly into 2149 cmd->code = WPI_CMD_TX_DATA; 2711 wpi_cmd(wpi_sc_t *sc, int code, const void *buf, int size, int async) argument 2720 WPI_DBG((WPI_DEBUG_CMD, "wpi_cmd() # code[%d]", code)); 2724 cmd->code = (uint8_t)code; 2908 cmd->code = WPI_CMD_SCAN; 2937 * Build a probe request frame. Most of the following code is a 3312 /* load firmware boot code int [all...] |
/illumos-gate/usr/src/uts/common/sys/fc4/ |
H A D | fc.h | 40 * firmware, SOC assembly code. Please be communicative. 243 int code; member in struct:LA_RLS_reply 258 uint_t code; member in struct:LOGI_PAYLOAD
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | fdc.h | 39 uchar_t code; member in struct:xlate_tbl 150 uchar_t d_dtl; /* dtl code */
|
H A D | lom_io.h | 295 * The "Fault LED frequency" is a 4 bit code allowing for LED 298 * For example the event code for the assertion of a fault LED rate of 2Hz is: 318 * The "Alarm number" is a 3 bit code allowing for up to 8 alarms 320 * For example the event code for the assertion of alarm 2 is: 341 * The "Fan number" is a 3 bit code allowing for up to 8 fans 345 * For example the event code for a failure on fan 3 is: 355 * These definitions will be picked up elsewhere in embedded code 377 * The PSU number is a 3 bit code allowing for up to 8 PSUs 381 * For example the event code for an "Input B" failure on PSU 2 is: 550 * The driver will return the whole event string, but include the code 558 int code[MAX_EVENTS]; member in struct:__anon8090 [all...] |
/illumos-gate/usr/src/lib/krb5/kdb/ |
H A D | kdb5.c | 32 * This code was based on code donated to MIT by Novell for 293 snprintf(buf, sizeof(buf), gettext("%s library initialization failed, error code %ld\n"), 1561 krb5_error_code code; local 1566 if ((code = krb5_dbe_lookup_tl_data(context, entry, &tl_data))) 1567 return (code); 1599 * this code and its callers will have to be changed */ 1674 krb5_error_code code; local 1678 if ((code = krb5_dbe_lookup_tl_data(context, entry, &tl_data))) 1679 return (code); [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | kbd.c | 1110 * Indexed by ((old special code) >> 4) & 0x07; add (old special code) & 0x0F. 1182 * Indexed by (new special code) >> 8; add (new special code) & 0xFF. 1370 * is the reply to that code. If so, wake up the 2008 /* Fall thru into RESET code */ 2358 kbdputcode(uint_t code, queue_t *q) argument 2369 *bp->b_wptr++ = code;
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | smc_commands.h | 43 uint8_t code; member in struct:ctsmc_code_ent
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | trapstat.c | 117 * TL>0 (only privileged code may execute at TL>0; not supporting this only 369 * TLB return entry. This code can then obtain a timestamp, and issue its own 445 * we do not allow the kernel to hard-code the size of the TLB return entry. 485 * trapstat attempts to observe it by executing a code sequence with a known 1105 * handler (i.e. the code interpositioned between the "retry" and 1276 * both I- and D-TLB misses; this code performs trap level pushing, 1278 * This code is executing at TL 1; %tstate[0] contains the saved 1595 * Since this interposing code sequence to count traps takes more 1615 * the interposing trap table. However, the tstat_trapcnt_cont code 2150 trapstat_cpr(void *arg, int code) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/io/px/ |
H A D | px_lib4u.c | 67 static boolean_t px_cpr_callb(void *arg, int code); 591 * common code can do generic checking against them. 1395 * registers when needed and use a unique UBC ID as an index. This code 1565 * XXX - Current code scans the fabric for all px_tool accesses. 1894 * code will clear this flag after one instance of LDN. Since 2375 px_cpr_callb(void *arg, int code) argument 2407 switch (code) {
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr.c | 2805 dr_op_err(int ce, dr_handle_t *hp, int code, char *fmt, ...) argument 2811 err = drerr_new_v(code, fmt, args); 2821 dr_dev_err(int ce, dr_common_unit_t *cp, int code) argument 2825 err = drerr_new(0, code, cp->sbdev_path, NULL);
|
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_drv.c | 90 * this code should assign values dynamically based on memory sizing. 241 mc_nvl_add_prop(nvlist_t *nvl, void *node, mcamd_propcode_t code, int reqval) argument 245 const char *name = mcamd_get_propname(code); 247 valfound = mcamd_get_numprop(NULL, (mcamd_node_t *)node, code, &value); 575 * code will see from those that we do not have dimm info 793 mcamd_mkhdl(&hdl); /* to call into common code */
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_raidz.c | 103 * See the reconstruction code below for how P, Q and R can used individually 1303 int code = 0; local 1335 code |= 1 << c; 1341 ASSERT(code != 0); 1342 ASSERT3U(code, <, 1 << VDEV_RAIDZ_MAXPARITY); 1391 return (code); 1400 int code; local 1467 code = vdev_raidz_reconstruct_general(rm, tgts, ntgts); 1468 ASSERT(code < (1 << VDEV_RAIDZ_MAXPARITY)); 1469 ASSERT(code > 1928 int code, ret = 0; local 2102 int code; local [all...] |
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_case.c | 39 * cases on the mod_cases list, ASRUs in the resource cache, and the RPC code. 255 * module code is broken, and we set the event code to a precomputed default. 271 * delete any existing entry from code hash if it is on it 401 const char *code; local 432 (void) fmd_conf_getprop(fmd.d_conf, "repaircode", &code); 434 (void) fmd_conf_getprop(fmd.d_conf, "resolvecode", &code); 436 (void) fmd_conf_getprop(fmd.d_conf, "updatecode", &code); 438 code = cip->ci_code; 448 cip->ci_mod->mod_fmri : cip->ci_diag_de, cip->ci_uuid, code, coun 1341 fmd_case_recreate(fmd_module_t *mp, fmd_xprt_t *xp, uint_t state, const char *uuid, const char *code) argument 2438 fmd_case_setcode(fmd_case_t *cp, char *code) argument [all...] |
/illumos-gate/usr/src/common/ficl/ |
H A D | ficl.h | 25 * 1. Redistributions of source code must retain the above copyright 55 * code written in C or ASM to Ficl in the style of TCL, or to invoke 56 * Ficl code from a compiled module. This allows you to do incremental 58 * languages (rapid development, quick code/test/debug cycle, 60 * easier to support large blocks of code, efficient, type checking). 68 * text block, so the "data pump" is somewhere in external code. This 82 * - Extensible: you can export code written in Forth, C, 87 * C code, or C code can invoke Ficl code 1209 ficlPrimitive code; /* Native code to execute the word */ member in struct:ficlWord [all...] |
H A D | primitives.c | 25 * 1. Redistributions of source code must retain the above copyright 92 * Changed the code below to compare the pointers first 175 * and whose code is colonParen. 555 * Compiles code for a conditional branch into the dictionary 576 * by "endif" to point past the "else" code. 581 * the "else" code. 798 * hash ( c-addr u -- code) 858 if (word->code == ficlPrimitiveParseStepParen) { 928 * IMMEDIATE code for "literal". This function gets a value from the stack 929 * and compiles it into the dictionary preceded by the code fo 2473 ficlPrimitive code; local [all...] |
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | zfssubr.c | 1036 int code = 0; local 1068 code |= 1 << c; 1074 ASSERT(code != 0); 1075 ASSERT3U(code, <, 1 << VDEV_RAIDZ_MAXPARITY); 1124 return (code); 1133 int code; local 1163 code = vdev_raidz_reconstruct_general(rm, tgts, ntgts); 1164 ASSERT(code < (1 << VDEV_RAIDZ_MAXPARITY)); 1165 ASSERT(code > 0); 1166 return (code); 1376 int code, ret = 0; local 1526 int code; local [all...] |