Lines Matching defs:mountpoints
1128 * complicated nested hierarchies of mountpoints, we first gather all the
1129 * datasets and mountpoints within the pool, and sort them by mountpoint. Once
1219 char **mountpoints = NULL;
1253 if ((mountpoints = zfs_alloc(hdl,
1265 if ((ptr = zfs_realloc(hdl, mountpoints,
1269 mountpoints = ptr;
1281 if ((mountpoints[used] = zfs_strdup(hdl,
1299 qsort(mountpoints, used, sizeof (char *), mountpoint_compare);
1308 if (is_shared(hdl, mountpoints[i], *curr_proto) &&
1309 unshare_one(hdl, mountpoints[i],
1310 mountpoints[i], *curr_proto) != 0)
1320 if (unmount_one(hdl, mountpoints[i], flags) != 0)
1334 free(mountpoints[i]);
1337 free(mountpoints);