Lines Matching defs:commands
135 static void __init boot_flags_init(char *commands)
137 while (*commands) {
139 while (*commands == ' ')
140 commands++;
143 if (*commands == '\0')
145 if (*commands == '-') {
146 commands++;
147 while (*commands && *commands != ' ')
148 process_switch(*commands++);
151 if (!strncmp(commands, "mem=", 4)) {
156 cmdline_memory_size = simple_strtoul(commands + 4,
157 &commands, 0);
158 if (*commands == 'K' || *commands == 'k') {
160 commands++;
161 } else if (*commands=='M' || *commands=='m') {
163 commands++;
166 while (*commands && *commands != ' ')
167 commands++;