Lines Matching refs:cmd_to_str
804 cmd_to_str(int cmd_num) in cmd_to_str() function
867 cmd_to_str(CMD_CREATE), cmd_to_str(CMD_CREATE), in long_help()
868 cmd_to_str(CMD_CREATE), cmd_to_str(CMD_CREATE)); in long_help()
895 cmd_to_str(CMD_END)); in long_help()
920 "session."), "zoneadm", cmd_to_str(CMD_REVERT), in long_help()
1064 cmd_to_str(CMD_HELP)); in usage()
1066 cmd_to_str(CMD_HELP)); in usage()
1068 cmd_to_str(CMD_HELP)); in usage()
1071 cmd_to_str(CMD_HELP)); in usage()
1080 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1082 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1084 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1086 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1088 (void) fprintf(fp, "\t%s %s %s\n", cmd_to_str(CMD_ADD), in usage()
1092 cmd_to_str(CMD_REMOVE), pt_to_str(PT_OPTIONS), in usage()
1107 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1109 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1112 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1119 cmd_to_str(CMD_SET), pt_to_str(PT_ADDRESS), in usage()
1124 cmd_to_str(CMD_SET), pt_to_str(PT_ALLOWED_ADDRESS), in usage()
1129 cmd_to_str(CMD_SET), in usage()
1131 cmd_to_str(CMD_SET), pt_to_str(PT_DEFROUTER), in usage()
1140 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1148 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1151 cmd_to_str(CMD_ADD), pt_to_str(PT_VALUE), in usage()
1156 cmd_to_str(CMD_REMOVE), pt_to_str(PT_VALUE), in usage()
1169 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1172 cmd_to_str(CMD_SET), pt_to_str(PT_TYPE)); in usage()
1174 cmd_to_str(CMD_SET), pt_to_str(PT_VALUE)); in usage()
1176 (void) fprintf(fp, "\t%s %s=int\n", cmd_to_str(CMD_SET), in usage()
1178 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1182 cmd_to_str(CMD_SET), pt_to_str(PT_TYPE)); in usage()
1183 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1187 cmd_to_str(CMD_SET), pt_to_str(PT_TYPE)); in usage()
1188 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1196 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1206 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1209 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1224 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1234 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1237 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1240 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1251 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1254 (void) fprintf(fp, "\t%s %s=%s\n", cmd_to_str(CMD_SET), in usage()
1264 cmd_to_str(CMD_SET), pt_to_str(PT_DEFAULT), in usage()
1267 cmd_to_str(CMD_SET), pt_to_str(PT_LOWER), in usage()
1270 cmd_to_str(CMD_SET), pt_to_str(PT_UPPER), in usage()
1276 (void) fprintf(fp, "\t%s\t%s\n", cmd_to_str(CMD_END), in usage()
1278 (void) fprintf(fp, "\t%s\t%s\n", cmd_to_str(CMD_CANCEL), in usage()
1280 (void) fprintf(fp, "\t%s\t%s\n", cmd_to_str(CMD_EXIT), in usage()
1285 execname, cmd_to_str(CMD_HELP)); in usage()
1428 zerr("%s %s: %s", cmd_to_str(cmd_num), rt_to_str(res_num), in z_cmd_rt_perror()
1512 cmd_to_str(CMD_CREATE)); in initialize()
1597 cmd_to_str(cmd_num), in scope_usage()
1659 zone, cmd_to_str(CMD_CREATE)); in check_if_zone_already_exists()
1670 cmd_to_str(CMD_CREATE)); in check_if_zone_already_exists()
1674 cmd_to_str(CMD_CREATE)); in check_if_zone_already_exists()
1691 cmd_to_str(cmd_num)); in zone_is_read_only()
1834 (void) fprintf(of, "%s %s=\"%s\"\n", cmd_to_str(CMD_SET), in export_prop()
1910 (void) fprintf(of, "%s -b\n", cmd_to_str(CMD_CREATE)); in export_func()
1914 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET), in export_func()
1919 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET), in export_func()
1923 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET), in export_func()
1928 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET), in export_func()
1934 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET), in export_func()
1939 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET), in export_func()
1946 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET), in export_func()
1952 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET), in export_func()
1956 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET), in export_func()
1963 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET), in export_func()
1969 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET), in export_func()
1980 (void) fprintf(of, "%s %s\n", cmd_to_str(CMD_ADD), in export_func()
1995 cmd_to_str(CMD_ADD), in export_func()
2000 cmd_to_str(CMD_ADD), in export_func()
2004 (void) fprintf(of, "%s\n", cmd_to_str(CMD_END)); in export_func()
2014 (void) fprintf(of, "%s %s\n", cmd_to_str(CMD_ADD), in export_func()
2021 (void) fprintf(of, "%s\n", cmd_to_str(CMD_END)); in export_func()
2030 (void) fprintf(of, "%s %s\n", cmd_to_str(CMD_ADD), in export_func()
2033 (void) fprintf(of, "%s\n", cmd_to_str(CMD_END)); in export_func()
2040 (void) fprintf(of, "%s %s\n", cmd_to_str(CMD_ADD), in export_func()
2043 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET), in export_func()
2045 (void) fprintf(of, "%s\n", cmd_to_str(CMD_END)); in export_func()
2053 (void) fprintf(of, "%s rctl\n", cmd_to_str(CMD_ADD)); in export_func()
2058 cmd_to_str(CMD_ADD), pt_to_str(PT_VALUE), in export_func()
2063 (void) fprintf(of, "%s\n", cmd_to_str(CMD_END)); in export_func()
2073 (void) fprintf(of, "%s %s\n", cmd_to_str(CMD_ADD), in export_func()
2078 (void) fprintf(of, "%s\n", cmd_to_str(CMD_END)); in export_func()
2087 (void) fprintf(of, "%s %s\n", cmd_to_str(CMD_ADD), in export_func()
2090 (void) fprintf(of, "%s\n", cmd_to_str(CMD_END)); in export_func()
2095 (void) fprintf(of, "%s %s\n", cmd_to_str(CMD_ADD), in export_func()
2098 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET), in export_func()
2101 (void) fprintf(of, "%s %s=%s-%s\n", cmd_to_str(CMD_SET), in export_func()
2105 (void) fprintf(of, "%s %s=%s\n", cmd_to_str(CMD_SET), in export_func()
2107 (void) fprintf(of, "%s\n", cmd_to_str(CMD_END)); in export_func()
2115 (void) fprintf(of, "%s %s\n", cmd_to_str(CMD_ADD), in export_func()
2119 (void) fprintf(of, "%s\n", cmd_to_str(CMD_END)); in export_func()
2125 (void) fprintf(of, "%s %s\n", cmd_to_str(CMD_ADD), in export_func()
2130 (void) fprintf(of, "%s\n", cmd_to_str(CMD_END)); in export_func()
2182 "ignored, but exiting anyway."), cmd_to_str(CMD_EXIT)); in exit_func()
2665 cmd_to_str(CMD_DELETE)); in delete_func()
2684 cmd_to_str(CMD_DELETE), cmd_to_str(CMD_DELETE)); in delete_func()
2701 "configuring a new zone.\n"), cmd_to_str(CMD_CREATE)); in delete_func()
3056 zerr("%s %s: %s", cmd_to_str(CMD_CLEAR), pt_to_str(type), in remove_aliased_rctl()
3062 zerr("%s %s: %s", cmd_to_str(CMD_CLEAR), pt_to_str(type), in remove_aliased_rctl()
3348 zerr("%s %s: %s", cmd_to_str(CMD_REMOVE), rt_to_str(RT_PCAP), in remove_pcap()
3374 zerr("%s %s: %s", cmd_to_str(CMD_REMOVE), rt_to_str(RT_MCAP), in remove_mcap()
3457 zerr("%s %s: %s", cmd_to_str(CMD_REMOVE), in remove_secflags()
4440 "allowed."), zone, cmd_to_str(CMD_SET), in set_func()
4456 "allowed."), zone, cmd_to_str(CMD_SET), in set_func()
7109 cmd_to_str(CMD_REVERT), cmd_to_str(CMD_CANCEL)); in revert_func()
7126 cmd_to_str(CMD_REVERT)); in revert_func()
7190 if (strcmp(cmd->cmd_argv[0], cmd_to_str(i)) == 0) { in help_func()
7525 if (strcmp(argv[1], cmd_to_str(CMD_HELP)) == 0) { in main()