/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_cmdbuf.c | 89 cmd->cmd_buf = cmd->cmd_history[0]; in mdb_cmdbuf_create() 188 cmd->cmd_hnew = (cmd->cmd_hnew + 1) % cmd->cmd_histlen; in mdb_cmdbuf_accept() 192 cmd->cmd_buf = cmd->cmd_history[cmd->cmd_hnew]; in mdb_cmdbuf_accept() 193 cmd->cmd_hcur = cmd->cmd_hnew; in mdb_cmdbuf_accept() 201 cmd->cmd_hcur = cmd->cmd_hnew; in mdb_cmdbuf_accept() 356 bcopy(&cmd->cmd_buf[i], &cmd->cmd_buf[cmd->cmd_bufidx], in mdb_cmdbuf_killfwdword() 410 bcopy(&cmd->cmd_buf[cmd->cmd_bufidx], &cmd->cmd_buf[i], in mdb_cmdbuf_killbackword() 449 (void) strcpy(cmd->cmd_buf, cmd->cmd_history[cmd->cmd_hcur]); in mdb_cmdbuf_prevhist() 464 cmd->cmd_hcur = (cmd->cmd_hcur + 1) % cmd->cmd_halloc; in mdb_cmdbuf_nexthist() 489 cmd->cmd_hcur = cmd->cmd_hnew; in mdb_cmdbuf_findhist() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | cmdarg.c | 218 cmd->firstarg = cmd->nextarg = p; in cmdopen_20120411() 219 cmd->laststr = cmd->nextstr = cmd->buf + n; in cmdopen_20120411() 241 if ((cmd->flags & CMD_MINIMUM) && cmd->argcount < cmd->argmax) in cmdflush() 247 cmd->total.args += cmd->argcount; in cmdflush() 303 n = (int)(cmd->nextarg - cmd->argv); in cmdflush() 304 cmd->nextarg = cmd->firstarg; in cmdflush() 305 cmd->nextstr = cmd->laststr; in cmdflush() 326 else if ((n = (*cmd->runf)(n, cmd->argv, cmd->disc)) == -1) in cmdflush() 378 *cmd->nextarg++ = cmd->nextstr; in cmdarg() 382 if (cmd->argcount >= cmd->argmax && (i = cmdflush(cmd)) > r) in cmdarg() [all …]
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | dump.c | 499 while (*cmd == ' ') cmd ++; in getcmd() 510 while (*cmd == ' ') cmd ++; in getcmd() 570 while (*cmd == ' ') cmd ++; in getcmd() 576 while (*cmd == ' ') cmd ++; in getcmd() 589 while (*cmd == ' ') cmd ++; in getcmd() 602 while (*cmd == ' ') cmd ++; in getcmd() 613 while (*cmd == ' ') cmd ++; in getcmd() 658 while (*cmd == ' ') cmd ++; in getcmd() 684 while (*cmd == ' ') cmd ++; in getcmd() 728 while (*cmd == ' ') cmd ++; in getcmd() [all …]
|
/illumos-gate/usr/src/lib/libsecdb/ |
H A D | exec_attr.txt | 30 All:suser:cmd:::*: 36 Contract Observer:solaris:cmd:::/usr/bin/ctwatch:\ 38 Cron Management:suser:cmd:::/usr/bin/crontab:euid=0 53 Device Security:suser:cmd:::/usr/sbin/eeprom:uid=0 121 Forced Privilege:solaris:cmd:::/usr/sbin/ping:\ 168 Media Backup:suser:cmd:::/usr/bin/mt:euid=0 170 Media Backup:suser:cmd:::/usr/sbin/tar:euid=0 171 Media Catalog:solaris:cmd:::/usr/bin/bart:\ 173 Media Restore:suser:cmd:::/usr/bin/cpio:euid=0 174 Media Restore:suser:cmd:::/usr/bin/mt:euid=0 [all …]
|
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/ |
H A D | hba.c | 1421 cmd->sc_task.ts_drv_priv = cmd; in scsa1394_cmd_cache_constructor() 1604 cmd->sc_buf_seg = &cmd->sc_buf_seg_mem; in scsa1394_cmd_buf_dma_alloc() 1890 if ((cmd->sc_curwin == cmd->sc_nwin) && (cmd->sc_nwin == 1)) { in scsa1394_cmd_buf_dma_move() 1893 if (++cmd->sc_curwin >= cmd->sc_nwin) { in scsa1394_cmd_buf_dma_move() 1919 cmd->sc_buf_seg = &cmd->sc_buf_seg_mem; in scsa1394_cmd_buf_dma_move() 2032 cmd->sc_timeout = min(cmd->sc_timeout, in scsa1394_prepare_pkt() 2044 cmd->sc_cdb_actual_len = cmd->sc_cdb_len; in scsa1394_cmd_fill_cdb() 2181 cmd->sc_xfer_bytes = cmd->sc_win_len; in scsa1394_cmd_fill_cdb_other() 2183 cmd->sc_total_blks = cmd->sc_xfer_blks; in scsa1394_cmd_fill_cdb_other() 2413 cmd->sc_resid_blks -= cmd->sc_xfer_blks; in scsa1394_cmd_setup_next_xfer() [all …]
|
/illumos-gate/usr/src/cmd/fm/fminject/common/ |
H A D | inj_cmds.c | 80 inj_cmd_t *cmd; in inj_cmd_rand() local 109 return (cmd); in inj_cmd_rand() 118 cmd->cmd_num = num; in inj_cmd_repeat() 121 return (cmd); in inj_cmd_repeat() 130 cmd->cmd_event = ev; in inj_cmd_send() 132 return (cmd); in inj_cmd_send() 143 return (cmd); in inj_cmd_sleep() 167 return (cmd); in inj_cmd_addhrt() 234 cmd->cmd_num, cmd->cmd_num > 1 ? "s" : ""); in cmd_run() 253 inj_cmd_t *cmd; in inj_program_run() local [all …]
|
/illumos-gate/usr/src/cmd/pools/poolcfg/ |
H A D | poolcfg.y | 293 cmd = $$; 300 cmd = $$; 325 cmd = $$; 353 cmd = $$; 375 cmd = $$; 401 cmd = $$; 414 cmd = $$; 424 cmd = $$; 434 cmd = $$; 445 cmd = $$; [all …]
|
/illumos-gate/usr/src/lib/libipmi/common/ |
H A D | ipmi_sel.c | 48 cmd.ic_lun = 0; in ipmi_sel_get_info() 50 cmd.ic_dlen = 0; in ipmi_sel_get_info() 91 cmd.ic_lun = 0; in ipmi_sel_get_entry() 128 cmd.ic_lun = 0; in ipmi_sel_get_time() 130 cmd.ic_dlen = 0; in ipmi_sel_get_time() 147 ipmi_cmd_t cmd; in ipmi_sel_set_time() local 152 cmd.ic_lun = 0; in ipmi_sel_set_time() 170 cmd.ic_lun = 0; in ipmi_sel_get_utc_offset() 172 cmd.ic_dlen = 0; in ipmi_sel_get_utc_offset() 190 ipmi_cmd_t cmd; in ipmi_sel_set_utc_offset() local [all …]
|
H A D | ipmi_sunoem.c | 95 ipmi_cmd_t cmd, *resp; in ipmi_send_sunoem_led_set() local 99 cmd.ic_lun = 0; in ipmi_send_sunoem_led_set() 100 cmd.ic_data = req; in ipmi_send_sunoem_led_set() 116 ipmi_cmd_t cmd, *resp; in ipmi_send_sunoem_led_get() local 120 cmd.ic_lun = 0; in ipmi_send_sunoem_led_get() 121 cmd.ic_data = req; in ipmi_send_sunoem_led_get() 178 ipmi_cmd_t cmd, *resp; in ipmi_sunoem_uptime() local 185 cmd.ic_lun = 0; in ipmi_sunoem_uptime() 188 cmd.ic_data = &unused; in ipmi_sunoem_uptime() 232 cmd.ic_lun = 0; in ipmi_sunoem_update_fru() [all …]
|
H A D | ipmi_misc.c | 34 ipmi_cmd_t cmd, *resp; in ipmi_get_deviceid() local 41 cmd.ic_lun = 0; in ipmi_get_deviceid() 43 cmd.ic_data = NULL; in ipmi_get_deviceid() 44 cmd.ic_dlen = 0; in ipmi_get_deviceid() 146 cmd.ic_lun = 0; in ipmi_get_channel_auth_caps() 180 cmd.ic_lun = 0; in ipmi_get_channel_info() 203 ipmi_cmd_t cmd; in ipmi_chassis_identify() local 218 cmd.ic_lun = 0; in ipmi_chassis_identify() 236 cmd.ic_lun = 0; in ipmi_chassis_status() 238 cmd.ic_data = NULL; in ipmi_chassis_status() [all …]
|
/illumos-gate/usr/src/test/smbclient-tests/tests/smbfs/acl/ |
H A D | tp_acl_005.ksh | 67 cti_fail "FAIL: $cmd" 86 cti_fail "FAIL: $cmd" 96 cti_execute_cmd $cmd 98 cti_fail "FAIL: $cmd" 104 cti_execute_cmd $cmd 118 cti_execute_cmd $cmd 126 cti_execute_cmd $cmd 137 cti_execute_cmd $cmd 148 cti_execute_cmd $cmd 159 cti_execute_cmd $cmd [all …]
|
H A D | tp_acl_004.ksh | 66 cti_fail "FAIL: $cmd" 85 cti_fail "FAIL: $cmd" 95 cti_execute_cmd $cmd 97 cti_fail "FAIL: $cmd" 103 cti_execute_cmd $cmd 105 cti_fail "FAIL: $cmd" 115 cti_execute_cmd $cmd 123 cti_execute_cmd $cmd 137 cti_execute_cmd $cmd 148 cti_execute_cmd $cmd [all …]
|
H A D | tp_acl_002.ksh | 62 cti_fail "FAIL: $cmd" 78 cti_execute_cmd $cmd 80 cti_fail "FAIL: $cmd" 85 cti_execute_cmd $cmd 87 cti_fail "FAIL: $cmd" 94 cmd="echo $tc_id | \ 96 cti_execute_cmd $cmd 98 cti_fail "FAIL: $cmd" 108 cti_execute_cmd $cmd 117 cti_execute_cmd $cmd [all …]
|
/illumos-gate/usr/src/uts/common/io/mlxcx/ |
H A D | mlxcx_cmd.c | 518 cmd->mcmd_size = 1U << cmd->mcmd_size_l2; in mlxcx_cmd_queue_init() 526 cmd->mcmd_mask = (uint32_t)((1ULL << cmd->mcmd_size) - 1); in mlxcx_cmd_queue_init() 669 bzero(cmd, sizeof (*cmd)); in mlxcx_cmd_init() 1012 cv_wait(&cmd->mlcmd_cv, &cmd->mlcmd_lock); in mlxcx_cmd_wait() 1034 cmd->mlcmd_op, cmd->mlcmd_status); in mlxcx_cmd_evaluate() 1053 mlxcx_cmd_t cmd; in mlxcx_cmd_disable_hca() local 1079 mlxcx_cmd_t cmd; in mlxcx_cmd_enable_hca() local 1105 mlxcx_cmd_t cmd; in mlxcx_cmd_query_issi() local 1142 mlxcx_cmd_t cmd; in mlxcx_cmd_set_issi() local 1168 mlxcx_cmd_t cmd; in mlxcx_cmd_query_pages() local [all …]
|
/illumos-gate/exception_lists/ |
H A D | wscheck | 17 usr/src/cmd/cxgbetool/* 37 usr/src/cmd/bhyve/acpi.[ch] 38 usr/src/cmd/bhyve/ahci.h 50 usr/src/cmd/bhyve/gdb.[ch] 52 usr/src/cmd/bhyve/hda_reg.h 56 usr/src/cmd/bhyve/mem.[ch] 81 usr/src/cmd/bhyve/pm.c 82 usr/src/cmd/bhyve/pmtmr.c 83 usr/src/cmd/bhyve/post.c 86 usr/src/cmd/bhyve/rtc.[ch] [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_ip.c | 37 IOCB *cmd; in emlxs_ip_handle_event() local 53 cmd->ULPSTATUS, cmd->un.ulpWord[4]); in emlxs_ip_handle_event() 78 "[%08x,%08x]", cmd->ULPCOMMAND, cmd->ULPSTATUS, in emlxs_ip_handle_event() 79 cmd->un.ulpWord[4], cmd->un.ulpWord[5]); in emlxs_ip_handle_event() 98 "[%08x,%08x]", cmd->ULPCOMMAND, cmd->ULPSTATUS, in emlxs_ip_handle_event() 99 cmd->un.ulpWord[4], cmd->un.ulpWord[5]); in emlxs_ip_handle_event() 117 cmd->ULPCOMMAND, cmd->ULPSTATUS, cmd->un.ulpWord[4], in emlxs_ip_handle_event() 136 cmd->un.ulpWord[4], cmd->un.ulpWord[5]); in emlxs_ip_handle_event() 396 cmd->ULPCOMMAND, cmd->ULPIOTAG, cmd->ULPSTATUS, in emlxs_handle_create_xri() 409 cmd->ULPCOMMAND, cmd->ULPIOTAG, cmd->ULPSTATUS, in emlxs_handle_create_xri() [all …]
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/ulp/ |
H A D | fcp_util.h | 151 sizeof ((cmd)->scsi_fc_pwwn)); \ 157 (cmd)->scsi_lun = (cmd32)->scsi_lun; \ 158 (cmd)->scsi_flags = (cmd32)->scsi_flags; \ 161 (cmd)->scsi_cdblen = (cmd32)->scsi_cdblen; \ 163 (cmd)->scsi_buflen = (cmd32)->scsi_buflen; \ 167 (cmd)->scsi_rqlen = (cmd32)->scsi_rqlen; \ 168 (cmd)->scsi_rqresid = (cmd32)->scsi_rqresid; 179 (cmd32)->scsi_lun = (cmd)->scsi_lun; \ 180 (cmd32)->scsi_flags = (cmd)->scsi_flags; \ 189 (cmd32)->scsi_rqlen = (cmd)->scsi_rqlen; \ [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_cmd.c | 1359 cmd.cp_inmod = 0; in hermon_init_hca_cmd_post() 1361 cmd.cp_opmod = 0; in hermon_init_hca_cmd_post() 1391 cmd.cp_inmod = 0; in hermon_close_hca_cmd_post() 1393 cmd.cp_opmod = 0; in hermon_close_hca_cmd_post() 1440 cmd.cp_opmod = 0; in hermon_set_port_cmd_post() 1468 cmd.cp_opmod = 0; in hermon_init_port_cmd_post() 1494 cmd.cp_opmod = 0; in hermon_close_port_cmd_post() 1570 cmd.cp_inmod = 0; in hermon_mod_stat_cfg_cmd_post() 1621 cmd.cp_opmod = 0; in hermon_map_cmd_post() 1780 cmd.cp_inmod = 0; in hermon_unmap_fa_cmd_post() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_xioctl.c | 276 switch (cmd) { in ql_xioctl() 347 EXT_IOCTL *cmd; in ql_sdm_ioctl() local 573 EXT_IOCTL *cmd; in ql_sdm_setup() local 580 if (cmd == NULL) { in ql_sdm_setup() 1524 if (cmd->RequestLen < cmd->ResponseLen) { in ql_fcct() 1543 cmd->RequestLen, mode) != cmd->RequestLen) { in ql_fcct() 1716 cmd->ResponseLen, mode) != cmd->ResponseLen) { in ql_fcct() 2649 cmd->ResponseLen, mode) != cmd->ResponseLen) { in ql_scsi_passthru() 7732 cmd->ResponseLen, mode) != cmd->ResponseLen) { in ql_get_fwexttrace() 7821 cmd->ResponseLen, mode) != cmd->ResponseLen) { in ql_get_fwfcetrace() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | comvario.sh | 377 …( cmd='compound v=( integer -A ar=( [aa]=4 [bb]=9 ) ; ) ; print -C v' stdoutpattern=$'~(Alr)(.*\\[… 570 typeset cmd 581 cmd="${tst.cmd}" 582 …test_variants+=( testname="${0}/${i}/plain" cmd="$cmd" typeset -a stdoutpattern=( "${tst.stdoutpat… 586 …test_variants+=( testname="${0}/${i}/read_in_function" cmd="$cmd" typeset -a stdoutpattern=( "${ts… 590 …test_variants+=( testname="${0}/${i}/read_in_nested_function" cmd="$cmd" typeset -a stdoutpattern=… 594 …cmd='function rf2 { nameref val=$1 ; read -C val ; } ; function rf { nameref val=$1 ; rf2 val ; } … 595 cmd+="${tst.cmd/~(E)read[[:space:]]+-C[[:space:]]+([[:alnum:]]+)[[:space:]]+\;/rf \1 \; }" 596 cmd+=' ; } ; main' 597 …test_variants+=( testname="${0}/${i}/read_into_localvar_in_nested_function" cmd="$cmd" typeset -a … [all …]
|
H A D | math.sh | 77 typeset cmd 114 cmd="${tst.cmd//@@TYPE@@/${ty}}" 118 cmd="${cmd//@@VAR@@/z}" 122 cmd="compound c ; ${cmd//@@VAR@@/c.z}" 125 cmd="compound -a c ; ${cmd//@@VAR@@/c[11].z}" 128 cmd="compound -a c ; ${cmd//@@VAR@@/c[17][19].z}" 131 cmd="compound -a c ; ${cmd//@@VAR@@/c[17][19][23][27].z}" 134 cmd="compound -A c ; ${cmd//@@VAR@@/c[info].z}" 138 cmd="compound c ; nameref ncr=c.z ; ${cmd//@@VAR@@/ncr}" 141 cmd="compound -a c ; nameref ncr=c[11].z ; ${cmd//@@VAR@@/ncr}" [all …]
|
/illumos-gate/usr/src/uts/common/io/comstar/port/fcoet/ |
H A D | fcoet_fc.c | 189 cmd->cmd_handle = 0; in fcoet_send_cmd_response() 330 cmd, cmd->cmd_fca_private, cmd->cmd_specific); in fcoet_abort_cmd() 353 CMD2XCH(cmd)); in fcoet_abort_cmd() 404 fct_cmd_t *cmd; in fcoet_send_sol_flogi() local 414 xch = CMD2XCH(cmd); in fcoet_send_sol_flogi() 415 els = CMD2ELS(cmd); in fcoet_send_sol_flogi() 425 xch->xch_cmd = cmd; in fcoet_send_sol_flogi() 539 switch (cmd) { in fcoet_ctl() 647 xch = CMD2XCH(cmd); in fcoet_send_sol_els() 650 xch->xch_cmd = cmd; in fcoet_send_sol_els() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pvscsi/ |
H A D | pvscsi.c | 121 if (((cmd->start + cmd->timeout) - in pvscsi_add_to_queue() 595 pvscsi_dev_reset(pvs, cmd->target, cmd->lun); in pvscsi_poll_cmd() 615 for (cmd = list_head(l); cmd != NULL; cmd = list_next(l, cmd)) { in pvscsi_abort_all() 656 bcopy(cmd->cdb, rdesc->cdb, cmd->cdblen); in pvscsi_transport_command() 1067 for (cmd = list_head(l); cmd != NULL; cmd = list_next(l, cmd)) { in pvscsi_timeout() 1075 overdue = now - (cmd->start + cmd->timeout); in pvscsi_timeout() 1169 bzero(&cmd->cmd_scb, sizeof (cmd->cmd_scb)); in pvscsi_start() 1248 bzero(&cmd, sizeof (cmd)); in pvscsi_max_targets() 1280 bzero(cmd.cdb, sizeof (cmd.cdb)); in pvscsi_probe_target() 1519 bzero(cmd, sizeof (*cmd)); in pvscsi_cmd_init() [all …]
|
/illumos-gate/usr/src/test/smbclient-tests/tests/smbmount/ |
H A D | tp_smbmount_005.ksh | 59 cti_execute -i '' FAIL $cmd 71 cti_execute_cmd $cmd 80 cti_execute_cmd $cmd 103 cti_execute_cmd sudo -n $cmd 113 cti_execute_cmd sudo -n $cmd 122 cti_execute_cmd sudo -n $cmd 130 cmd="umount $TMNT" 131 cti_execute_cmd sudo -n $cmd 140 cti_execute_cmd sudo -n $cmd 148 cti_execute_cmd sudo -n $cmd [all …]
|
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/ |
H A D | DoPrinterAdd.java | 157 cmd = cmd.concat(" -s " + printserver); in addLocal() 159 cmd = cmd.concat(" -v " + device); in addLocal() 162 cmd = cmd.concat(" -m uri"); in addLocal() 165 cmd = cmd.concat(" -m netstandard"); in addLocal() 167 cmd = cmd.concat(" -m standard"); in addLocal() 169 cmd = cmd.concat("_foomatic"); in addLocal() 173 cmd = cmd.concat(" -T " + printertype); in addLocal() 175 cmd = cmd.concat(" -A " + notify); in addLocal() 177 cmd = cmd.concat(" -n " + ppdfile); in addLocal() 193 cmd = cmd.concat(" -I " + tmpstr); in addLocal() [all …]
|