| /illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
| H A D | io.sh | 4 # Copyright (c) 1982-2012 AT&T Intellectual Property # 10 # http://www.eclipse.org/org/documents/epl-v10.html # 22 print -u2 -n "\t" 23 print -u2 -r ${Command}[$1]: "${@:2}" 24 let Errors+=1 31 tmp=$(mktemp -dt) || { err_exit mktemp -dt failed; exit 1; } 32 trap "cd /; rm -rf $tmp" EXIT 38 while command exec 3>&1 41 print -u3 good 43 print 'read -r a; print -r -u$1 -- "$a"' > $tmp/mycat [all …]
|
| H A D | builtins.sh | 4 # Copyright (c) 1982-2012 AT&T Intellectual Property # 10 # http://www.eclipse.org/org/documents/epl-v10.html # 22 print -u2 -n "\t" 23 print -u2 -r ${Command}[$1]: "${@:2}" 24 let Errors+=1 31 tmp=$(mktemp -dt) || { err_exit mktemp -dt failed; exit 1; } 32 trap "cd /; rm -rf $tmp" EXIT 38 set -- - foobar 39 [[ $# == 2 && $1 == - && $2 == foobar ]] || err_exit "set -- - foobar failed" 40 set -- -x foobar [all …]
|
| H A D | coprocess.sh | 4 # Copyright (c) 1982-2012 AT&T Intellectual Property # 10 # http://www.eclipse.org/org/documents/epl-v10.html # 20 # test the behavior of co-processes 23 print -u2 -n "\t" 24 print -u2 -r ${Command}[$1]: "${@:2}" 25 let Errors+=1 32 tmp=$(mktemp -dt) || { err_exit mktemp -dt failed; exit 1; } 33 trap "cd /; rm -rf $tmp" EXIT 35 if [[ -d /cygdrive ]] 36 then err_exit cygwin detected - coprocess tests disabled - enable at the risk of wedging your system [all …]
|
| H A D | comvario.sh | 4 # Copyright (c) 1982-2012 AT&T Intellectual Property # 10 # http://www.eclipse.org/org/documents/epl-v10.html # 23 # Copyright (c) 1982-2012 AT&T Intellectual Property # 29 # http://www.eclipse.org/org/documents/epl-v10.html # 43 print -u2 -n '\t' 44 print -u2 -r ${Command}[$1]: "${@:2}" 50 #set -o nounset 54 if typeset -f .sh.math.signbit >/dev/null && (( signbit(-NaN) )) 55 then HAVE_signbit=1 56 else print -u2 "$0: warning: -lm does not support signbit(-NaN)" [all …]
|
| /illumos-gate/usr/src/data/amdpmc/ |
| H A D | f17h_zen1_core.json | 7 …-pipeuOps dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the FP… 11 "rw": "Read-only", 12 "description": "Total number multi-pipe uOps assigned to Pipe 3" 16 "rw": "Read-only", 17 "description": "Total number multi-pipe uOps assigned to Pipe 2" 21 "rw": "Read-only", 22 "description": "Total number multi-pipe uOps assigned to Pipe 1" 26 "rw": "Read-only", 27 "description": "Total number multi-pipe uOps assigned to Pipe 0" 31 "rw": "Read-only", [all …]
|
| H A D | f17h_zen2_core.json | 7 …"description": "This is a retire-based event. The number of retired SSE/AVX FLOPs. The number of e… 11 "rw": "Read-write", 16 "rw": "Read-write", 20 "bit": 1, 21 "rw": "Read-write", 26 "rw": "Read-write", 39 "rw": "Read-write", 40 "description": "SSE bottom-executing uOps retired." 44 "rw": "Read-write", 48 "bit": 1, [all …]
|
| H A D | f19h_zen3_core.json | 7 …"description": "This is a retire-based event. The number of retired SSE/AVX FLOPs. The number of e… 11 "rw": "Read-write", 12 "description": "Multiply-Accumulate FLOPs. Each MAC operation is counted as 2 FLOPS." 16 "rw": "Read-write", 20 "bit": 1, 21 "rw": "Read-write", 26 "rw": "Read-write", 39 "rw": "Read-write", 40 "description": "SSE/AVX bottom-executing ops retired." 44 "rw": "Read-write", [all …]
|
| H A D | f19h_zen4_core.json | 6 "description": "The number of x87 floating-point Ops that have retired.", 10 "rw": "Read-write", 14 "bit": 1, 15 "rw": "Read-write", 20 "rw": "Read-write", 29 …"description": "This is a retire-based event. The number of retired SSE/AVX FLOPs. The number of e… 33 "rw": "Read-write", 34 …"description": "bfloat Multiply-Accumulate FLOPs. Each bfloat MAC operation is counted as 2 FLOPS… 38 "rw": "Read-write", 39 …"description": "Multiply-Accumulate FLOPs. Each MAC operation is counted as 2 FLOPS. This event … [all …]
|
| H A D | f1ah_zen5_core.json | 10 "rw": "Read-write", 14 "bit": 1, 15 "rw": "Read-write", 20 "rw": "Read-write", 30 "unit_mode": "or-value", 33 "bit-range": "7:5", 34 "rw": "Read-write", 47 "rw": "Read-write", 52 "rw": "Read-write", 56 "bit": 1, [all …]
|
| /illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
| H A D | bnxe_hw_debug.c | 90 //scan completed - finish in lm_disable_timer() 91 return 1; in lm_disable_timer() 95 // handle port 1 in lm_disable_timer() 96 } else if (port == 1) { in lm_disable_timer() 99 DbgMessage(pdev, INFORM, "idle_chk. lm_disable_timer(1) timer is not active\n"); in lm_disable_timer() 109 DbgMessage(pdev, INFORM, "idle_chk. lm_disable_timer(1) timer is active\n"); in lm_disable_timer() 110 //scan completed - finish in lm_disable_timer() 111 return 1; in lm_disable_timer() 121 return 1; in lm_disable_timer() 134 REG_WR(pdev, TM_REG_EN_LINEAR0_TIMER,1); in lm_enable_timer() [all …]
|
| /illumos-gate/usr/src/cmd/mdb/common/modules/svc.startd/ |
| H A D | startd.c | 68 if (mdb_readvar(&lookups, "dictionary_lookups") == -1) { in startd_status() 69 mdb_warn("failed to read 'dictionary_lookups' value\n"); in startd_status() 73 if (mdb_readvar(&ns_total, "dictionary_ns_total") == -1) { in startd_status() 74 mdb_warn("failed to read 'dictionary_ns_total' value\n"); in startd_status() 78 if (mdb_readvar(&dep_inserts, "dep_inserts") == -1) { in startd_status() 79 mdb_warn("failed to read 'dep_inserts' value\n"); in startd_status() 83 if (mdb_readvar(&dep_cycle_ns, "dep_cycle_ns") == -1) { in startd_status() 84 mdb_warn("failed to read 'dep_cycle_ns' value\n"); in startd_status() 88 if (mdb_readvar(&dep_insert_ns, "dep_insert_ns") == -1) { in startd_status() 89 mdb_warn("failed to read 'dep_insert_ns' value\n"); in startd_status() [all …]
|
| /illumos-gate/usr/src/boot/forth/ |
| H A D | check-password.4th | 1 \ Copyright (c) 2006-2015 Devin Teske <dteske@FreeBSD.org> 8 \ 1. Redistributions of source code must retain the above copyright 26 marker task-check-password.4th 30 vocabulary password-processing 31 only forth also password-processing definitions 35 21 constant ctrl_u \ The decimal ASCII value for Ctrl-U sequence 38 variable read-tick \ Twiddle position (used by read) 39 variable read-start \ Starting X offset (column)(used by read) 49 \ called by the read function. You need not call it directly. NOTE: arrow keys 52 : sgetkey ( -- ) [all …]
|
| /illumos-gate/usr/src/lib/print/libipp-core/common/ |
| H A D | read.c | 28 /* $Id: read.c 146 2006-03-24 00:26:54Z njacobs $ */ 52 /* read the language */ in read_name_with_language() 55 "read failed: lang len\n"); in read_name_with_language() 60 if ((string = alloca(size + 1)) == NULL) { in read_name_with_language() 67 "read failed: lang\n"); in read_name_with_language() 71 /* read the text */ in read_name_with_language() 74 "read failed: text len\n"); in read_name_with_language() 79 if ((string = alloca(size + 1)) == NULL) { in read_name_with_language() 86 "read failed: text\n"); in read_name_with_language() 100 { VTAG_BOOLEAN, 1 }, [all …]
|
| /illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/ |
| H A D | dtrace.c | 67 if (mdb_readvar(&probes, "dtrace_probes") == -1) { in id2probe() 68 mdb_warn("failed to read 'dtrace_probes'"); in id2probe() 72 probes += (addr - 1) * sizeof (dtrace_probe_t *); in id2probe() 74 if (mdb_vread(&probe, sizeof (uintptr_t), probes) == -1) { in id2probe() 75 mdb_warn("failed to read dtrace_probes[%d]", addr - 1); in id2probe() 90 "dtrace(8)-like output for in-kernel DTrace data. (The " in dtrace_help() 99 "-c cpu Only provide output for specified CPU.\n"); in dtrace_help() 105 dtrace_epid_t epid = epd->dtepd_epid; in dtracemdb_eprobe() 112 addr = (uintptr_t)state->dts_ecbs + in dtracemdb_eprobe() 113 (epid - 1) * sizeof (dtrace_ecb_t *); in dtracemdb_eprobe() [all …]
|
| /illumos-gate/usr/src/man/man4d/ |
| H A D | ugen.4d | 9 ugen \- USB generic driver 13 \fBNode Name@unit-address\fR 25 \fBopen\fR(2), \fBclose\fR(2), \fBread\fR(2), \fBwrite\fR(2), 56 device is on-lined after hot insertion, and no driver is found, there will be 79 add_drv -n -m '* <device perms> <owner> <group>' 80 -i '"usb472,b0b0"' ugen 100 update_drv -a -m '* <device perms> <owner> <group>' 101 -i '"usb472,b0b0"' ugen 130 with the \fBprtconf\fR(8) -D option to determine if \fBugen\fR is successfully 135 configuration 1 of a composite device follows: [all …]
|
| /illumos-gate/usr/src/cmd/lp/lib/msgs/ |
| H A D | read_fifo.c | 41 static int Had_Full_Buffer = 1; 50 ** if we read part of the real message, we can continue 51 ** to read the rest of it in as many steps as we want 54 ** So, a real message doesn't have to be read in one piece, 55 ** which is good since we don't know how much to read! 62 ** If a signal occurs during an attempted read, we can exit. 63 ** The caller can retry the read and we will correctly restart 65 ** that at the beginning of each READ below, we can go back 66 ** to the first statement executed (the first READ below) 69 ** If the last writer closed the fifo, we'll read 0 bytes [all …]
|
| /illumos-gate/usr/src/lib/fm/libfmd_snmp/mibs/ |
| H A D | SUN-FM-MIB.mib | 1 -- 2 -- CDDL HEADER START 3 -- 4 -- The contents of this file are subject to the terms of the 5 -- Common Development and Distribution License (the "License"). 6 -- You may not use this file except in compliance with the License. 7 -- 8 -- You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 -- or http://www.opensolaris.org/os/licensing. 10 -- See the License for the specific language governing permissions [all …]
|
| /illumos-gate/usr/src/cmd/mdb/common/modules/nfs/ |
| H A D | rfs4.c | 44 "global_zone") == -1) { in rfs4_db_dcmd() 55 if (mdb_vread(&nfsglbls, sizeof (nfs_globals_t), glbls) == -1) { in rfs4_db_dcmd() 56 mdb_warn("can't read zone globals"); in rfs4_db_dcmd() 61 (uintptr_t)nfsglbls.nfs4_srv) == -1) { in rfs4_db_dcmd() 62 mdb_warn("can't read NFS4 server structure"); in rfs4_db_dcmd() 67 (uintptr_t)nfs4srv.nfs4_server_state) == -1) { in rfs4_db_dcmd() 68 mdb_warn("can't read NFS4 server state"); in rfs4_db_dcmd() 73 (uintptr_t)rfs4_db.db_tables) == -1) { in rfs4_db_dcmd() 110 arg.a_un.a_str = "-v"; in rfs4_tbl_dcmd() 112 n = 1; in rfs4_tbl_dcmd() [all …]
|
| /illumos-gate/usr/src/uts/common/io/bnx/570x/common/include/ |
| H A D | serdes.h | 2 * Copyright 2014-2017 Cavium, Inc. 4 * and Distribution License, v.1, (the "License"). 9 * at http://opensource.org/licenses/CDDL-1.0 31 #define MII_CTRL_RESET (1<<15) /* SC */ /* Reset:0 */ 32 /* Write of '1' initiate reset and will self clear when reset 33 is complete. Read of '1' indicates if PHY is currently 35 #define MII_CTRL_LOOPBACK (1<<14) /* RW */ 36 /* Value of '1' sets global loopback mode. */ 37 #define MII_CTRL_MANUAL_SPD0 (1<<13) /* RW */ 44 #define MII_CTRL_ANEG_ENA (1<<12) /* Reset:1 */ [all …]
|
| /illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
| H A D | vfs.c | 56 if (wsp->walk_addr == 0 && in vfs_walk_init() 57 mdb_readvar(&wsp->walk_addr, "rootvfs") == -1) { in vfs_walk_init() 58 mdb_warn("failed to read 'rootvfs'"); in vfs_walk_init() 62 wsp->walk_data = (void *)wsp->walk_addr; in vfs_walk_init() 72 if (mdb_vread(&vfs, sizeof (vfs), wsp->walk_addr) == -1) { in vfs_walk_step() 73 mdb_warn("failed to read vfs_t at %p", wsp->walk_addr); in vfs_walk_step() 77 status = wsp->walk_callback(wsp->walk_addr, &vfs, wsp->walk_cbdata); in vfs_walk_step() 79 if (vfs.vfs_next == wsp->walk_data) in vfs_walk_step() 82 wsp->walk_addr = (uintptr_t)vfs.vfs_next; in vfs_walk_step() 88 * Utility routine to read in a filesystem name given a vfs pointer. If [all …]
|
| /illumos-gate/usr/src/uts/intel/io/ipmi/ |
| H A D | ipmi_kcs.c | 8 * 1. Redistributions of source code must retain the above copyright 68 /* WAIT FOR IBF = 1 */ in kcs_wait_for_ibf() 93 /* WAIT FOR OBF = 1 */ in kcs_wait_for_obf() 147 /* Wait for OBF = 1 */ in kcs_error() 148 status = kcs_wait_for_obf(sc, 1); in kcs_error() 150 /* Read error status */ in kcs_error() 155 /* Write READ into Data_in */ in kcs_error() 164 /* Wait for OBF = 1 */ in kcs_error() 165 status = kcs_wait_for_obf(sc, 1); in kcs_error() 208 return (1); in kcs_start_write() [all …]
|
| /illumos-gate/usr/src/uts/common/io/hxge/ |
| H A D | hxge_peu_hw.h | 230 * Master Data Parity Error - set if all the following conditions 234 * Fast Back-to-Back Capable (N/A in PCIE) 236 * Capabilities List - presence of extended capability item. 239 * Fast Back-to-Back Enable (N/A in PCIE) 244 * The device can issue Memory Write-and-Invalidate commands (N/A 256 uint32_t det_par_err:1; 257 uint32_t sig_serr:1; 258 uint32_t rcv_mstr_abrt:1; 259 uint32_t rcv_tgt_abrt:1; 260 uint32_t sig_tgt_abrt:1; [all …]
|
| /illumos-gate/usr/src/cmd/mdb/common/modules/fctl/ |
| H A D | fctl.c | 34 #include <sys/fibre-channel/fc.h> 35 #include <sys/fibre-channel/impl/fctl_private.h> 36 #include <sys/fibre-channel/impl/fc_ulpif.h> 37 #include <sys/fibre-channel/impl/fc_portif.h> 38 #include <sys/fibre-channel/impl/fc_fcaif.h> 77 if (wsp->walk_addr == 0 && in port_walk_i() 78 mdb_readvar(&wsp->walk_addr, "fctl_fca_portlist") == -1) { in port_walk_i() 79 mdb_warn("failed to read 'fctl_fca_portlist'"); in port_walk_i() 83 wsp->walk_data = mdb_alloc(sizeof (fc_fca_port_t), UM_SLEEP); in port_walk_i() 88 * At each step, read a fc_fca_port_t into our private storage, and then invoke [all …]
|
| /illumos-gate/usr/src/lib/libcurses/screen/ |
| H A D | tgetch.c | 30 * University Copyright- Copyright (c) 1982, 1986, 1988 34 * University Acknowledgment- Portions of this document are derived from 52 * Read a key typed from the terminal 54 * interpret: = 0 for single-char key only 55 * = 1 for matching function key and macro patterns. 56 * = 2 same as 1 but no time-out for funckey matching. 66 int i = 0, j, collapse = 1; in tgetch() 69 chtype *inputQ = cur_term->_input_queue; in tgetch() 70 char *chars_onQ = &(cur_term->_chars_on_queue); in tgetch() 78 * will be non-destructive. in tgetch() [all …]
|
| /illumos-gate/usr/src/uts/common/io/e1000api/ |
| H A D | e1000_nvm.c | 3 Copyright (c) 2001-2015, Intel Corporation 9 1. Redistributions of source code must retain the above copyright notice, 40 * e1000_init_nvm_ops_generic - Initialize NVM function pointers 43 * Setups up the function pointers to no-op functions 47 struct e1000_nvm_info *nvm = &hw->nvm; in e1000_init_nvm_ops_generic() 51 nvm->ops.init_params = e1000_null_ops_generic; in e1000_init_nvm_ops_generic() 52 nvm->ops.acquire = e1000_null_ops_generic; in e1000_init_nvm_ops_generic() 53 nvm->ops.read = e1000_null_read_nvm; in e1000_init_nvm_ops_generic() 54 nvm->ops.release = e1000_null_nvm_generic; in e1000_init_nvm_ops_generic() 55 nvm->ops.reload = e1000_reload_nvm_generic; in e1000_init_nvm_ops_generic() [all …]
|