Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/mdb/common/mdb/
H A Dmdb_cmdbuf.c51 bcopy(&cmd->cmd_buf[cmd->cmd_bufidx], in cmdbuf_shiftr()
52 &cmd->cmd_buf[cmd->cmd_bufidx + nbytes], in cmdbuf_shiftr()
89 cmd->cmd_buf = cmd->cmd_history[0]; in mdb_cmdbuf_create()
141 cmd->cmd_buf[cmd->cmd_bufidx++] = ' '; in mdb_cmdbuf_insert()
157 cmd->cmd_buf[cmd->cmd_bufidx++] = (char)c; in mdb_cmdbuf_insert()
172 cmd->cmd_buf[cmd->cmd_buflen++] = '\0'; in mdb_cmdbuf_accept()
173 (void) strcpy(cmd->cmd_linebuf, cmd->cmd_buf); in mdb_cmdbuf_accept()
179 is_repeating = strcmp(cmd->cmd_buf, in mdb_cmdbuf_accept()
192 cmd->cmd_buf = cmd->cmd_history[cmd->cmd_hnew]; in mdb_cmdbuf_accept()
219 bcopy(&cmd->cmd_buf[cmd->cmd_bufidx], in mdb_cmdbuf_backspace()
[all …]
H A Dmdb_cmdbuf.h40 char *cmd_buf; /* Current line buffer */ member
H A Dmdb_termio.c1173 const char *buf = td->tio_cmdbuf.cmd_buf; in termio_redraw()
1702 (void) strncpy(buf, td->tio_cmdbuf.cmd_buf, td->tio_cmdbuf.cmd_bufidx); in termio_tab()
/titanic_50/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()
/titanic_50/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
55 cmd_buf = (menlo_cmd_t *)kmem_zalloc(cmd_size, KM_SLEEP); in emlxs_menlo_set_mode()
60 cmd_buf->code = MENLO_CMD_SET_MODE; in emlxs_menlo_set_mode()
61 cmd_buf->set.value1 = mode; in emlxs_menlo_set_mode()
62 cmd_buf->set.value2 = 0; in emlxs_menlo_set_mode()
65 emlxs_swap32_buffer((uint8_t *)cmd_buf, cmd_size); in emlxs_menlo_set_mode()
68 if (rval = emlxs_send_menlo_cmd(hba, (uint8_t *)cmd_buf, cmd_size, in emlxs_menlo_set_mode()
88 if (cmd_buf) { in emlxs_menlo_set_mode()
89 kmem_free(cmd_buf, sizeof (menlo_set_cmd_t)); in emlxs_menlo_set_mode()
109 menlo_cmd_t *cmd_buf = NULL; in emlxs_menlo_reset() local
[all …]
H A Demlxs_dfc.c5561 uint8_t *cmd_buf; in emlxs_dfc_send_ct() local
5572 cmd_buf = dfc->buf1; in emlxs_dfc_send_ct()
5587 if (!cmd_size || !cmd_buf) { in emlxs_dfc_send_ct()
5717 bcopy((void *)cmd_buf, (void *)pkt->pkt_cmd, cmd_size); in emlxs_dfc_send_ct()
5764 uint8_t *cmd_buf; in emlxs_dfc_send_ct_rsp() local
5771 cmd_buf = dfc->buf1; in emlxs_dfc_send_ct_rsp()
5779 if (!cmd_size || !cmd_buf) { in emlxs_dfc_send_ct_rsp()
5819 bcopy((void *)cmd_buf, (void *)pkt->pkt_cmd, cmd_size); in emlxs_dfc_send_ct_rsp()
5863 uint8_t *cmd_buf = NULL; in emlxs_dfc_send_menlo() local
5917 cmd_buf = (uint8_t *)dfc->buf1; in emlxs_dfc_send_menlo()
[all …]
/titanic_50/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()
283 i40e_free_virt_mem(hw, &hw->aq.asq.cmd_buf); in i40e_free_asq_bufs()
/titanic_50/usr/src/uts/common/io/ntxn/
H A Dunm_gem.c520 struct unm_cmd_buffer *cmd_buf; in unm_free_tx_buffers() local
523 cmd_buf = &adapter->cmd_buf_arr[0]; in unm_free_tx_buffers()
526 dma_p = &cmd_buf->dma_area; in unm_free_tx_buffers()
528 nodep = cmd_buf->head; in unm_free_tx_buffers()
533 if (cmd_buf->msg != NULL) in unm_free_tx_buffers()
534 freemsg(cmd_buf->msg); in unm_free_tx_buffers()
535 cmd_buf++; in unm_free_tx_buffers()
545 struct unm_cmd_buffer *cmd_buf; in unm_alloc_tx_buffers() local
547 cmd_buf = &adapter->cmd_buf_arr[0]; in unm_alloc_tx_buffers()
551 dma_p = &cmd_buf->dma_area; in unm_alloc_tx_buffers()
[all …]
/titanic_50/usr/src/uts/common/brand/solaris10/
H A Ds10_brand.c214 char cmd_buf[MAXCOMLEN + 1]; in s10_native() local
217 if (copyin(cmd, &cmd_buf, sizeof (cmd_buf)) != 0) in s10_native()
245 (void) strlcpy(up->u_comm, cmd_buf, sizeof (up->u_comm)); in s10_native()
/titanic_50/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()
/titanic_50/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfp.h423 fctl_ns_req_t *ns_cmd, uint16_t cmd_code, caddr_t cmd_buf,
/titanic_50/usr/src/cmd/sgs/elfedit/common/
H A Delfedit.c3411 static char cmd_buf[ELFEDIT_MAXCMD + 1]; in read_cmd() local
3413 s = fgets(cmd_buf, sizeof (cmd_buf), stdin); in read_cmd()
/titanic_50/usr/src/cmd/cpio/
H A Dcpio.c7690 char *cmd_buf; in setup_uncompress() local
7693 cmd_buf = e_zalloc(E_EXIT, MAXPATHLEN * 2); in setup_uncompress()
7696 cmdlen = snprintf(cmd_buf, MAXPATHLEN * 2, in setup_uncompress()
7701 cmdlen = snprintf(cmd_buf, MAXPATHLEN * 2, in setup_uncompress()
7706 (*pipef = popen(cmd_buf, "w")) == NULL) { in setup_uncompress()
7715 free(cmd_buf); in setup_uncompress()
/titanic_50/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
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_extern.h839 extern int32_t emlxs_send_menlo_cmd(emlxs_hba_t *hba, uint8_t *cmd_buf,
/titanic_50/usr/src/uts/common/io/mr_sas/
H A Dmr_sas.h779 struct buf *cmd_buf; member
H A Dmr_sas.c4527 bp_mapin(acmd->cmd_buf); in mrsas_softintr()
4529 acmd->cmd_buf->b_un.b_addr; in mrsas_softintr()
4866 acmd->cmd_buf = bp; in mrsas_dma_alloc()
7872 bp = acmd->cmd_buf; in mrsas_mode_sense_build()
H A Dmr_sas_tbolt.c2396 bp_mapin(acmd->cmd_buf); in tbolt_complete_cmd()
2398 acmd->cmd_buf->b_un.b_addr; in tbolt_complete_cmd()
/titanic_50/usr/src/uts/sun/io/scsi/adapters/
H A Dsf.c3002 int rsp_size, caddr_t *rprivp, caddr_t *cmd_buf) in sf_els_alloc() argument
3155 *cmd_buf = cmd; in sf_els_alloc()
/titanic_50/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c12952 uint16_t cmd_code, caddr_t cmd_buf, uint16_t cmd_len, in fp_ct_init() argument
13005 if (cmd_buf) { in fp_ct_init()
13006 FC_SET_CMD(port, pkt->pkt_cmd_acc, (uint8_t *)cmd_buf, in fp_ct_init()