Lines Matching full:option
17 * Find a boolean option (like quiet,noapic,nosmp....)
20 * @option: option string to look for
22 * Returns the position of that @option (starts counting with 1)
23 * or 0 on not found. @option will only be found if it is found
24 * as an entire word in @cmdline. For instance, if @option="car"
29 const char *option) in __cmdline_find_option_bool() argument
59 opptr = option; in __cmdline_find_option_bool()
67 * option we were looking for. If the in __cmdline_find_option_bool()
74 * We hit the end of the option, but _not_ in __cmdline_find_option_bool()
107 * Find a non-boolean option (i.e. option=argument). In accordance with
108 * standard Linux practice, if this option is repeated, this returns the
113 * @option: option string to look for
114 * @buffer: memory buffer to return the option argument
122 const char *option, char *buffer, int bufsize) in __cmdline_find_option() argument
153 opptr = option; in __cmdline_find_option()
160 * option we were looking for, prepare to in __cmdline_find_option()
204 int cmdline_find_option_bool(const char *cmdline, const char *option) in cmdline_find_option_bool() argument
206 return __cmdline_find_option_bool(cmdline, COMMAND_LINE_SIZE, option); in cmdline_find_option_bool()
209 int cmdline_find_option(const char *cmdline, const char *option, char *buffer, in cmdline_find_option() argument
212 return __cmdline_find_option(cmdline, COMMAND_LINE_SIZE, option, in cmdline_find_option()