Home
last modified time | relevance | path

Searched refs:restropts (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/cmd/fs.d/autofs/
H A Dautod_mount.c602 static const char *restropts[] = { variable
605 #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()
/titanic_44/usr/src/uts/common/fs/autofs/
H A Dauto_vfsops.c297 static char *restropts[] = { variable
320 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()