Home
last modified time | relevance | path

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

/titanic_41/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()
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dchar_io.c254 return (char *) HISTORY_BUF + MAX_CMDLINE * no; in get_history()
261 grub_memmove ((char *) HISTORY_BUF + MAX_CMDLINE * (no + 1), in add_history()
262 (char *) HISTORY_BUF + MAX_CMDLINE * no, in add_history()
263 MAX_CMDLINE * (num_history - no)); in add_history()
264 grub_strcpy ((char *) HISTORY_BUF + MAX_CMDLINE * no, cmdline); in add_history()
543 if (maxlen > MAX_CMDLINE) in real_get_cmdline()
545 maxlen = MAX_CMDLINE; in real_get_cmdline()
546 if (llen >= MAX_CMDLINE) in real_get_cmdline()
548 llen = MAX_CMDLINE - 1; in real_get_cmdline()
549 cmdline[MAX_CMDLINE] = 0; in real_get_cmdline()
[all …]
H A Dshared.h72 #define MAX_CMDLINE 1600 macro
124 #define CMDLINE_BUFLEN MAX_CMDLINE
128 #define KILL_BUFLEN MAX_CMDLINE
133 #define HISTORY_BUFLEN (MAX_CMDLINE * HISTORY_SIZE)
137 #define COMPLETION_BUFLEN MAX_CMDLINE
141 #define UNIQUE_BUFLEN MAX_CMDLINE
H A Dbuiltins.c2905 char newarg[MAX_CMDLINE]; in kernel_dollar_func()
2920 if ((err = expand_string(arg, newarg, MAX_CMDLINE)) != 0) { in kernel_dollar_func()
2929 if ((err = expand_string(arg, mb_cmdline, MAX_CMDLINE)) != 0) { in kernel_dollar_func()
3169 char newarg[MAX_CMDLINE]; in module_dollar_func()
3174 if ((err = expand_string(arg, newarg, MAX_CMDLINE)) != 0) { in module_dollar_func()
3182 if ((err = expand_string(arg, cmdline_sav, MAX_CMDLINE)) != 0) { in module_dollar_func()
/titanic_41/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.