Lines Matching refs:opt1
258 vfs_equalopts(const char *opt1, const char *opt2) in vfs_equalopts() argument
263 if (strcmp(opt1, opt2) == 0) in vfs_equalopts()
266 if (strncmp(opt1, "no", 2) == 0 && strcmp(opt1 + 2, opt2) == 0) in vfs_equalopts()
269 if (strncmp(opt2, "no", 2) == 0 && strcmp(opt1, opt2 + 2) == 0) in vfs_equalopts()
271 while ((p = strchr(opt1, '.')) != NULL && in vfs_equalopts()
272 !strncmp(opt1, opt2, ++p - opt1)) { in vfs_equalopts()
273 opt2 += p - opt1; in vfs_equalopts()
274 opt1 = p; in vfs_equalopts()
276 if (strncmp(opt1, "no", 2) == 0 && strcmp(opt1 + 2, opt2) == 0) in vfs_equalopts()
279 if (strncmp(opt2, "no", 2) == 0 && strcmp(opt1, opt2 + 2) == 0) in vfs_equalopts()
283 if ((vfs_isopt_ro(opt1) || vfs_isopt_rw(opt1)) && in vfs_equalopts()