Lines Matching refs:map_mntopts
330 if ((me->map_mntopts = strdup(w)) == NULL)
546 if ((rc = set_mapent_opts(me, me->map_mntopts,
603 if (me->map_mntopts != NULL)
604 free(me->map_mntopts);
605 if ((me->map_mntopts = strdup(entryopts)) == NULL)
614 (strcmp(me->map_mntopts, NO_OPTS) == 0)) {
615 free(me->map_mntopts);
704 me->map_mntopts = strdup(pushentryopts);
706 if (!me->map_mntopts) {
1068 if ((rc = automount_opts(&me->map_mntopts, mapopts))
1079 me->map_mntopts == NULL ||
1148 if (me->map_mntopts)
1149 free(me->map_mntopts);
1150 if ((rc = automount_opts(&me->map_mntopts, mapopts)) != PARSE_OK)
1165 * automount_opts(char **map_mntopts, char *mapopts)
1171 automount_opts(char **map_mntopts, char *mapopts)
1189 if (((*map_mntopts) = ((char *)malloc(len))) == NULL) {
1193 memset(*map_mntopts, 0, len);
1214 if (*map_mntopts[0] != '\0')
1215 strcat(*map_mntopts, ",");
1216 strcat(*map_mntopts, opt);
1220 if (*map_mntopts[0] != '\0')
1221 strcat(*map_mntopts, ",");
1222 strcat(*map_mntopts, addopt);
1677 if (me->map_mntopts)
1678 free(me->map_mntopts);
1712 me->map_mntopts ? me->map_mntopts : "");
1752 currnode->mapent->map_mntopts ?
1753 currnode->mapent->map_mntopts:"");
1767 currnode->mapent->map_mntopts ?
1768 currnode->mapent->map_mntopts:"");
1811 ms->map_mntopts = strdup(entryopts);
1812 if (ms->map_mntopts == NULL)
2004 me->map_mntopts = strdup(entryopts);
2005 if (me->map_mntopts == NULL)