Lines Matching defs:opt
977 * return -1 if unknown option is found, opt->arg_required otherwise
990 const opt_desc_t *opt;
1017 for (opt = opts; opt->option_name; opt++) {
1018 if (!strncmp(p, opt->option_name, strlen(opt->option_name))) {
1020 if (opt->clrmask ==
1026 *bit_flags &= ~opt->clrmask;
1027 if (opt->setmask ==
1033 *bit_flags |= opt->setmask;
1038 if (!opt->option_name) {
1044 p += strlen(opt->option_name);
1047 if (!opt->arg_required) {
1051 opt->option_name);
1057 if (opt->arg_required) {
1060 "argument\n", opt->option_name);
1067 opt->option_name);
1077 if (opt->arg_required
1078 && !(opt->arg_required & (1 << REISERFS_OPT_ALLOWEMPTY))
1083 opt->option_name);
1087 if (!opt->values) {
1090 return opt->arg_required & ~(1 << REISERFS_OPT_ALLOWEMPTY);
1093 /* values possible for this option are listed in opt->values */
1094 for (arg = opt->values; arg->value; arg++) {
1100 return opt->arg_required;
1106 opt->option_name);
2394 int opt = type == USRQUOTA ? REISERFS_USRQUOTA : REISERFS_GRPQUOTA;
2397 if (!(REISERFS_SB(sb)->s_mount_opt & (1 << opt))) {