Lines Matching refs:option
18 * Find a boolean option (like quiet,noapic,nosmp....)
22 * @option: option string to look for
24 * Returns the position of that @option (starts counting with 1)
25 * or 0 on not found. @option will only be found if it is found
26 * as an entire word in @cmdline. For instance, if @option="car"
31 const char *option)
61 opptr = option;
69 * option we were looking for. If the
76 * We hit the end of the option, but _not_
109 * Find a non-boolean option (i.e. option=argument). In accordance with
110 * standard Linux practice, if this option is repeated, this returns the
115 * @option: option string to look for
116 * @buffer: memory buffer to return the option argument
124 const char *option, char *buffer, int bufsize)
155 opptr = option;
162 * option we were looking for, prepare to
206 int cmdline_find_option_bool(const char *cmdline, const char *option)
208 return __cmdline_find_option_bool(cmdline, COMMAND_LINE_SIZE, option);
211 int cmdline_find_option(const char *cmdline, const char *option, char *buffer,
214 return __cmdline_find_option(cmdline, COMMAND_LINE_SIZE, option,