Home
last modified time | relevance | path

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

/titanic_50/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()
/titanic_50/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.c1087 n = strlen(mod->mod_name) + strlen(cmd->cmd_name[0]) + 6; in elfedit_format_command_usage()
1116 cmd->cmd_name[0]); in elfedit_format_command_usage()
1119 mod->mod_name, cmd->cmd_name[0]); in elfedit_format_command_usage()
1556 const char *mod_name, const char *cmd_name, in validate_optarg() argument
1583 mod_name, cmd_name, NULL); in validate_optarg()
1693 dl_path, mod_name, cmd_name, optarg->oa_name); 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
[all …]
H A D_elfedit.h90 const char **cmd_name; member
/titanic_50/usr/src/uts/common/io/cardbus/
H A Dcardbus_hp.c1147 char *cmd_name; in cardbus_ioctl() local
1150 case DEVCTL_DEVICE_GETSTATE: cmd_name = "DEVCTL_DEVICE_GETSTATE"; break; in cardbus_ioctl()
1151 case DEVCTL_DEVICE_ONLINE: cmd_name = "DEVCTL_DEVICE_ONLINE"; break; in cardbus_ioctl()
1152 case DEVCTL_DEVICE_OFFLINE: cmd_name = "DEVCTL_DEVICE_OFFLINE"; break; in cardbus_ioctl()
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()
1155 case DEVCTL_BUS_UNQUIESCE: cmd_name = "DEVCTL_BUS_UNQUIESCE"; break; in cardbus_ioctl()
1156 case DEVCTL_BUS_RESET: cmd_name = "DEVCTL_BUS_RESET"; break; in cardbus_ioctl()
1157 case DEVCTL_BUS_RESETALL: cmd_name = "DEVCTL_BUS_RESETALL"; break; in cardbus_ioctl()
1158 case DEVCTL_BUS_GETSTATE: cmd_name = "DEVCTL_BUS_GETSTATE"; break; in cardbus_ioctl()
[all …]
/titanic_50/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,
/titanic_50/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()
/titanic_50/usr/src/uts/common/sys/scsi/impl/
H A Dservices.h69 uchar_t cmd_name, struct scsi_key_strings *cmdlist,
/titanic_50/usr/src/cmd/zonecfg/
H A Dzonecfg.h179 char *cmd_name; member
H A Dzonecfg.c96 char *cmd_name; member
781 return (helptab[cmd_num].cmd_name); in cmd_to_str()
/titanic_50/usr/src/cmd/sgs/include/
H A Delfedit.h517 const char **cmd_name; /* Cmd names (null term.) */ member
527 const char **cmd_name; member
/titanic_50/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_util.c427 char *cmd_name = cmd_argv[0]; local
/titanic_50/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()
/titanic_50/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()
/titanic_50/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()
5609 if (strcmp(cmd, cmdtab[i].cmd_name) == 0) in cmd_match()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c56 const char *cmd_name; member
608 return (helptab[cmd_num].cmd_name); in cmd_to_str()
/titanic_50/usr/src/uts/sun4v/io/
H A Dvds.c541 const char *cmd_name; /* ioctl cmd name */ member
3534 PR0("ioctl(%s) = errno %d", ioctl->cmd_name, request->status); in vd_do_ioctl()