Searched defs:restropts (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/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]);
633 if (hasmntopt(&mtopt, (char *)restropts[i]) != NULL &&
634 hasmntopt(&mtmap, (char *)restropts[i]) == NULL) {
637 (void) strcat(new, restropts[i]);
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vfsops.c297 static char *restropts[] = { variable
320 if (!vfs_optionisset(vfsp, restropts[0], NULL))
323 for (i = 0; i < sizeof (restropts)/sizeof (restropts[0]); i++) {
324 size_t olen = strlen(restropts[i]);
327 if ((i == 0 || vfs_optionisset(vfsp, restropts[i], NULL)) &&
328 ((p = strstr(buf, restropts[i])) == NULL ||
337 (void) strcpy(&buf[len], restropts[i]);

Completed in 65 milliseconds