Lines Matching full:option
20 * Find a boolean option (like quiet,noapic,nosmp....)
24 * @option: option string to look for
26 * Returns the position of that @option (starts counting with 1)
27 * or 0 on not found. @option will only be found if it is found
28 * as an entire word in @cmdline. For instance, if @option="car"
33 const char *option) in __cmdline_find_option_bool() argument
63 opptr = option; in __cmdline_find_option_bool()
71 * option we were looking for. If the in __cmdline_find_option_bool()
78 * We hit the end of the option, but _not_ in __cmdline_find_option_bool()
111 * Find a non-boolean option (i.e. option=argument). In accordance with
112 * standard Linux practice, if this option is repeated, this returns the
117 * @option: option string to look for
118 * @buffer: memory buffer to return the option argument
126 const char *option, char *buffer, int bufsize) in __cmdline_find_option() argument
157 opptr = option; in __cmdline_find_option()
164 * option we were looking for, prepare to in __cmdline_find_option()
208 int cmdline_find_option_bool(const char *cmdline, const char *option) in cmdline_find_option_bool() argument
212 ret = __cmdline_find_option_bool(cmdline, COMMAND_LINE_SIZE, option); in cmdline_find_option_bool()
217 return __cmdline_find_option_bool(builtin_cmdline, COMMAND_LINE_SIZE, option); in cmdline_find_option_bool()
222 int cmdline_find_option(const char *cmdline, const char *option, char *buffer, in cmdline_find_option() argument
227 ret = __cmdline_find_option(cmdline, COMMAND_LINE_SIZE, option, buffer, bufsize); in cmdline_find_option()
232 return __cmdline_find_option(builtin_cmdline, COMMAND_LINE_SIZE, option, buffer, bufsize); in cmdline_find_option()