Home
last modified time | relevance | path

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

/onnv-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()
/onnv-gate/usr/src/grub/grub-0.97/stage2/
H A Dchar_io.c239 return (char *) HISTORY_BUF + MAX_CMDLINE * no; in get_history()
246 grub_memmove ((char *) HISTORY_BUF + MAX_CMDLINE * (no + 1), in add_history()
247 (char *) HISTORY_BUF + MAX_CMDLINE * no, in add_history()
248 MAX_CMDLINE * (num_history - no)); in add_history()
249 grub_strcpy ((char *) HISTORY_BUF + MAX_CMDLINE * no, cmdline); in add_history()
528 if (maxlen > MAX_CMDLINE) in real_get_cmdline()
530 maxlen = MAX_CMDLINE; in real_get_cmdline()
531 if (llen >= MAX_CMDLINE) in real_get_cmdline()
533 llen = MAX_CMDLINE - 1; in real_get_cmdline()
534 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.c2837 if ((outlen += blen) >= MAX_CMDLINE) { in expand_dollar_bootfs()
2879 >= MAX_CMDLINE) { in expand_dollar_bootfs()
2891 >= MAX_CMDLINE) { in expand_dollar_bootfs()
2901 strncat(out, in, MAX_CMDLINE); in expand_dollar_bootfs()
3257 strncat(newarg, arg, MAX_CMDLINE); in expand_arch()
3261 strncat(newarg, "amd64", MAX_CMDLINE); in expand_arch()
3266 strncat(newarg, arg, MAX_CMDLINE); in expand_arch()
3274 char newarg[MAX_CMDLINE]; /* everything boils down to MAX_CMDLINE */ in kernel_dollar_func()
3524 char newarg[MAX_CMDLINE]; /* everything boils down to MAX_CMDLINE */ in module_dollar_func()
/onnv-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.