Lines Matching defs:pathnames
90 static int dss_init(uint_t npaths, char **pathnames);
91 static void dss_mkleafdirs(uint_t npaths, char **pathnames);
766 * The pathnames passed in must already exist, and must be writeable by nfsd.
771 dss_mkleafdirs(uint_t npaths, char **pathnames)
789 char *p = pathnames[i];
829 dss_init(uint_t npaths, char **pathnames)
841 * Sort the pathnames array, and NULL out duplicates,
846 qsort(pathnames, npaths, sizeof (char *), qstrcmp);
851 if (strcmp(pathnames[i], pathnames[j]) == NULL) {
852 pathnames[j] = NULL;
878 if (pathnames[i] != NULL)
879 tmp_pathnames[j++] = pathnames[i];
880 free(pathnames);
881 pathnames = tmp_pathnames;
888 dss_mkleafdirs(npaths, pathnames);
897 /* Add the pathnames array as a single name-value pair */
899 pathnames, npaths);
953 * pathnames array, we no longer need the buffer.