Lines Matching refs:dirlist
2155 char **dirlist = NULL;
2189 if ((ret = sdev_modctl_readdir(dir, &dirlist,
2191 ASSERT(dirlist == NULL);
2197 lens += strlen(dirlist[i]) + 1;
2211 n = strlen(dirlist[i]) + 1;
2212 bcopy(dirlist[i], p, n);
2229 if (dirlist)
2230 sdev_modctl_readdir_free(dirlist, npaths, npaths_alloc);
2242 char **dirlist = NULL;
2257 if ((ret = sdev_modctl_readdir(dir, &dirlist,
2267 if (dirlist)
2268 sdev_modctl_readdir_free(dirlist, npaths, npaths_alloc);