Home
last modified time | relevance | path

Searched refs:cmd_name (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/cmd/fm/fmadm/common/
H A Dfmadm.c101 const char *cmd_name; member
133 for (cp = cmds; cp->cmd_name != NULL; cp++) { in usage()
139 g_pname, cp->cmd_name, cp->cmd_usage); in usage()
142 g_pname, cp->cmd_name); in usage()
202 for (cp = cmds; cp->cmd_name != NULL; cp++) { in main()
203 if (strcmp(cp->cmd_name, argv[optind]) == 0) in main()
207 if (cp->cmd_name == NULL) { in main()
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Dsys.c121 const char **cmd_name; in cmd_help_synopsis() local
123 if (cmd->cmd_name[1] == NULL) { /* One name */ in cmd_help_synopsis()
124 name = *cmd->cmd_name; in cmd_help_synopsis()
131 MSG_ORIG(MSG_HLPFMT_MULTNAM), cmd->cmd_name[0]); in cmd_help_synopsis()
132 for (cmd_name = cmd->cmd_name + 1; in cmd_help_synopsis()
133 *cmd_name; cmd_name++) { in cmd_help_synopsis()
139 cname = (cmd_name[0][0] == '\0') ? in cmd_help_synopsis()
140 MSG_INTL(MSG_HLPFMT_MODDEFCMD) : *cmd_name; in cmd_help_synopsis()
432 *cmd->cmd_name, in cmd_help()
439 if (cmd->cmd_name[1] != NULL) { in cmd_help()
[all …]
H A Delfedit.c1116 cmd->cmd_name[0]); in elfedit_format_command_usage()
1583 mod_name, cmd_name, NULL); in validate_optarg()
1835 if (**cmd->cmd_name == '\0') in elfedit_load_module()
1842 cmd->cmd_name[0], hdl, path); in elfedit_load_module()
1845 cmd->cmd_name[0], hdl, path); in elfedit_load_module()
2031 const char **cmd_name; in find_cmd() local
2034 for (cmd_name = cmd->cmd_name; *cmd_name; cmd_name++) in find_cmd()
2036 if (cmd_name != cmd->cmd_name) in find_cmd()
2039 mod->mod_name, *cmd_name, in find_cmd()
2989 const char **cmd_name; in match_module_cmds() local
[all …]
H A D_elfedit.h90 const char **cmd_name; member
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus_hp.c1147 char *cmd_name; in cardbus_ioctl() local
1153 case DEVCTL_DEVICE_RESET: cmd_name = "DEVCTL_DEVICE_RESET"; break; in cardbus_ioctl()
1154 case DEVCTL_BUS_QUIESCE: cmd_name = "DEVCTL_BUS_QUIESCE"; break; in cardbus_ioctl()
1156 case DEVCTL_BUS_RESET: cmd_name = "DEVCTL_BUS_RESET"; break; in cardbus_ioctl()
1159 case DEVCTL_AP_CONNECT: cmd_name = "DEVCTL_AP_CONNECT"; break; in cardbus_ioctl()
1161 case DEVCTL_AP_INSERT: cmd_name = "DEVCTL_AP_INSERT"; break; in cardbus_ioctl()
1162 case DEVCTL_AP_REMOVE: cmd_name = "DEVCTL_AP_REMOVE"; break; in cardbus_ioctl()
1165 case DEVCTL_AP_GETSTATE: cmd_name = "DEVCTL_AP_GETSTATE"; break; in cardbus_ioctl()
1166 case DEVCTL_AP_CONTROL: cmd_name = "DEVCTL_AP_CONTROL"; break; in cardbus_ioctl()
1167 default: cmd_name = "Unknown"; break; in cardbus_ioctl()
[all …]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dcontrol.c30 char *cmd_name; /* command name */ member
333 for (c = CmdTab; c->cmd_name != NULL; c++)
335 if (sm_strcasecmp(c->cmd_name, cmdbuf) == 0)
H A Dsrvrsmtp.c231 char *cmd_name; /* command name */ member
1209 (c == NULL || c->cmd_name == NULL) ? "startup" : c->cmd_name);
1529 for (c = CmdTab; c->cmd_name != NULL; c++)
1531 if (sm_strcasecmp(c->cmd_name, cmdbuf) == 0)
3246 c->cmd_name, CurSmtpClient,
/illumos-gate/usr/src/test/util-tests/tests/libnvpair_json/
H A Dprint_json.c468 char cmd_name[CMD_NAME_LEN]; member
520 for (ch = 0; command_handlers[ch].cmd_name[0] != '\0'; ch++) { in command_call()
521 if (strcmp(command, command_handlers[ch].cmd_name) != 0) in command_call()
/illumos-gate/usr/src/uts/common/sys/scsi/impl/
H A Dservices.h69 uchar_t cmd_name, struct scsi_key_strings *cmdlist,
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.h183 char *cmd_name; member
H A Dzonecfg.c98 char *cmd_name; member
807 return (helptab[cmd_num].cmd_name); in cmd_to_str()
/illumos-gate/usr/src/cmd/sgs/include/
H A Delfedit.h517 const char **cmd_name; /* Cmd names (null term.) */ member
527 const char **cmd_name; member
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_util.c427 char *cmd_name = cmd_argv[0]; local
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/
H A Dnwamadm.c62 const char *cmd_name; /* command name */ member
161 return (cmdtab[cmd_num].cmd_name); in cmd_to_str()
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_subr.c1096 uchar_t cmd_name, struct scsi_key_strings *cmdlist, in scsi_generic_errmsg() argument
1125 com = cmd_name; in scsi_generic_errmsg()
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.c125 char *cmd_name; /* command name */ member
220 return (cmdtab[cmd_num].cmd_name); in cmd_to_str()
5618 if (strcmp(cmd, cmdtab[i].cmd_name) == 0) in cmd_match()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c57 const char *cmd_name; member
613 return (helptab[cmd_num].cmd_name); in cmd_to_str()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvds.c542 const char *cmd_name; /* ioctl cmd name */ member
3536 PR0("ioctl(%s) = errno %d", ioctl->cmd_name, request->status); in vd_do_ioctl()