Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 3267) sorted by relevance

12345678910>>...131

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_cmdbuf.c89 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 Dcmdarg.c218 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 Ddump.c499 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 Dexec_attr.txt29 All:suser:cmd:::*:
35 Contract Observer:solaris:cmd:::/usr/bin/ctwatch:\
37 Cron Management:suser:cmd:::/usr/bin/crontab:euid=0
52 Device Security:suser:cmd:::/usr/sbin/eeprom:uid=0
120 Forced Privilege:solaris:cmd:::/usr/sbin/ping:\
167 Media Backup:suser:cmd:::/usr/bin/mt:euid=0
169 Media Backup:suser:cmd:::/usr/sbin/tar:euid=0
170 Media Catalog:solaris:cmd:::/usr/bin/bart:\
172 Media Restore:suser:cmd:::/usr/bin/cpio:euid=0
173 Media Restore:suser:cmd:::/usr/bin/mt:euid=0
[all …]
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c1421 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 Dinj_cmds.c80 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 Dpoolcfg.y293 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 Dipmi_sel.c48 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 Dipmi_sunoem.c95 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 Dipmi_misc.c34 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/exception_lists/
H A Dwscheck16 usr/src/cmd/cxgbetool/*
34 usr/src/cmd/bhyve/acpi.[ch]
35 usr/src/cmd/bhyve/ahci.h
46 usr/src/cmd/bhyve/gdb.[ch]
48 usr/src/cmd/bhyve/hda_reg.h
52 usr/src/cmd/bhyve/mem.[ch]
75 usr/src/cmd/bhyve/pm.c
76 usr/src/cmd/bhyve/pmtmr.c
77 usr/src/cmd/bhyve/post.c
80 usr/src/cmd/bhyve/rfb.[ch]
[all …]
/illumos-gate/usr/src/uts/common/io/mlxcx/
H A Dmlxcx_cmd.c518 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/usr/src/test/smbclient-tests/tests/smbfs/acl/
H A Dtp_acl_005.ksh67 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 Dtp_acl_004.ksh66 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 Dtp_acl_002.ksh62 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/fibre-channel/fca/emlxs/
H A Demlxs_ip.c37 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/intel/io/scsi/adapters/pvscsi/
H A Dpvscsi.c149 if (ctx->cmd == cmd) in pvscsi_lookup_ctx()
176 ctx->cmd = cmd; in pvscsi_acquire_ctx()
189 cmd->ctx->cmd = NULL; in pvscsi_release_ctx()
480 if ((cmd = ctx->cmd) != NULL) { in pvscsi_process_comp_ring()
1171 if (cmd->cmdlen > sizeof (cmd->cmd_cdb)) { in pvscsi_cmd_ext_alloc()
1183 cmd->cmd_rqslen = (cmd->statuslen - sizeof (cmd->cmd_scb)); in pvscsi_cmd_ext_alloc()
1186 if (cmd->tgtlen > sizeof (cmd->tgt_priv)) { in pvscsi_cmd_ext_alloc()
2083 if (++cmd->cmd_winindex >= cmd->cmd_nwin) in pvscsi_init_pkt()
2122 &cmd->cmd_dma_len, &cmd->cmd_dmac, in pvscsi_init_pkt()
2156 cmd->cached_cookies[0] = cmd->cmd_dmac; in pvscsi_init_pkt()
[all …]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/ulp/
H A Dfcp_util.h151 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 Dhermon_cmd.c1359 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 Dql_xioctl.c276 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 Dcomvario.sh377 …( 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=…
594cmd='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 Dmath.sh77 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 Dfcoet_fc.c189 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/cmd/print/printmgr/com/sun/admin/pm/server/
H A DDoPrinterAdd.java157 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 …]
/illumos-gate/usr/src/test/smbclient-tests/tests/smbmount/
H A Dtp_smbmount_005.ksh59 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 …]

12345678910>>...131