Lines Matching defs:zfsmount
97 static struct zfsmount zfsmount;
524 if (zfs_spa_init(spa) != 0 || zfs_mount(spa, 0, &zfsmount) != 0) {
528 } else if (zfs_lookup(&zfsmount, PATH_CONFIG, &dn) == 0 ||
529 zfs_lookup(&zfsmount, PATH_DOTCONFIG, &dn) == 0) {
566 if (zfs_rlookup(spa, zfsmount.rootobj, rootname) != 0)
569 spa->spa_name, zfsmount.rootobj, kname);
614 if (zfs_lookup(&zfsmount, kname, &dn)) {
690 zfsargs.pool = zfsmount.spa->spa_guid;
691 zfsargs.root = zfsmount.rootobj;
733 if (zfs_mount(newspa, newroot, &zfsmount)) {
791 if (zfs_lookup(&zfsmount, arg, &dn) == 0) {