Lines Matching refs:rootname
1559 static char rootname[ZFS_MAXNAMELEN]; in zfs_parsedev() local
1581 memcpy(rootname, sep, end - sep); in zfs_parsedev()
1582 rootname[end - sep] = '\0'; in zfs_parsedev()
1585 rootname[0] = '\0'; in zfs_parsedev()
1591 rv = zfs_lookup_dataset(spa, rootname, &dev->root_guid); in zfs_parsedev()
1603 static char rootname[ZFS_MAXNAMELEN]; in zfs_bootfs() local
1619 if (zfs_rlookup(spa, dev->root_guid, rootname)) { in zfs_bootfs()
1623 if (zfs_lookup_dataset(spa, rootname, &objnum)) { in zfs_bootfs()
1663 static char rootname[ZFS_MAXNAMELEN]; in zfs_fmtdev() local
1690 if (zfs_rlookup(spa, dev->root_guid, rootname)) { in zfs_fmtdev()
1695 if (rootname[0] == '\0') in zfs_fmtdev()
1700 spa->spa_name, rootname); in zfs_fmtdev()