Home
last modified time | relevance | path

Searched refs:cmdline (Results 1 – 25 of 47) sorted by relevance

12

/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dcmdline.c36 skip_to (int after_equal, char *cmdline) in skip_to() argument
39 while (*cmdline && *cmdline != ' ' && *cmdline != '\t' && in skip_to()
40 ! (after_equal && *cmdline == '=')) in skip_to()
41 cmdline ++; in skip_to()
44 while (*cmdline == ' ' || *cmdline == '\t' || in skip_to()
45 (after_equal && *cmdline == '=')) in skip_to()
46 cmdline ++; in skip_to()
48 return cmdline; in skip_to()
H A Dchar_io.c259 add_history (const char *cmdline, int no) in add_history() argument
264 grub_strcpy ((char *) HISTORY_BUF + MAX_CMDLINE * no, cmdline); in add_history()
270 real_get_cmdline (char *prompt, char *cmdline, int maxlen, in real_get_cmdline() argument
541 llen = grub_strlen (cmdline); in real_get_cmdline()
549 cmdline[MAX_CMDLINE] = 0; in real_get_cmdline()
553 grub_strcpy (buf, cmdline); in real_get_cmdline()
676 grub_strcpy (cmdline, buf); in real_get_cmdline()
710 p = cmdline; in real_get_cmdline()
764 grub_memmove (cmdline, buf + lpos, llen - lpos + 1); in real_get_cmdline()
769 add_history (cmdline, 0); in real_get_cmdline()
[all …]
H A Dstage2.c802 get_line_from_config (char *cmdline, int maxlen, int read_from_file) in get_line_from_config() argument
858 cmdline[pos++] = c; in get_line_from_config()
866 cmdline[pos++] = c; in get_line_from_config()
870 cmdline[pos] = 0; in get_line_from_config()
957 char *cmdline; in cmain() local
984 cmdline = (char *) CMDLINE_BUF; in cmain()
985 while (get_line_from_config (cmdline, NEW_HEAPSIZE, in cmain()
991 builtin = find_command (cmdline); in cmain()
1021 ptr = skip_to (1, cmdline); in cmain()
1030 char *arg = skip_to (1, cmdline); in cmain()
[all …]
H A Dmb_info.h31 unsigned long cmdline; member
119 unsigned long cmdline; member
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create_002_pos.ksh59 typeset cmdline="$ZFS create -s -V ${size[j]} \
62 str=$(eval $cmdline 2>&1)
64 log_note "SUCCESS: $cmdline"
70 log_note "UNSUPPORTED: $cmdline"
72 log_fail "$cmdline"
H A Dzfs_create_013_pos.ksh59 typeset cmdline="$ZFS create -s -V ${size[j]} \
62 str=$(eval $cmdline 2>&1)
64 log_note "SUCCESS: $cmdline"
70 log_note "UNSUPPORTED: $cmdline"
72 log_fail "$cmdline"
/titanic_41/usr/src/cmd/make/bin/
H A Ddepvar.cc45 Boolean cmdline; /* Macro defined on the cmdline? */ member
59 depvar_add_to_list(Name name, Boolean cmdline) in depvar_add_to_list() argument
66 dv->cmdline = cmdline; in depvar_add_to_list()
/titanic_41/usr/src/cmd/devfsadm/
H A Dport_link.c781 char cmdline[CMDLEN]; in load_ttymondb() local
790 (void) strcpy(cmdline, "/usr/sbin/pmadm -L -t ttymon"); in load_ttymondb()
791 fs_popen = popen(cmdline, "r"); in load_ttymondb()
862 char cmdline[CMDLEN]; in add_pm_entry() local
866 (void) sprintf(cmdline, in add_pm_entry()
873 sac_exitval = execute(cmdline); in add_pm_entry()
891 char cmdline[CMDLEN]; in remove_pm_entry() local
895 (void) snprintf(cmdline, sizeof (cmdline), in remove_pm_entry()
897 sac_exitval = execute(cmdline); in remove_pm_entry()
920 char cmdline[CMDLEN]; in delete_port_monitor() local
[all …]
/titanic_41/usr/src/cmd/sgs/crle/common/
H A Dprint.c55 printcmd(Crle_desc *crle, Rtc_head * head, APlist *cmdline) in printcmd() argument
81 lidx = aplist_nitems(cmdline) - 1; in printcmd()
82 for (APLIST_TRAVERSE(cmdline, idx, cmd)) { in printcmd()
227 APlist *cmdline = NULL; in scanconfig() local
348 if (aplist_append(&cmdline, cmd, AL_CNT_CRLE) == NULL) in scanconfig()
385 if (aplist_append(&cmdline, cmd, AL_CNT_CRLE) == NULL) in scanconfig()
397 if (aplist_append(&cmdline, cmd, AL_CNT_CRLE) == NULL) in scanconfig()
445 if (aplist_append(&cmdline, cmd, AL_CNT_CRLE) == NULL) in scanconfig()
451 if (aplist_append(&cmdline, cmd, AL_CNT_CRLE) == NULL) in scanconfig()
490 if (aplist_append(&cmdline, cmd, AL_CNT_CRLE) == NULL) in scanconfig()
[all …]
/titanic_41/usr/src/cmd/modload/
H A Ddrvsubr.c1169 exec_command(char *path, char *cmdline[MAX_CMD_LINE]) in exec_command()
1178 (void) execv(path, cmdline); in exec_command()
1184 (void) fprintf(stderr, gettext(ERR_FORK_FAIL), cmdline); in exec_command()
1214 char *cmdline[MAX_CMD_LINE]; in exec_devfsadm() local
1222 cmdline[n++] = DRVCONFIG; in exec_devfsadm()
1224 cmdline[n++] = "-u"; /* unconfigure */ in exec_devfsadm()
1226 cmdline[n++] = "-f"; /* force if currently in use */ in exec_devfsadm()
1229 cmdline[n++] = "-v"; in exec_devfsadm()
1231 cmdline[n++] = "-b"; in exec_devfsadm()
1233 cmdline[n++] = "-c"; in exec_devfsadm()
[all …]
/titanic_41/usr/src/cmd/fold/
H A Dfold.c91 char *cmdline[MAXARG]; in main() local
120 cmdline[new_argc++] = argv[narg]; in main()
143 while ((ch = getopt(new_argc, cmdline, "w:bs")) != EOF) { in main()
181 if (freopen(cmdline[optind], "r", stdin) == NULL) { in main()
182 perror(cmdline[optind]); in main()
/titanic_41/usr/src/lib/brand/solaris10/cmd/
H A Ds10_net_physical.sh358 cmdline=`shcat /etc/dhcp\.${primary}`
362 /sbin/ifconfig $primary auto-dhcp primary $cmdline
371 cmdline=`shcat /etc/dhcp\.$1`
375 /sbin/ifconfig $1 dhcp start wait 0 $cmdline
/titanic_41/usr/src/cmd/svc/milestone/
H A Dnet-physical399 cmdline=`shcat /etc/dhcp\.${primary}`
403 /sbin/ifconfig $primary auto-dhcp primary $cmdline
412 cmdline=`shcat /etc/dhcp\.$1`
416 /sbin/ifconfig $1 dhcp start wait 0 $cmdline
/titanic_41/usr/src/cmd/eeprom/i386/
H A Dbenv.c202 exec_cmd(char *cmdline, char *output, int64_t osize) in exec_cmd() argument
219 if (*cmdline != '/') { in exec_cmd()
220 eeprom_error(ABS_PATH_REQ, cmdline); in exec_cmd()
245 eeprom_error(BLOCKED_SIG, cmdline); in exec_cmd()
249 ptr = popen(cmdline, "r"); in exec_cmd()
251 eeprom_error(POPEN_FAIL, cmdline, strerror(errno)); in exec_cmd()
291 eeprom_error(PCLOSE_FAIL, cmdline, strerror(errno)); in exec_cmd()
298 eeprom_error(EXEC_FAIL, cmdline, ret); in exec_cmd()
/titanic_41/usr/src/cmd/fs.d/ufs/fsck/
H A Dsetup.c1314 caddr_t *cmdline; in calcsb() local
1326 cmdline = mkfsline; in calcsb()
1331 cmdline = newfsline; in calcsb()
1340 cmdline[DEV_IDX] = dev; in calcsb()
1357 cmdline[CMD_IDX] = mkfs_path; in calcsb()
1364 cmdline[SIZE_IDX] = sizestr; in calcsb()
1369 cmdline[CMD_IDX] = newfs_path; in calcsb()
1445 (void) execv(cmdline[CMD_IDX], cmdline); in calcsb()
1447 cmdline[CMD_IDX], strerror(errno)); in calcsb()
/titanic_41/usr/src/cmd/boot/bootadm/
H A Dbootadm.c3001 char cmdline[3 * PATH_MAX + 64]; in create_sparc_archive() local
3013 (void) snprintf(cmdline, sizeof (cmdline), "%s %s -G %s -o \"%s\" " in create_sparc_archive()
3017 BAM_DPRINTF((D_CMDLINE, func, cmdline)); in create_sparc_archive()
3019 ret = exec_cmd(cmdline, &flist); in create_sparc_archive()
3031 (void) snprintf(cmdline, sizeof (cmdline), "%s if=\"%s\" of=\"%s\"" in create_sparc_archive()
3035 BAM_DPRINTF((D_CMDLINE, func, cmdline)); in create_sparc_archive()
3037 ret = exec_cmd(cmdline, &flist); in create_sparc_archive()
3051 bam_error(ARCHIVE_FAIL, cmdline); in create_sparc_archive()
3085 char cmdline[3 * PATH_MAX + 64]; in extend_iso_archive() local
3120 (void) snprintf(cmdline, sizeof (cmdline), "%s -C 16,%d -M %s %s -o \"" in extend_iso_archive()
[all …]
/titanic_41/usr/src/uts/i86pc/dboot/
H A Ddboot_startkern.c1411 char *cmdline; in startup_kernel() local
1421 cmdline = (char *)xen_info->cmd_line; in startup_kernel()
1423 cmdline = (char *)mb_info->cmdline; in startup_kernel()
1426 prom_debug = (strstr(cmdline, "prom_debug") != NULL); in startup_kernel()
1427 map_debug = (strstr(cmdline, "map_debug") != NULL); in startup_kernel()
1440 bcons_init(cmdline); in startup_kernel()
1442 DBG_MSG(cmdline); in startup_kernel()
1445 if (strstr(cmdline, "multiboot") != NULL) { in startup_kernel()
1456 bi->bi_cmdline = (native_ptr_t)(uintptr_t)cmdline; in startup_kernel()
1605 if (strstr(cmdline, "disablePAE=true") != NULL) { in startup_kernel()
/titanic_41/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_entry.c184 grub_entry_get_cmdline(grub_entry_t *ent, char *cmdline, size_t size) in grub_entry_get_cmdline() argument
187 return (barg_cmdline(&ent->ge_barg, cmdline, size)); in grub_entry_get_cmdline()
H A Dlibgrub_impl.h207 size_t grub_entry_get_cmdline(grub_entry_t *ent, char *cmdline, size_t size);
/titanic_41/usr/src/cmd/syseventd/daemons/syseventconfd/
H A Dsyseventconfd.c281 char *cmdline; in exec_cmd() local
307 if (nvlist_lookup_string(cmd->cmd_nvlist, "cmd", &cmdline) != 0) { in exec_cmd()
328 lp = cmdline; in exec_cmd()
338 printmsg(DBG_EXEC, "cmd=%s\n", cmdline); in exec_cmd()
/titanic_41/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_proc.c876 char cmdline[256]; in kwarnd_check_warning_list() local
1020 (void) snprintf(cmdline, in kwarnd_check_warning_list()
1021 sizeof (cmdline), in kwarnd_check_warning_list()
1024 argv[1] = cmdline; in kwarnd_check_warning_list()
1044 cmdline); in kwarnd_check_warning_list()
/titanic_41/usr/src/grub/grub-0.97/docs/
H A Dmultiboot.h86 unsigned long cmdline; member
H A Dkernel.c84 printf ("cmdline = %s\n", (char *) mbi->cmdline); in cmain()
/titanic_41/usr/src/uts/common/sys/
H A Dmultiboot.h162 caddr32_t cmdline; /* use as (char *) */ member
/titanic_41/usr/src/uts/i86xpv/boot/
H A Dboot_xconsole.c64 bcons_init_xen(char *cmdline) in bcons_init_xen() argument

12