Lines Matching refs:commands
149 static void __init boot_flags_init(char *commands) in boot_flags_init() argument
151 while (*commands) { in boot_flags_init()
153 while (*commands && *commands == ' ') in boot_flags_init()
154 commands++; in boot_flags_init()
157 if (*commands == '\0') in boot_flags_init()
159 if (*commands == '-') { in boot_flags_init()
160 commands++; in boot_flags_init()
161 while (*commands && *commands != ' ') in boot_flags_init()
162 process_switch(*commands++); in boot_flags_init()
165 if (!strncmp(commands, "mem=", 4)) { in boot_flags_init()
170 cmdline_memory_size = simple_strtoul(commands + 4, in boot_flags_init()
171 &commands, 0); in boot_flags_init()
172 if (*commands == 'K' || *commands == 'k') { in boot_flags_init()
174 commands++; in boot_flags_init()
175 } else if (*commands=='M' || *commands=='m') { in boot_flags_init()
177 commands++; in boot_flags_init()
180 while (*commands && *commands != ' ') in boot_flags_init()
181 commands++; in boot_flags_init()