Searched defs:cmdline (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/usr/src/cmd/make/bin/
H A Ddepvar.cc45 Boolean cmdline; /* Macro defined on the cmdline? */ member in struct:_Depvar
59 depvar_add_to_list(Name name, Boolean cmdline) argument
66 dv->cmdline = cmdline;
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dcmdline.c0 /* cmdline.c - the device-independent GRUB text command line */
36 skip_to (int after_equal, char *cmdline) argument
39 while (*cmdline && *cmdline != ' ' && *cmdline != '\t' &&
40 ! (after_equal && *cmdline == '='))
41 cmdline ++;
44 while (*cmdline == ' ' || *cmdline == '\t' ||
45 (after_equal && *cmdline
[all...]
H A Dmb_info.h31 unsigned long cmdline; member in struct:mod_list
119 unsigned long cmdline; member in struct:multiboot_info
H A Dstage2.c802 get_line_from_config (char *cmdline, int maxlen, int read_from_file) argument
858 cmdline[pos++] = c;
866 cmdline[pos++] = c;
870 cmdline[pos] = 0;
957 char *cmdline; local
984 cmdline = (char *) CMDLINE_BUF;
985 while (get_line_from_config (cmdline, NEW_HEAPSIZE,
991 builtin = find_command (cmdline);
1021 ptr = skip_to (1, cmdline);
1030 char *arg = skip_to (1, cmdline);
[all...]
H A Dchar_io.c281 add_history (const char *cmdline, int no) argument
286 grub_strcpy ((char *) HISTORY_BUF + MAX_CMDLINE * no, cmdline);
292 real_get_cmdline (char *prompt, char *cmdline, int maxlen, argument
563 llen = grub_strlen (cmdline);
571 cmdline[MAX_CMDLINE] = 0;
575 grub_strcpy (buf, cmdline);
698 grub_strcpy (cmdline, buf);
732 p = cmdline;
786 grub_memmove (cmdline, buf + lpos, llen - lpos + 1);
791 add_history (cmdline,
805 get_cmdline(char *prompt, char *cmdline, int maxlen, int echo_char, int readline) argument
[all...]
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_entry.c184 grub_entry_get_cmdline(grub_entry_t *ent, char *cmdline, size_t size) argument
187 return (barg_cmdline(&ent->ge_barg, cmdline, size));
/illumos-gate/usr/src/uts/i86xpv/boot/
H A Dboot_xconsole.c64 bcons_init_xen(char *cmdline) argument
/illumos-gate/usr/src/cmd/fold/
H A Dfold.c91 char *cmdline[MAXARG]; local
120 cmdline[new_argc++] = argv[narg];
143 while ((ch = getopt(new_argc, cmdline, "w:bs")) != EOF) {
181 if (freopen(cmdline[optind], "r", stdin) == NULL) {
182 perror(cmdline[optind]);
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dmultiboot.h86 unsigned long cmdline; member in struct:multiboot_info
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dprint.c55 printcmd(Crle_desc *crle, Rtc_head * head, APlist *cmdline) argument
81 lidx = aplist_nitems(cmdline) - 1;
82 for (APLIST_TRAVERSE(cmdline, idx, cmd)) {
227 APlist *cmdline = NULL; local
348 if (aplist_append(&cmdline, cmd, AL_CNT_CRLE) == NULL)
385 if (aplist_append(&cmdline, cmd, AL_CNT_CRLE) == NULL)
397 if (aplist_append(&cmdline, cmd, AL_CNT_CRLE) == NULL)
445 if (aplist_append(&cmdline, cmd, AL_CNT_CRLE) == NULL)
451 if (aplist_append(&cmdline, cmd, AL_CNT_CRLE) == NULL)
490 if (aplist_append(&cmdline, cm
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dmultiboot.c126 char *cmdline; local
371 char *cmdline = NULL; local
385 cmdline = malloc(len);
386 if (cmdline == NULL)
387 return (cmdline);
391 snprintf(cmdline, len, "%s %s -B %s", fp->f_name,
394 snprintf(cmdline, len, "%s -B %s", fp->f_name,
397 snprintf(cmdline, len, "%s %s", fp->f_name, fp->f_args);
399 snprintf(cmdline, len, "%s", fp->f_name);
401 return (update_cmdline(cmdline));
418 char *cmdline = NULL; local
[all...]
H A Dmultiboot.h159 multiboot_uint32_t cmdline; member in struct:multiboot_info
216 multiboot_uint32_t cmdline; member in struct:multiboot_mod_list
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventconfd/
H A Dsyseventconfd.c281 char *cmdline; local
307 if (nvlist_lookup_string(cmd->cmd_nvlist, "cmd", &cmdline) != 0) {
328 lp = cmdline;
338 printmsg(DBG_EXEC, "cmd=%s\n", cmdline);
/illumos-gate/usr/src/cmd/devfsadm/
H A Dport_link.c781 char cmdline[CMDLEN]; local
790 (void) strcpy(cmdline, "/usr/sbin/pmadm -L -t ttymon");
791 fs_popen = popen(cmdline, "r");
862 char cmdline[CMDLEN]; local
866 (void) sprintf(cmdline,
873 sac_exitval = execute(cmdline);
891 char cmdline[CMDLEN]; local
895 (void) snprintf(cmdline, sizeof (cmdline),
897 sac_exitval = execute(cmdline);
920 char cmdline[CMDLEN]; local
959 char cmdline[CMDLEN]; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dsetup.c1314 caddr_t *cmdline; local
1326 cmdline = mkfsline;
1331 cmdline = newfsline;
1340 cmdline[DEV_IDX] = dev;
1357 cmdline[CMD_IDX] = mkfs_path;
1364 cmdline[SIZE_IDX] = sizestr;
1369 cmdline[CMD_IDX] = newfs_path;
1445 (void) execv(cmdline[CMD_IDX], cmdline);
1447 cmdline[CMD_ID
[all...]
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_proc.c876 char cmdline[256]; local
1020 (void) snprintf(cmdline,
1021 sizeof (cmdline),
1024 argv[1] = cmdline;
1044 cmdline);
/illumos-gate/usr/src/uts/common/sys/
H A Dmultiboot.h129 /* flag[2] cmdline (for launching kernel) */
162 caddr32_t cmdline; /* use as (char *) */ member in struct:multiboot_info
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dparse.c79 int cmdline; member in struct:stdata
/illumos-gate/usr/src/uts/i86pc/dboot/
H A Ddboot_startkern.c1411 char *cmdline; local
1421 cmdline = (char *)xen_info->cmd_line;
1423 cmdline = (char *)mb_info->cmdline;
1426 prom_debug = (strstr(cmdline, "prom_debug") != NULL);
1427 map_debug = (strstr(cmdline, "map_debug") != NULL);
1440 bcons_init(cmdline);
1442 DBG_MSG(cmdline);
1445 if (strstr(cmdline, "multiboot") != NULL) {
1456 bi->bi_cmdline = (native_ptr_t)(uintptr_t)cmdline;
[all...]
/illumos-gate/usr/src/cmd/modload/
H A Ddrvsubr.c1169 exec_command(char *path, char *cmdline[MAX_CMD_LINE]) argument
1178 (void) execv(path, cmdline);
1184 (void) fprintf(stderr, gettext(ERR_FORK_FAIL), cmdline);
1214 char *cmdline[MAX_CMD_LINE]; local
1222 cmdline[n++] = DRVCONFIG;
1224 cmdline[n++] = "-u"; /* unconfigure */
1226 cmdline[n++] = "-f"; /* force if currently in use */
1229 cmdline[n++] = "-v";
1231 cmdline[n++] = "-b";
1233 cmdline[
1324 char *cmdline[MAX_CMD_LINE]; local
[all...]
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_utils.c3278 char cmdline[BUFSIZ]; local
3290 if (snprintf(cmdline, BUFSIZ, "%s 2> %s", command,
3304 if ((stdout_str = popen(cmdline, "r")) == NULL) {
/illumos-gate/usr/src/lib/librestart/common/
H A Dlibrestart.c2375 scf_property_t *prop, scf_value_t *val, const char *cmdline,
2396 cp = strpbrk(cmdline, " \t");
2399 cmdp = cmdline;
2401 (void) strncpy(cmd, cmdline, cp - cmdline);
2402 cmd[cp - cmdline] = '\0';
2791 scf_snapshot_t *snap, const char *mname, const char *cmdline,
3004 err = get_profile(pg, instpg, prop, val, cmdline,
2374 get_profile(scf_propertygroup_t *methpg, scf_propertygroup_t *instpg, scf_property_t *prop, scf_value_t *val, const char *cmdline, struct method_context *ci, mc_error_t *merr) argument
2790 restarter_get_method_context(uint_t version, scf_instance_t *inst, scf_snapshot_t *snap, const char *mname, const char *cmdline, struct method_context **mcpp) argument
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c3367 char cmdline[3 * PATH_MAX + 64]; local
3379 (void) snprintf(cmdline, sizeof (cmdline), "%s %s -G %s -o \"%s\" "
3383 BAM_DPRINTF(("%s: executing: %s\n", func, cmdline));
3385 ret = exec_cmd(cmdline, &flist);
3397 (void) snprintf(cmdline, sizeof (cmdline), "%s if=\"%s\" of=\"%s\""
3401 BAM_DPRINTF(("%s: executing: %s\n", func, cmdline));
3403 ret = exec_cmd(cmdline, &flist);
3417 bam_error(_("boot-archive creation FAILED, command: '%s'\n"), cmdline);
3485 char cmdline[3 * PATH_MAX + 64]; local
3645 char cmdline[3 * PATH_MAX + 64]; local
3769 char *cmdline, path[PATH_MAX]; local
4211 char cmdline[PATH_MAX]; local
10060 exec_cmd(char *cmdline, filelist_t *flistp) argument
[all...]

Completed in 174 milliseconds