/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_cmdbuf.c | 49 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 D | mdb_cmdbuf.h | 38 char *cmd_buf; /* Current line buffer */ member
|
H A D | mdb_termio.c | 1220 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 D | s10_npreload.c | 58 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 D | emlxs_dump.c | 46 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 D | emlxs_dfc.c | 5617 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 D | unm_gem.c | 525 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 D | i40e_adminq.h | 50 struct i40e_virt_mem cmd_buf; /* command buffer memory */ member 84 (&(((struct i40e_asq_cmd_details *)((R).cmd_buf.va))[i]))
|
H A D | i40e_adminq.c | 91 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 D | i40e_common.c | 5879 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 D | i40e_prototype.h | 424 struct i40e_aqc_replace_cloud_filters_cmd_buf *cmd_buf);
|
/illumos-gate/usr/src/uts/common/brand/solaris10/ |
H A D | s10_brand.c | 215 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 D | mach_cpu_states.c | 118 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 D | elfedit.c | 3414 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 D | fp.h | 427 fctl_ns_req_t *ns_cmd, uint16_t cmd_code, caddr_t cmd_buf,
|
/illumos-gate/usr/src/cmd/cpio/ |
H A D | cpio.c | 7709 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 D | megaraid_sas.c | 2799 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 D | megaraid_sas.h | 1372 struct buf *cmd_buf; member
|
/illumos-gate/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas.h | 781 struct buf *cmd_buf; member
|
H A D | mr_sas.c | 4522 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 D | mr_sas_tbolt.c | 2377 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 D | emlxs_extern.h | 842 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 D | fp.c | 12956 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()
|