Searched refs:opt_array (Results 1 – 2 of 2) sorted by relevance
91 static const struct { unsigned flag:8; char opt_char; } opt_array[] = { variable101 struct flagsbuf { char buf[ARRAY_SIZE(opt_array)+1]; };109 for (i = 0; i < ARRAY_SIZE(opt_array); ++i) in ddebug_describe_flags()110 if (flags & opt_array[i].flag) in ddebug_describe_flags()111 *p++ = opt_array[i].opt_char; in ddebug_describe_flags()505 for (i = ARRAY_SIZE(opt_array) - 1; i >= 0; i--) { in ddebug_parse_flags()506 if (*str == opt_array[i].opt_char) { in ddebug_parse_flags()507 modifiers->flags |= opt_array[i].flag; in ddebug_parse_flags()
165 #define NTFS_GETOPT_OPTIONS_ARRAY(option, variable, opt_array) \ in parse_options() argument173 for (_i = 0; opt_array[_i].str && *opt_array[_i].str; _i++) \ in parse_options()174 if (!strcmp(opt_array[_i].str, v)) { \ in parse_options()175 variable |= opt_array[_i].val; \ in parse_options()178 if (!opt_array[_i].str || !*opt_array[_i].str) \ in parse_options()