Searched refs:restropts (Results 1 – 2 of 2) sorted by relevance
602 static const char *restropts[] = { variable605 #define NROPTS (sizeof (restropts)/sizeof (restropts[0]))618 len += strlen(restropts[i]); in inherit_options()633 if (hasmntopt(&mtopt, (char *)restropts[i]) != NULL && in inherit_options()634 hasmntopt(&mtmap, (char *)restropts[i]) == NULL) { in inherit_options()637 (void) strcat(new, restropts[i]); in inherit_options()
297 static char *restropts[] = { variable320 if (!vfs_optionisset(vfsp, restropts[0], NULL)) in autofs_restrict_opts()323 for (i = 0; i < sizeof (restropts)/sizeof (restropts[0]); i++) { in autofs_restrict_opts()324 size_t olen = strlen(restropts[i]); in autofs_restrict_opts()327 if ((i == 0 || vfs_optionisset(vfsp, restropts[i], NULL)) && in autofs_restrict_opts()328 ((p = strstr(buf, restropts[i])) == NULL || in autofs_restrict_opts()337 (void) strcpy(&buf[len], restropts[i]); in autofs_restrict_opts()