Lines Matching defs:mnt_optsp
685 static int get_mnt_opts(int flags, char *opts, char **mnt_optsp)
690 if (!(flags & MS_RDONLY) && add_option(mnt_optsp, "rw", 0) == -1)
695 add_option(mnt_optsp, mount_flags[i].opt, 0) == -1)
699 if (add_option(mnt_optsp, opts, 0) == -1)
702 l = strlen(*mnt_optsp);
703 if ((*mnt_optsp)[l-1] == ',')
704 (*mnt_optsp)[l-1] = '\0';
710 if (add_option(mnt_optsp, "user=", strlen(user)) == -1)
712 strcat(*mnt_optsp, user);
771 char **mnt_optsp)
926 *mnt_optsp = mnt_opts;