Lines Matching defs:cmdline
4 * Misc librarized functions for cmdline poking.
10 #include <asm/cmdline.h>
20 * @cmdline: the cmdline string
21 * @max_cmdline_size: the maximum size of cmdline
26 * as an entire word in @cmdline. For instance, if @option="car"
27 * then a cmdline which contains "cart" will not match.
30 __cmdline_find_option_bool(const char *cmdline, int max_cmdline_size,
42 if (!cmdline)
47 * a non-NULL-terminated 'cmdline'
50 c = *(char *)cmdline++;
77 * the end of a word on the cmdline. Not
83 * cmdline.
89 * to the next character on the cmdline.
113 * @cmdline: the cmdline string
114 * @max_cmdline_size: the maximum size of cmdline
123 __cmdline_find_option(const char *cmdline, int max_cmdline_size,
137 if (!cmdline)
142 * a non-NULL-terminated 'cmdline'
145 c = *(char *)cmdline++;
172 * to the next character on the cmdline.
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,