Lines Matching defs: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)
59 opptr = option;
67 * option we were looking for. If the
74 * We hit the end of the option, but _not_
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)
153 opptr = option;
160 * option we were looking for, prepare to
204 int cmdline_find_option_bool(const char *cmdline, const char *option)
206 return __cmdline_find_option_bool(cmdline, COMMAND_LINE_SIZE, option);
209 int cmdline_find_option(const char *cmdline, const char *option, char *buffer,
212 return __cmdline_find_option(cmdline, COMMAND_LINE_SIZE, option,