Lines Matching refs:opt1
257 vfs_equalopts(const char *opt1, const char *opt2)
262 if (strcmp(opt1, opt2) == 0)
265 if (strncmp(opt1, "no", 2) == 0 && strcmp(opt1 + 2, opt2) == 0)
268 if (strncmp(opt2, "no", 2) == 0 && strcmp(opt1, opt2 + 2) == 0)
270 while ((p = strchr(opt1, '.')) != NULL &&
271 !strncmp(opt1, opt2, ++p - opt1)) {
272 opt2 += p - opt1;
273 opt1 = p;
275 if (strncmp(opt1, "no", 2) == 0 && strcmp(opt1 + 2, opt2) == 0)
278 if (strncmp(opt2, "no", 2) == 0 && strcmp(opt1, opt2 + 2) == 0)
282 if ((vfs_isopt_ro(opt1) || vfs_isopt_rw(opt1)) &&