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