Lines Matching defs:poolname
1690 * poolname name of the pool
1700 zfs_ioc_pool_scrub(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl)
1714 if ((error = spa_open(poolname, &spa, FTAG)) != 0)
3139 zfs_ioc_vdev_set_props(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl)
3154 if ((error = spa_open(poolname, &spa, FTAG)) != 0)
3185 zfs_ioc_vdev_get_props(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl)
3200 if ((error = spa_open(poolname, &spa, FTAG)) != 0)
3669 zfs_ioc_snapshot(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl)
3678 zfs_earlier_version(poolname, SPA_VERSION_SNAP_PROPS))
3684 poollen = strlen(poolname);
3701 if (strncmp(name, poolname, poollen) != 0 ||
3744 char *poolname;
3749 * The poolname in the ioctl is not set, we get it from the TSD,
3755 poolname = tsd_get(zfs_allow_log_key);
3756 if (poolname == NULL)
3759 error = spa_open(poolname, &spa, FTAG);
3760 kmem_strfree(poolname);
3893 zfs_ioc_destroy_snaps(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl)
3904 poollen = strlen(poolname);
3913 if (strncmp(name, poolname, poollen) != 0 ||
3945 zfs_ioc_bookmark(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl)
3947 (void) poolname;
4016 zfs_ioc_destroy_bookmarks(const char *poolname, nvlist_t *innvl,
4021 poollen = strlen(poolname);
4038 if (strncmp(name, poolname, poollen) != 0 ||
4056 zfs_ioc_channel_program(const char *poolname, nvlist_t *innvl,
4081 return (zcp_eval(poolname, program, sync_flag, instrlimit, memlimit,
4094 zfs_ioc_pool_checkpoint(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl)
4097 return (spa_checkpoint(poolname));
4109 zfs_ioc_pool_discard_checkpoint(const char *poolname, nvlist_t *innvl,
4113 return (spa_checkpoint_discard(poolname));
4130 zfs_ioc_pool_prefetch(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl)
4146 error = spa_open(poolname, &spa, FTAG);
4249 zfs_ioc_pool_initialize(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl)
4279 int error = spa_open(poolname, &spa, FTAG);
4328 zfs_ioc_pool_trim(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl)
4365 int error = spa_open(poolname, &spa, FTAG);
4399 zfs_ioc_ddt_prune(const char *poolname, nvlist_t *innvl, nvlist_t *outnvl)
4410 int error = spa_open(poolname, &spa, FTAG);
5152 char *poolname = arg;
5154 if (poolname != NULL)
5155 kmem_strfree(poolname);