Home
last modified time | relevance | path

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

12345678910>>...143

/titanic_50/usr/src/cmd/mdb/common/mdb/
H A Dmdb_cmdbuf.c49 cmdbuf_shiftr(mdb_cmdbuf_t *cmd, size_t nbytes) in cmdbuf_shiftr() argument
51 bcopy(&cmd->cmd_buf[cmd->cmd_bufidx], in cmdbuf_shiftr()
52 &cmd->cmd_buf[cmd->cmd_bufidx + nbytes], in cmdbuf_shiftr()
53 cmd->cmd_buflen - cmd->cmd_bufidx); in cmdbuf_shiftr()
57 mdb_cmdbuf_allocchunk(mdb_cmdbuf_t *cmd) in mdb_cmdbuf_allocchunk() argument
61 ssize_t newhalloc = cmd->cmd_halloc + MDB_DEF_HISTLEN; in mdb_cmdbuf_allocchunk()
63 if (newhalloc > cmd->cmd_histlen) in mdb_cmdbuf_allocchunk()
64 newhalloc = cmd->cmd_histlen; in mdb_cmdbuf_allocchunk()
66 bcopy(cmd->cmd_history, newhistory, cmd->cmd_halloc * sizeof (char *)); in mdb_cmdbuf_allocchunk()
67 mdb_free(cmd->cmd_history, cmd->cmd_halloc * sizeof (char *)); in mdb_cmdbuf_allocchunk()
[all …]
/titanic_50/usr/src/
H A DMakefile.lint37 cmd/acctadm \
38 cmd/asa \
39 cmd/amt \
40 cmd/audio/audioctl \
41 cmd/audio/audiotest \
42 cmd/audit \
43 cmd/auditconfig \
44 cmd/auditd \
45 cmd/auditreduce \
46 cmd/auditstat \
[all …]
/titanic_50/usr/src/lib/libast/common/misc/
H A Dcmdarg.c55 register Cmdarg_t* cmd; in cmdopen() local
105 if (!(cmd = newof(0, Cmdarg_t, 1, n + m))) in cmdopen()
113 s = cmd->buf; in cmdopen()
117 cmd->echo = 1; in cmdopen()
121 cmd->echo = 1; in cmdopen()
133 free(cmd); in cmdopen()
141 cmd->insert = strcpy(s, argpat); in cmdopen()
142 cmd->insertlen = m - 1; in cmdopen()
145 s += sizeof(char**) - (s - cmd->buf) % sizeof(char**); in cmdopen()
148 cmd->argv = p; in cmdopen()
[all …]
/titanic_50/usr/src/cmd/isns/isnsd/
H A Ddump.c493 int *argc, int *argv, char *cmd in getcmd() argument
499 while (*cmd == ' ') cmd ++; in getcmd()
501 if (*cmd == 0) { in getcmd()
503 } else if (*cmd == '?') { in getcmd()
508 if (strncmp(cmd, "list ", 5) == 0) { in getcmd()
509 cmd += 5; in getcmd()
510 while (*cmd == ' ') cmd ++; in getcmd()
511 if (*cmd == 0) { in getcmd()
513 } else if (*cmd == 'p') { in getcmd()
514 cmd ++; in getcmd()
[all …]
/titanic_50/usr/src/lib/libsecdb/
H A Dexec_attr.txt29 All:suser:cmd:::*:
30 Audit Control:solaris:cmd:::/usr/sbin/audit:privs=proc_owner,sys_audit
32 Audit Review:solaris:cmd:::/usr/sbin/auditreduce:euid=0
33 Audit Review:solaris:cmd:::/usr/sbin/auditstat:privs=proc_audit
34 Audit Review:solaris:cmd:::/usr/sbin/praudit:privs=file_dac_read
35 Contract Observer:solaris:cmd:::/usr/bin/ctwatch:\
37 Cron Management:suser:cmd:::/usr/bin/crontab:euid=0
38 Crypto Management:suser:cmd:::/usr/sbin/cryptoadm:euid=0
39 Crypto Management:suser:cmd:::/usr/bin/kmfcfg:euid=0
40 Crypto Management:suser:cmd:::/usr/sfw/bin/openssl:euid=0
[all …]
/titanic_50/usr/src/cmd/fm/fminject/common/
H A Dinj_cmds.c47 inj_cmds_add(inj_cmd_t *cmd) in inj_cmds_add() argument
49 inj_list_append(&inj_cmds, cmd); in inj_cmds_add()
80 inj_cmd_t *cmd; in inj_cmd_rand() local
95 cmd = inj_zalloc(sizeof (inj_cmd_t)); in inj_cmd_rand()
96 cmd->cmd_type = CMD_RANDOM; in inj_cmd_rand()
97 cmd->cmd_num = nelems; in inj_cmd_rand()
98 cmd->cmd_rand = inj_alloc(sizeof (inj_randelem_t *) * nelems); in inj_cmd_rand()
106 cmd->cmd_rand[i] = r; in inj_cmd_rand()
109 return (cmd); in inj_cmd_rand()
115 inj_cmd_t *cmd = inj_zalloc(sizeof (inj_cmd_t)); in inj_cmd_repeat() local
[all …]
/titanic_50/usr/src/lib/libipmi/common/
H A Dipmi_sel.c42 ipmi_cmd_t cmd, *rsp; in ipmi_sel_get_info() local
47 cmd.ic_netfn = IPMI_NETFN_STORAGE; in ipmi_sel_get_info()
48 cmd.ic_lun = 0; in ipmi_sel_get_info()
49 cmd.ic_cmd = IPMI_CMD_GET_SEL_INFO; in ipmi_sel_get_info()
50 cmd.ic_dlen = 0; in ipmi_sel_get_info()
51 cmd.ic_data = NULL; in ipmi_sel_get_info()
53 if ((rsp = ipmi_send(ihp, &cmd)) == NULL) in ipmi_sel_get_info()
80 ipmi_cmd_t cmd, *rsp; in ipmi_sel_get_entry() local
90 cmd.ic_netfn = IPMI_NETFN_STORAGE; in ipmi_sel_get_entry()
91 cmd.ic_lun = 0; in ipmi_sel_get_entry()
[all …]
H A Dipmi_sunoem.c95 ipmi_cmd_t cmd, *resp; in ipmi_send_sunoem_led_set() local
97 cmd.ic_netfn = IPMI_NETFN_OEM; in ipmi_send_sunoem_led_set()
98 cmd.ic_cmd = IPMI_CMD_SUNOEM_LED_SET; in ipmi_send_sunoem_led_set()
99 cmd.ic_lun = 0; in ipmi_send_sunoem_led_set()
100 cmd.ic_data = req; in ipmi_send_sunoem_led_set()
101 cmd.ic_dlen = sizeof (*req); in ipmi_send_sunoem_led_set()
103 if ((resp = ipmi_send(ihp, &cmd)) == NULL) in ipmi_send_sunoem_led_set()
116 ipmi_cmd_t cmd, *resp; in ipmi_send_sunoem_led_get() local
118 cmd.ic_netfn = IPMI_NETFN_OEM; in ipmi_send_sunoem_led_get()
119 cmd.ic_cmd = IPMI_CMD_SUNOEM_LED_GET; in ipmi_send_sunoem_led_get()
[all …]
H A Dipmi_misc.c34 ipmi_cmd_t cmd, *resp; in ipmi_get_deviceid() local
40 cmd.ic_netfn = IPMI_NETFN_APP; in ipmi_get_deviceid()
41 cmd.ic_lun = 0; in ipmi_get_deviceid()
42 cmd.ic_cmd = IPMI_CMD_GET_DEVICEID; in ipmi_get_deviceid()
43 cmd.ic_data = NULL; in ipmi_get_deviceid()
44 cmd.ic_dlen = 0; in ipmi_get_deviceid()
46 if ((resp = ipmi_send(ihp, &cmd)) == NULL) in ipmi_get_deviceid()
130 ipmi_cmd_t cmd, *resp; in ipmi_get_channel_auth_caps() local
142 cmd.ic_netfn = IPMI_NETFN_APP; in ipmi_get_channel_auth_caps()
143 cmd.ic_cmd = IPMI_CMD_GET_CHANNEL_AUTH_CAPS; in ipmi_get_channel_auth_caps()
[all …]
/titanic_50/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c261 scsa1394_attach(dev_info_t *dip, ddi_attach_cmd_t cmd) in scsa1394_attach() argument
266 switch (cmd) { in scsa1394_attach()
338 scsa1394_detach(dev_info_t *dip, ddi_detach_cmd_t cmd) in scsa1394_detach() argument
347 switch (cmd) { in scsa1394_detach()
1079 uchar_t cmd, uint_t addr, uint_t cnt) in scsa1394_probe_g0_nodata() argument
1091 (void) scsi_setup_cdb((union scsi_cdb *)pkt->pkt_cdbp, cmd, addr, cnt, in scsa1394_probe_g0_nodata()
1263 scsa1394_cmd_t *cmd = PKT2CMD(pkt); in scsa1394_scsi_sync_pkt() local
1265 if (cmd->sc_flags & SCSA1394_CMD_DMA_BUF_VALID) { in scsa1394_scsi_sync_pkt()
1266 (void) ddi_dma_sync(cmd->sc_buf_dma_hdl, 0, 0, in scsa1394_scsi_sync_pkt()
1267 (cmd->sc_flags & SCSA1394_CMD_READ) ? in scsa1394_scsi_sync_pkt()
[all …]
/titanic_50/usr/src/cmd/pools/poolcfg/
H A Dpoolcfg.y127 static cmd_t *cmd = NULL; /* Command being processed */ variable
202 cmd_t *cmd; member
231 %type <cmd> command
232 %type <cmd> list_command info_command edit_command create_command
245 if ($1->cmd != NULL)
246 $1->cmd($1);
251 if ($2->cmd != NULL)
252 $2->cmd($2);
261 if ($1->cmd != parser_conf_create &&
262 $1->cmd != parser_conf_discover) {
[all …]
/titanic_50/usr/src/uts/common/sys/fibre-channel/ulp/
H A Dfcp_util.h148 #define FCP32_SCSI_CMD_TO_FCP_SCSI_CMD(cmd32, cmd) \ argument
149 (cmd)->scsi_fc_port_num = (cmd32)->scsi_fc_port_num; \
150 bcopy(&((cmd32)->scsi_fc_pwwn), &((cmd)->scsi_fc_pwwn), \
151 sizeof ((cmd)->scsi_fc_pwwn)); \
152 (cmd)->scsi_fc_status = (cmd32)->scsi_fc_status; \
153 (cmd)->scsi_fc_rspcode = (cmd32)->scsi_fc_rspcode; \
154 (cmd)->scsi_pkt_state = (cmd32)->scsi_pkt_state; \
155 (cmd)->scsi_pkt_action = (cmd32)->scsi_pkt_action; \
156 (cmd)->scsi_pkt_reason = (cmd32)->scsi_pkt_reason; \
157 (cmd)->scsi_lun = (cmd32)->scsi_lun; \
[all …]
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_ip.c37 IOCB *cmd; in emlxs_ip_handle_event() local
41 cmd = &iocbq->iocb; in emlxs_ip_handle_event()
52 (uint32_t)cmd->ULPCOMMAND, (uint32_t)cmd->ULPIOTAG, in emlxs_ip_handle_event()
53 cmd->ULPSTATUS, cmd->un.ulpWord[4]); in emlxs_ip_handle_event()
66 switch (cmd->ULPCOMMAND) { 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()
81 emlxs_pkt_complete(sbp, cmd->ULPSTATUS, in emlxs_ip_handle_event()
82 cmd->un.grsp.perr.statLocalError, 1); in emlxs_ip_handle_event()
98 "[%08x,%08x]", cmd->ULPCOMMAND, cmd->ULPSTATUS, in emlxs_ip_handle_event()
[all …]
/titanic_50/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cmd.c1021 hcrreg = ddi_get32(cmdhdl, &hcr->cmd); in hermon_write_hcr()
1092 ddi_put32(cmdhdl, &hcr->cmd, hcrreg); in hermon_write_hcr()
1118 hcrreg = ddi_get32(cmdhdl, &hcr->cmd); in hermon_write_hcr()
1328 hermon_cmd_post_t cmd; in hermon_init_hca_cmd_post() local
1336 bzero((void *)&cmd, sizeof (hermon_cmd_post_t)); in hermon_init_hca_cmd_post()
1357 cmd.cp_inparm = mbox_info.mbi_in->mb_mapaddr; in hermon_init_hca_cmd_post()
1358 cmd.cp_outparm = 0; in hermon_init_hca_cmd_post()
1359 cmd.cp_inmod = 0; in hermon_init_hca_cmd_post()
1360 cmd.cp_opcode = INIT_HCA; in hermon_init_hca_cmd_post()
1361 cmd.cp_opmod = 0; in hermon_init_hca_cmd_post()
[all …]
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_xioctl.c264 ql_xioctl(ql_adapter_state_t *ha, int cmd, intptr_t arg, int mode, in ql_xioctl() argument
269 QL_PRINT_9(CE_CONT, "(%d): started, cmd=%d\n", ha->instance, cmd); in ql_xioctl()
276 switch (cmd) { in ql_xioctl()
309 rval = ql_sdm_ioctl(ha, cmd, (void *)arg, mode); in ql_xioctl()
313 EL(ha, "function=%d not supported\n", cmd); in ql_xioctl()
347 EXT_IOCTL *cmd; in ql_sdm_ioctl() local
354 if ((rval = ql_sdm_setup(ha, &cmd, arg, mode, in ql_sdm_ioctl()
371 if (cmd->HbaSelect > (CFG_IST(ha, CFG_CTRL_2422) ? in ql_sdm_ioctl()
374 cmd->HbaSelect); in ql_sdm_ioctl()
375 cmd->Status = EXT_STATUS_INVALID_VPINDEX; in ql_sdm_ioctl()
[all …]
/titanic_50/usr/src/uts/common/io/comstar/port/fcoet/
H A Dfcoet_fc.c75 static fct_status_t fcoet_send_sol_els(fct_cmd_t *cmd);
76 static fct_status_t fcoet_send_sol_ct(fct_cmd_t *cmd);
77 static fct_status_t fcoet_send_good_status(fct_cmd_t *cmd);
78 static fct_status_t fcoet_send_els_response(fct_cmd_t *cmd);
79 static fct_status_t fcoet_send_abts_response(fct_cmd_t *cmd, uint32_t flags);
152 fcoet_send_cmd(fct_cmd_t *cmd) in fcoet_send_cmd() argument
154 if (cmd->cmd_type == FCT_CMD_SOL_ELS) { in fcoet_send_cmd()
155 return (fcoet_send_sol_els(cmd)); in fcoet_send_cmd()
156 } else if (cmd->cmd_type == FCT_CMD_SOL_CT) { in fcoet_send_cmd()
157 return (fcoet_send_sol_ct(cmd)); in fcoet_send_cmd()
[all …]
/titanic_50/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DDoPrinterAdd.java111 String cmd = null; in addLocal() local
155 cmd = "/usr/sbin/lpadmin -p " + printername; in addLocal()
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()
[all …]
H A DSysCommand.java46 String cmd = "ypcat hosts"; in main() local
49 syscmd.exec(cmd); in main()
62 public void exec(String cmd) throws Exception in exec() argument
64 if (cmd == null) { in exec()
69 debug_log(cmd); in exec()
71 p = Runtime.getRuntime().exec(cmd); in exec()
83 public void exec(String[] cmd) throws Exception in exec() argument
85 if (cmd == null) { in exec()
92 for (i = 0; i < cmd.length; i++) { in exec()
93 if (cmd[i] == null) { in exec()
[all …]
/titanic_50/usr/src/uts/common/io/1394/
H A Ds1394_asynch.c49 static void s1394_handle_lock(cmd1394_cmd_t *cmd);
55 static boolean_t s1394_pending_q_helper(s1394_hal_t *hal, cmd1394_cmd_t *cmd);
57 static int s1394_process_split_lock(cmd1394_cmd_t *cmd,
60 static int s1394_finish_split_lock(cmd1394_cmd_t *cmd,
128 tnf_opaque, cmd, *cmdp); in s1394_alloc_cmd()
161 tnf_opaque, cmd, *cmdp); in s1394_free_cmd()
184 s1394_xfer_asynch_command(s1394_hal_t *hal, cmd1394_cmd_t *cmd, int *err) in s1394_xfer_asynch_command() argument
202 *err = s1394_HAL_asynch_error(hal, cmd, state); in s1394_xfer_asynch_command()
211 s_priv = S1394_GET_CMD_PRIV(cmd); in s1394_xfer_asynch_command()
217 switch (cmd->cmd_type) { in s1394_xfer_asynch_command()
[all …]
/titanic_50/usr/src/uts/common/io/nvme/
H A Dnvme.c855 nvme_cmd_t *cmd = kmem_cache_alloc(nvme_cmd_cache, kmflag); in nvme_alloc_cmd() local
857 if (cmd == NULL) in nvme_alloc_cmd()
858 return (cmd); in nvme_alloc_cmd()
860 bzero(cmd, sizeof (nvme_cmd_t)); in nvme_alloc_cmd()
862 cmd->nc_nvme = nvme; in nvme_alloc_cmd()
864 mutex_init(&cmd->nc_mutex, NULL, MUTEX_DRIVER, in nvme_alloc_cmd()
866 cv_init(&cmd->nc_cv, NULL, CV_DRIVER, NULL); in nvme_alloc_cmd()
868 return (cmd); in nvme_alloc_cmd()
872 nvme_free_cmd(nvme_cmd_t *cmd) in nvme_free_cmd() argument
875 if (list_link_active(&cmd->nc_list)) in nvme_free_cmd()
[all …]
/titanic_50/
H A D.gitignore28 usr/src/cmd/Adm/sun/motd
29 usr/src/cmd/Adm/sun/smbpasswd
30 usr/src/cmd/abi/appcert/etc/etc.alt
31 usr/src/cmd/abi/appcert/etc/etc.scoped
32 usr/src/cmd/abi/appcert/etc/etc.tweaks
33 usr/src/cmd/abi/appcert/etc/etc.warn
34 usr/src/cmd/abi/appcert/scripts/abi_index
35 usr/src/cmd/abi/appcert/scripts/appcert
36 usr/src/cmd/abi/appcert/scripts/symcheck
37 usr/src/cmd/abi/appcert/scripts/symprof
[all …]
/titanic_50/usr/src/cmd/rpcgen/
H A Drpc_main.c151 struct commandline cmd; in main() local
153 (void) memset(&cmd, 0, sizeof (struct commandline)); in main()
155 if (!parseargs(argc, argv, &cmd)) in main()
162 if (cmd.Ssflag || cmd.Scflag || cmd.makefileflag) in main()
163 checkfiles(cmd.infile, cmd.outfile); in main()
165 checkfiles(cmd.infile, NULL); in main()
167 if (cmd.cflag) { in main()
168 c_output(cmd.infile, "-DRPC_XDR", DONT_EXTEND, cmd.outfile); in main()
169 } else if (cmd.hflag) { in main()
170 h_output(cmd.infile, "-DRPC_HDR", DONT_EXTEND, cmd.outfile); in main()
[all …]
/titanic_50/usr/src/uts/common/io/usb/scsa2usb/
H A Dusb_ms_bulkonly.c196 scsa2usb_bulk_only_transport(scsa2usb_state_t *scsa2usbp, scsa2usb_cmd_t *cmd) in scsa2usb_bulk_only_transport() argument
212 scsa2usb_fill_in_cbw(scsa2usbp, cmd, req->bulk_data); /* Fill CBW */ in scsa2usb_bulk_only_transport()
213 SCSA2USB_PRINT_CDB(scsa2usbp, cmd); /* Print CDB */ in scsa2usb_bulk_only_transport()
226 cmd->cmd_cdb[SCSA2USB_OPCODE], cmd->cmd_tag, cmd->cmd_xfercount, in scsa2usb_bulk_only_transport()
244 req->bulk_timeout = scsa2usb_bulk_timeout(cmd->cmd_timeout); in scsa2usb_bulk_only_transport()
250 cmd->cmd_resid_xfercount = cmd->cmd_xfercount; in scsa2usb_bulk_only_transport()
252 if (cmd->cmd_xfercount) { in scsa2usb_bulk_only_transport()
254 rval = scsa2usb_handle_data_start(scsa2usbp, cmd, req); in scsa2usb_bulk_only_transport()
257 scsa2usb_handle_data_done(scsa2usbp, cmd, req); in scsa2usb_bulk_only_transport()
320 (cmd->cmd_xfercount != 0) && /* more data to xfer */ in scsa2usb_bulk_only_transport()
[all …]
/titanic_50/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_common.kshlib55 cmd=$($ECHO $histcmd | $AWK '{print $1}')
59 [[ $cmd == "zpool" || $cmd == "zfs" ]] || \
60 log_fail "run_and_verify called with \"$cmd ($fullcmd)\""
94 typeset cmd=$1
106 $GREP "$cmd \[user $uid ($user) on $hname\]" $NEW_HISTORY >/dev/null \
109 log_note "Couldn't find long information for \"$cmd\""
118 typeset cmd=$1
124 typeset tag=$($ECHO $cmd | $AWK '{print $4}')
125 typeset fullname=${cmd##* }
152 typeset cmd=$1
[all …]
/titanic_50/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_cmd.c1025 hcrreg = ddi_get32(state->ts_reg_cmdhdl, &hcr->cmd); in tavor_write_hcr()
1080 ddi_put32(state->ts_reg_cmdhdl, &hcr->cmd, hcrreg); in tavor_write_hcr()
1092 hcrreg = ddi_get32(state->ts_reg_cmdhdl, &hcr->cmd); in tavor_write_hcr()
1294 tavor_cmd_post_t cmd; in tavor_sys_en_cmd_post() local
1303 cmd.cp_inparm = 0; in tavor_sys_en_cmd_post()
1304 cmd.cp_outparm = 0; in tavor_sys_en_cmd_post()
1305 cmd.cp_inmod = 0; in tavor_sys_en_cmd_post()
1306 cmd.cp_opcode = SYS_EN; in tavor_sys_en_cmd_post()
1307 cmd.cp_opmod = flags; in tavor_sys_en_cmd_post()
1308 cmd.cp_flags = sleepflag; in tavor_sys_en_cmd_post()
[all …]

12345678910>>...143