rem: nvlist_t *newconfig;
context: zpool_open_silent(const char *pool){	zpool_handle_t *zhp;	nvlist_t *newconfig;	int error;	zhp = zfs_malloc(sizeof (zpool_handle_t));	(void) strlcpy(zhp->zpool_name, pool, sizeof (zhp->zpool_name));	if ((error = zpool_refresh_stats(zhp, NULL, &newconfig)) != 0) {		if (error == ENOENT || error == EINVAL) {			free(zhp);			return (NULL);		} else {			zhp->zpool_state = POOL_STATE_UNAVAIL;		}	} else {		zhp->zpool_state = POOL_STATE_ACTIVE;	}	return (zhp);}