Lines Matching defs:dir
63 char *dir;
75 static char *be_get_ds_from_dir(char *dir);
686 strcmp(mp, dd->dir) == 0) {
705 * Function: be_get_ds_from_dir(char *dir)
711 * dir - char pointer of directory to find.
714 * name of dataset mounted at dir.
718 * This is what I need to find the root pool from a mounted root dir.
721 be_get_ds_from_dir(char *dir)
730 /* Make sure length of dir is within the max length */
731 if (dir == NULL || strlen(dir) >= MAXPATHLEN)
734 /* Resolve dir in case its lofs mounted */
735 (void) strlcpy(resolved_dir, dir, sizeof (resolved_dir));
738 dd.dir = resolved_dir;