Home
last modified time | relevance | path

Searched refs:cmd_buf (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_cmdbuf.c49 bcopy(&cmd->cmd_buf[cmd->cmd_bufidx], in cmdbuf_shiftr()
87 cmd->cmd_buf = cmd->cmd_history[0]; in mdb_cmdbuf_create()
284 cmd->cmd_buf[cmd->cmd_bufidx]; in mdb_cmdbuf_transpose()
321 !isalnum(cmd->cmd_buf[i]) && cmd->cmd_buf[i] != '_') in fwdword_index()
325 (isalnum(cmd->cmd_buf[i]) || cmd->cmd_buf[i] == '_')) in fwdword_index()
354 bcopy(&cmd->cmd_buf[i], &cmd->cmd_buf[cmd->cmd_bufidx], in mdb_cmdbuf_killfwdword()
373 !isalnum(cmd->cmd_buf[i]) && cmd->cmd_buf[i] != '_') in backword_index()
376 while (i != 0 && (isalnum(cmd->cmd_buf[i]) || cmd->cmd_buf[i] == '_')) in backword_index()
408 bcopy(&cmd->cmd_buf[cmd->cmd_bufidx], &cmd->cmd_buf[i], in mdb_cmdbuf_killbackword()
467 (void) strcpy(cmd->cmd_buf, in mdb_cmdbuf_nexthist()
[all …]
H A Dmdb_cmdbuf.h38 char *cmd_buf; /* Current line buffer */ member
H A Dmdb_termio.c1220 const char *buf = td->tio_cmdbuf.cmd_buf; in termio_redraw()
1793 (void) strncpy(buf, td->tio_cmdbuf.cmd_buf, td->tio_cmdbuf.cmd_bufidx); in termio_tab()
/illumos-gate/usr/src/lib/brand/solaris10/s10_npreload/common/
H A Ds10_npreload.c58 char cmd_buf[MAXCOMLEN + 1]; in init() local
69 (void) strlcpy(cmd_buf, pcomm, sizeof (cmd_buf)); in init()
80 (void) __systemcall(&rval, SYS_brand, B_S10_NATIVE, cmd_buf, arg_buf); in init()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dump.c46 menlo_cmd_t *cmd_buf = NULL; in emlxs_menlo_set_mode() local
62 cmd_buf->set.value1 = mode; in emlxs_menlo_set_mode()
63 cmd_buf->set.value2 = 0; in emlxs_menlo_set_mode()
89 if (cmd_buf) { in emlxs_menlo_set_mode()
152 if (cmd_buf) { in emlxs_menlo_reset()
187 cmd_buf->get.context = 0; in emlxs_menlo_get_cfg()
214 if (cmd_buf) { in emlxs_menlo_get_cfg()
244 cmd_buf->get.context = 0; in emlxs_menlo_get_logcfg()
271 if (cmd_buf) { in emlxs_menlo_get_logcfg()
328 if (cmd_buf) { in emlxs_menlo_get_log()
[all …]
H A Demlxs_dfc.c5617 uint8_t *cmd_buf; in emlxs_dfc_send_ct() local
5628 cmd_buf = dfc->buf1; in emlxs_dfc_send_ct()
5643 if (!cmd_size || !cmd_buf) { in emlxs_dfc_send_ct()
5820 uint8_t *cmd_buf; in emlxs_dfc_send_ct_rsp() local
5827 cmd_buf = dfc->buf1; in emlxs_dfc_send_ct_rsp()
5835 if (!cmd_size || !cmd_buf) { in emlxs_dfc_send_ct_rsp()
5919 uint8_t *cmd_buf = NULL; in emlxs_dfc_send_menlo() local
6210 data_buf = cmd_buf + 12; in emlxs_send_menlo_cmd()
6706 uint8_t *cmd_buf; in emlxs_dfc_send_els() local
6717 cmd_buf = dfc->buf1; in emlxs_dfc_send_els()
[all …]
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_gem.c525 struct unm_cmd_buffer *cmd_buf; in unm_free_tx_buffers() local
531 dma_p = &cmd_buf->dma_area; in unm_free_tx_buffers()
533 nodep = cmd_buf->head; in unm_free_tx_buffers()
538 if (cmd_buf->msg != NULL) in unm_free_tx_buffers()
539 freemsg(cmd_buf->msg); in unm_free_tx_buffers()
540 cmd_buf++; in unm_free_tx_buffers()
550 struct unm_cmd_buffer *cmd_buf; in unm_alloc_tx_buffers() local
556 dma_p = &cmd_buf->dma_area; in unm_alloc_tx_buffers()
564 cmd_buf++; in unm_alloc_tx_buffers()
573 dma_p = &cmd_buf->dma_area; in unm_alloc_tx_buffers()
[all …]
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_adminq.h50 struct i40e_virt_mem cmd_buf; /* command buffer memory */ member
84 (&(((struct i40e_asq_cmd_details *)((R).cmd_buf.va))[i]))
H A Di40e_adminq.c91 ret_code = i40e_allocate_virt_mem(hw, &hw->aq.asq.cmd_buf, in i40e_alloc_adminq_asq_ring()
128 i40e_free_virt_mem(hw, &hw->aq.asq.cmd_buf); in i40e_free_adminq_asq()
284 i40e_free_virt_mem(hw, &hw->aq.asq.cmd_buf); in i40e_free_asq_bufs()
H A Di40e_common.c5879 struct i40e_aqc_replace_cloud_filters_cmd_buf *cmd_buf) in i40e_aq_replace_cloud_filters() argument
5906 status = i40e_asq_send_command(hw, &desc, cmd_buf, in i40e_aq_replace_cloud_filters()
5911 cmd_buf->filters[i / 4].filter_type = cmd_buf->data[i]; in i40e_aq_replace_cloud_filters()
5912 cmd_buf->filters[i / 4].input[0] = cmd_buf->data[i + 1]; in i40e_aq_replace_cloud_filters()
5913 cmd_buf->filters[i / 4].input[1] = cmd_buf->data[i + 2]; in i40e_aq_replace_cloud_filters()
5914 cmd_buf->filters[i / 4].input[2] = cmd_buf->data[i + 3]; in i40e_aq_replace_cloud_filters()
H A Di40e_prototype.h424 struct i40e_aqc_replace_cloud_filters_cmd_buf *cmd_buf);
/illumos-gate/usr/src/uts/common/brand/solaris10/
H A Ds10_brand.c215 char cmd_buf[MAXCOMLEN + 1]; in s10_native() local
218 if (copyin(cmd, &cmd_buf, sizeof (cmd_buf)) != 0) in s10_native()
246 (void) strlcpy(up->u_comm, cmd_buf, sizeof (up->u_comm)); in s10_native()
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_cpu_states.c118 static char *cmd_buf; in store_boot_cmd() local
141 cmd_buf = contig_mem_alloc(BOOT_CMD_MAX_LEN); in store_boot_cmd()
142 if (cmd_buf == NULL) in store_boot_cmd()
146 (void) strcpy(cmd_buf, BOOT_CMD_BASE); in store_boot_cmd()
164 (void) strncpy(&cmd_buf[base_len], args, args_len); in store_boot_cmd()
173 buf_pa = va_to_pa(cmd_buf); in store_boot_cmd()
182 prom_setprop(node, "reboot-command", cmd_buf, len) == -1) in store_boot_cmd()
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Delfedit.c3414 static char cmd_buf[ELFEDIT_MAXCMD + 1]; in read_cmd() local
3416 s = fgets(cmd_buf, sizeof (cmd_buf), stdin); in read_cmd()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfp.h427 fctl_ns_req_t *ns_cmd, uint16_t cmd_code, caddr_t cmd_buf,
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c7709 char *cmd_buf; in setup_uncompress() local
7712 cmd_buf = e_zalloc(E_EXIT, MAXPATHLEN * 2); in setup_uncompress()
7715 cmdlen = snprintf(cmd_buf, MAXPATHLEN * 2, in setup_uncompress()
7720 cmdlen = snprintf(cmd_buf, MAXPATHLEN * 2, in setup_uncompress()
7725 (*pipef = popen(cmd_buf, "w")) == NULL) { in setup_uncompress()
7734 free(cmd_buf); in setup_uncompress()
/illumos-gate/usr/src/uts/common/io/mega_sas/
H A Dmegaraid_sas.c2799 bp_mapin(acmd->cmd_buf); in megasas_softintr()
2801 acmd->cmd_buf->b_un.b_addr; in megasas_softintr()
3104 acmd->cmd_buf = bp; in megasas_dma_alloc()
H A Dmegaraid_sas.h1372 struct buf *cmd_buf; member
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas.h781 struct buf *cmd_buf; member
H A Dmr_sas.c4522 bp_mapin(acmd->cmd_buf); in mrsas_softintr()
4524 acmd->cmd_buf->b_un.b_addr; in mrsas_softintr()
4842 acmd->cmd_buf = bp; in mrsas_dma_alloc()
7830 bp = acmd->cmd_buf; in mrsas_mode_sense_build()
H A Dmr_sas_tbolt.c2377 bp_mapin(acmd->cmd_buf); in tbolt_complete_cmd()
2379 acmd->cmd_buf->b_un.b_addr; in tbolt_complete_cmd()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_extern.h842 extern int32_t emlxs_send_menlo_cmd(emlxs_hba_t *hba, uint8_t *cmd_buf,
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c12956 uint16_t cmd_code, caddr_t cmd_buf, uint16_t cmd_len, in fp_ct_init() argument
13009 if (cmd_buf) { in fp_ct_init()
13010 FC_SET_CMD(port, pkt->pkt_cmd_acc, (uint8_t *)cmd_buf, in fp_ct_init()