Home
last modified time | relevance | path

Searched refs:MAX_CMDLINE (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/psm/stand/bootlst/common/
H A Dbootlst.c30 #define MAX_CMDLINE 1600 /* from GRUB source */ macro
139 char linebuf[MAX_CMDLINE]; in main()
154 while (fgets(linebuf, MAX_CMDLINE, file)) { in main()
191 while (cons_gets(linebuf, MAX_CMDLINE)) { in main()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dchar_io.c276 return (char *) HISTORY_BUF + MAX_CMDLINE * no; in get_history()
283 grub_memmove ((char *) HISTORY_BUF + MAX_CMDLINE * (no + 1), in add_history()
284 (char *) HISTORY_BUF + MAX_CMDLINE * no, in add_history()
285 MAX_CMDLINE * (num_history - no)); in add_history()
286 grub_strcpy ((char *) HISTORY_BUF + MAX_CMDLINE * no, cmdline); in add_history()
565 if (maxlen > MAX_CMDLINE) in real_get_cmdline()
567 maxlen = MAX_CMDLINE; in real_get_cmdline()
568 if (llen >= MAX_CMDLINE) in real_get_cmdline()
570 llen = MAX_CMDLINE - 1; in real_get_cmdline()
571 cmdline[MAX_CMDLINE] = 0; in real_get_cmdline()
[all …]
H A Dshared.h73 #define MAX_CMDLINE 1600 macro
125 #define CMDLINE_BUFLEN MAX_CMDLINE
129 #define KILL_BUFLEN MAX_CMDLINE
134 #define HISTORY_BUFLEN (MAX_CMDLINE * HISTORY_SIZE)
138 #define COMPLETION_BUFLEN MAX_CMDLINE
142 #define UNIQUE_BUFLEN MAX_CMDLINE
H A Dbuiltins.c2912 char newarg[MAX_CMDLINE]; in kernel_dollar_func()
2927 if ((err = expand_string(arg, newarg, MAX_CMDLINE)) != 0) { in kernel_dollar_func()
2936 if ((err = expand_string(arg, mb_cmdline, MAX_CMDLINE)) != 0) { in kernel_dollar_func()
3176 char newarg[MAX_CMDLINE]; in module_dollar_func()
3181 if ((err = expand_string(arg, newarg, MAX_CMDLINE)) != 0) { in module_dollar_func()
3189 if ((err = expand_string(arg, cmdline_sav, MAX_CMDLINE)) != 0) { in module_dollar_func()
/illumos-gate/usr/src/grub/grub-0.97/
H A DChangeLog7217 (MAX_CMDLINE): Moved near the beginning of the file.
7219 (CMDLINE_BUFLEN): Set to MAX_CMDLINE.