Lines Matching refs:options
113 bit2str(optvect_t *options, uint_t bit)
115 for (; options->opt_name; options++)
116 if (options->opt_value == bit)
117 return (options->opt_name);
125 * look at those options with the match bit set in its opt_flags
129 str2bit(optvect_t *options, int match, const char *str, int len)
131 for (; options->opt_name; options++) {
132 if (match && (options->opt_flags & match) == 0)
134 if (strncmp(str, options->opt_name, len) == 0)
135 return (options->opt_value);
143 * Given a set of textual options separated by commas or spaces,
145 * options (which are ignored) and duplicate options (which are
149 opt2bits(optvect_t *options, int match, const char *str, uint_t *bits, char c)
171 bit = str2bit(options, match, str, len);