Lines Matching refs:cmdline
4 * Misc librarized functions for cmdline poking.
19 * @cmdline: the cmdline string
24 * as an entire word in @cmdline. For instance, if @option="car"
25 * then a cmdline which contains "cart" will not match.
28 __cmdline_find_option_bool(const char *cmdline, int max_cmdline_size,
40 if (!cmdline)
45 * a non-NULL-terminated 'cmdline'
48 c = *(char *)cmdline++;
75 * the end of a word on the cmdline. Not
81 * cmdline.
87 * to the next character on the cmdline.
111 * @cmdline: the cmdline string
112 * @max_cmdline_size: the maximum size of cmdline
121 __cmdline_find_option(const char *cmdline, int max_cmdline_size,
135 if (!cmdline)
140 * a non-NULL-terminated 'cmdline'
143 c = *(char *)cmdline++;
170 * to the next character on the cmdline.
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,