Lines Matching full:commands
148 static void __init boot_flags_init(char *commands) in boot_flags_init() argument
150 while (*commands) { in boot_flags_init()
152 while (*commands == ' ') in boot_flags_init()
153 commands++; in boot_flags_init()
156 if (*commands == '\0') in boot_flags_init()
158 if (*commands == '-') { in boot_flags_init()
159 commands++; in boot_flags_init()
160 while (*commands && *commands != ' ') in boot_flags_init()
161 process_switch(*commands++); in boot_flags_init()
164 if (!strncmp(commands, "mem=", 4)) { in boot_flags_init()
169 cmdline_memory_size = simple_strtoul(commands + 4, in boot_flags_init()
170 &commands, 0); in boot_flags_init()
171 if (*commands == 'K' || *commands == 'k') { in boot_flags_init()
173 commands++; in boot_flags_init()
174 } else if (*commands=='M' || *commands=='m') { in boot_flags_init()
176 commands++; in boot_flags_init()
179 while (*commands && *commands != ' ') in boot_flags_init()
180 commands++; in boot_flags_init()